Can Flash load static .JPG files without crossdomain.xml policies?
I'm doing a Flash Banner for an ADv campaing. Since the max swf file size allowed is very low, I'm trying to load external JPG images from the main server.
Reading the crossdomain policies for Flash movies I see that:
You cannot load variables or XML data into a Flash movie from another domain.
It's the same with static files as Jpg images?
I'm testing the banner with various results: looking in Firebug, images are always loaded, but sometimes they appear, sometimes not, sometimes only the first time (it's a loop). There are no warnings however.
Loading the Banner with the same domain as the static images always works.
I also tried to put a crossdomain.xml
file on the domain that serves the static images, but problem seems to continue (maybe Flash cache 开发者_StackOverflow社区that request somewhere...How can I check that?)
So, I still trying to know if the problem is related to the crossdomain policies.
If all you are doing is loading static JPEG images then you shouldn't need a crossdomain.xml
file. However, your are fairly limited to what you can do with the images (no access to bytes) and the images have to be loaded using the Loader
class.
精彩评论