PDA

View Full Version : HELP, how can i use loadmovie on a swf from a other site?


indolicious
05-19-2004, 11:38 AM
I tried to use loadmovie on a movie (swf) file from a other site to load in my main movie. I try this because the server where the mainmovie is located only support asp and the server where i want to load a movie from supports php. And i only know php. So i tried to load the movie from this server with php but only the graphics is 100% loaded, and the actionscript not. Only the actionscript that the user activates works, like actionscript from a button. But the actionsscript from the timeline is not loaded in to the movie. For extra info the movie that i try to load works perfectly when i don't load it from a other site.

The following is a small part from the whole script (because the whole script is a preloadscript) where i load the movie with:

loadMovie("http://www.(something).com/(something)/(somehting).swf");

Also the site is not protected against hotlinking...

So someone that knows how i can load a movie from a external/other site with the actionscript from the timeline, please explain to me how. thnx

farafiro
05-20-2004, 06:18 AM
in the documentation of flash, see System.allowDomain
or, Cross Domain communication