Hi all,
Had a question on how to handle databinding related visual changes in a custom AS component.
Say, we have a custom AS component "myComp" that extends off a VBox.
"myComp" has a data object property called "dataModel"
"myComp" handles all ui creation by overriding the "createChildren" method where it looks at the "dataModel" property and creates children.
My question is how best to handle UI changes that need to happen in myComp when the "dataModel" property is set using data binding in Main.mxml.
Do we just call "createChildren" again in the setter for "dataModel" in "myComp" or is there a better way to handle this.
TIA
- superabe
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

