Problem loading an external SWF

Hello there,

This is the issue:

I´ve made a SWF with a preloader follow by a _mc with some music and pictures.
On local computer everything works fine.

But now , i´ve put this SWF on my server and im trying to load
that external SWF to my main movie.
But when i click on the button the preloader appears empty (0%)
and nothing happens!!

It seems that doens´t load.
Here is the code for the button:


clip1.loadMovie("http://www.myserver.com/externalmovie.swf","level1")

clip1 is the container…of course!

Any ideia?

if the mc u are loading is in the same directory as the main movie, then u dun have to put complete path (http://www.blablablabla…). Just put the target mc name.

[AS]clip1.loadMovie(“relative path”,1)[/AS]

you can´t load movies with the http… thing for security reasons.

and you don´t have to use “level1”, just use the number of the level.

Cheers :bounce:

Hi again,

I know that,
but my main movie is for now on local computer…!
Is there a problem with that?

Then test everuthing on ur local machine. if it works, then it will work when u host them

it will only work on your machine.

you can use it for testing, but when you put it oinline change the path.

So that means that i can not test loading external swf using
a local main movie?

That means that i have to put the main movie online and
change the link to relative path?

yep

Why are you loading external movies with a local main movie? Test them all local. If it works, put them all online.

**** im confused :q: :wink:

me too :hangover:

lol Perhaps i should have used dat smilie

:hangover: :hangover: :hangover: :hangover:

Thanks:)

By the way , does the .fla has to be online to the .swf work?
Or can i just put online the .SWF files?

Only the swf
:wink: