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





More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support