Lets say we have Component and SubComponent(composite inside Component, queued in Component.allChildrensList).
1) SubComponent uses getStyle("sizerThickness")
How do I get this to where you call Component.setStyle("sizerThickness") and through inheriting this style, SubComponent can use it's getStyle("sizerThickenss") when the Component gets it's setStyle() called?
I have tried many things, putting [Style()] and saying inherit="yes" in SubComponent. Everything works when I use the StyleManager to register in the classConstruct but, when you call setStyle on Component in an mxml file, the new value is not being used in SubComponent.
Now, this is not a style that would benifit from a styleChanged() / updateDisplayList() call becasue the style is actually used in the updateDisplayList() method when setActualSize() is called.
Any thoughts? Sure wish we had some hard core implementations to look at becasue I could answer this question in about 5 seconds.(IE Adobe source code of components). Hey Adobe, is this going to happen in any of the beta releases to come? Pretty please... ;-)
Peace, Mike
--
What goes up, does come down.
--
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.

