Why isn't the swfloader working?
I am trying to use the mxml swfloader component to load the external flash from the following url, but it doesn't load anything. I'm using FlashBuilder 4.5.
http://s开发者_StackOverflowomesite.com/en/interface.swf?token=123
I have no idea why it isn't working.
My guess is that you have a Sandbox Security violation. You can't load a swf from another domain/port without having a crossdomain xml.
if swf is from another domain, u should probably add into your code
System.security.allowDomain("domain");
The flash being loaded loads additional flash files into it using relative paths. A change to absolute paths should fix this
精彩评论