Groups | Blog | Home
all groups > macromedia flash flash remoting > may 2005 >

macromedia flash flash remoting : Problem with using Flash 7 loading external jpg and XML



chuanho
5/12/2005 12:00:00 AM
I try using loadMovie() to load the external jpg file from internet and I
create an empty movie clip called ?mc?

At frame 1:
loadMovie("http://www.answers.com/main/content/wp/en/8/8c/Google.jpg",mc);

That is fine (means I can see the actual output) if I publish in Flash 6
format,
else If I publish in Flash 7 format, I can?t see any result.

Same problem happened with loading the xml file as well by published in Flash
7 format.



Why this happened?
Are they a security restriction on Flash 7 Player?



Current system:
Flash MX pro Ver 7.02
Flash player 7.0 r19
Windows XP pro sp2


I hope someone can help me up, my assignment will due on next week, how can
solve this problem if I insist publish in flash 7 format? Million thanks?..

chuanho
5/12/2005 12:00:00 AM
This is the movie file:

LuigiL
5/13/2005 12:00:00 AM
Yes, security. By default, a swf can only load content from the domain on which
it resides. If you want to load data from another domain, there must be a
policy-file on that domain allowing you access. The flash-player checks the
policy-file and if you don't have access, it won't load content from that
domain.
AddThis Social Bookmark Button