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, Venkat www.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/wwhelp.htm?context=LiveDocs_Book_Parts&file=databinding_091_07.html > 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 -~----------~----~----~----~------~----~------~--~---

