Bindable Data Syntax
if want textarea display bindable variable, syntax so:
[bindable]
public var bindablevar:string;
<mx:textarea name="textarea1" text="{this.bindablevar}" />
---------------------------------
i wish call textarea class in actionscript, however, syntax so?
[bindable]
public var bindablevar:string;
public var textarea1:textarea = new textarea();
textarea1.name = "textarea1";
textarea1.text = "{textarea1}"; //this syntax not work
does know proper syntax?
thank
[bindable]
public var bindablevar:string;
<mx:textarea name="textarea1" text="{this.bindablevar}" />
---------------------------------
i wish call textarea class in actionscript, however, syntax so?
[bindable]
public var bindablevar:string;
public var textarea1:textarea = new textarea();
textarea1.name = "textarea1";
textarea1.text = "{textarea1}"; //this syntax not work
does know proper syntax?
thank
More discussions in ActionScript 3
adobe
Comments
Post a Comment