AS3 Methods
AS3 Methods
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- kult0
Yeah, create a custom class for yourself. Here, I'll get ya started.. create a file called, for example, MyText.as..
package {
public class MyText extends TextField {
var theText = this;
public function trimText() {
//your code here... affecting theText
}
}
}Wrote this inside the QBN textbox so it's obviously not the best.