wiht BindUtil I can bind 2 propery of 2 object
for example
bindProperty
(sourceObj,"namePropertySource",targetObj,"namePropertyTarget")
I must bind a object's property with a local variable (Bindabe of
corse)
I have to create a certain number of textbox that in xaml would be
written like this:
<mx:textBox id="myTxt" text="{myString}" />
sorry for the bad english
tnk
On 3 Dic, 17:48, "Venkat Viswanathan" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I did not understand your problem correctly. You want to bind the myModule
> instance with a local variable? If you are doing that, why dont you create
> the instance of the variable outside the method and declare it as [Bindable]
> at design time itself. Is there an issue in doing it that way? Or am I going
> in a completely wrong track?
>
> Regards,
> Venkatwww.venkatv.com
>
> On Wed, Dec 3, 2008 at 3:43 PM, sely2k <[EMAIL PROTECTED]> wrote:
>
> > is possible to create a dynamic binding in as3
> > I have read
>
> >http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/ww...
> > this doc describe how make a listener between a string and a textbox
> > (1 string declared by script and 1 textbox declared by xaml)
> > but my situation is too different.
>
> > my situation is:
> > on mouse click
> > ...
> > var myModuleInstance:myModule=new MyModule();
> > ....
> > set the property of myModuleInstance
> > ....
> > basePanel.addChild(myModuleInstance);
>
> > whell...
> > I want to bind a property of myModule wiht a local var but I can't
> > find doc on this problem...
> > can you help me?
> > tnk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---