all groups > flash actionscript > november 2007 >
You're in the

flash actionscript

group:

Load .swf from separate server


Load .swf from separate server victor.corey
11/2/2007 9:17:14 PM
flash actionscript: I have a shell type Flash file that loads an external .swf from a variable
passed in through the FlashVars param. If all the files are in the same
directory it works fine. But if I move the .swf files to another server and try
to call them nothing shows.

Here is the code to load the .swf (long_mc is the variable passed in through
the FlashVars. If I use [b]movie.swf[/b] it works but if I use
[b]http://www.something.com/media/movie.swf[/b] it doesn't work:

loadMovie(_root.long_mc, _root);

Can someone tell me what I'm doing wrong?
Re: Load .swf from separate server kglad
11/2/2007 9:39:11 PM
AddThis Social Bookmark Button