That's a common tripping point with runtime  CSS.  In a subswf config,
you have to specify the applicationDomain parameter to be
ApplicationDomain.currentDomain.  If you care why, see my modules
presentation on my blog (blogs.adobe.com/aharui)

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jason Y. Kwong
Sent: Saturday, September 29, 2007 1:05 PM
To: [email protected]
Subject: [flexcoders] Runtime CSS problem with SWFLoader

 

I've got an app which loads different runtime CSS SWFs to change its
appearance at runtime.  Everything works fine.  However, if I load this
app inside another app using SWFLoader, the style changes don't happen.
At best, some of the new styles are applied, but never all.  I can
confirm that the CSS SWF is indeed being loaded (I get info in the
console about it), it's just that the new styles are not applied.  Is
this a bug?  I'm using Flex Builder 2.01.

 

Reply via email to