Very few visual components do not draw some aspect of their visuals from styles. Some of these are based on their class inheritance. If you don't copy some of those into the styledecl you load, you can get bad results.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Grinsfelder Sent: Friday, August 31, 2007 8:45 AM To: [email protected] Subject: [flexcoders] loadStyleDeclarations makes some elements disappear. Why do some of my visual elements (VBox-based) disappear when I call loadStyleDeclarations? They're not styled, so I expected them to remain unchanged. I wonder if mx:Canvas elements which did not have a backgroundColor have the color set by the style and then overwrite the stuff where they were previously visible...does that make sense? I'm sooo confused.

