Loading MCs

In scene 1 I have 2 MC´s. In Mc1 I have a button. When
clicked I want to load a external SWF into a MC called LOAD,
which is located in MC2.

My current code on the button (cant figure out to write the right path !)

on (release) {
MC2/LOAD.loadMovie(“Ericsson_2004ad.swf”);
}

How should the path be ?

(Anybody having a URL that explains path´s ?)
Thanks in Advice !

Try

_root.mc2.loadMovie(...);

And there’s something about pathing in the AS tricks, but I wrote that and I should not be trusted when I write in English.
You can check this also:
http://www.actionscript.org/tutorials/beginner/paths/index2.shtml
And remember: dot syntax only!!

pom :phil:

Howdy…

I think you can use
_level0.MC2.LOAD.loadMovie(“Ericsson_2004ad.swf”);

http://www.actionscript.org/tutorials/beginner/paths/index.shtml
http://www.actionscript.org/tutorials/intermediate/advanced_pathing/index.shtml

These might be helpful for you… First one is abit outdated though… :wink:

I’m too fast for you, Cyanblue :trout:

:stuck_out_tongue:

And will you stop reading my mind please?

Busy reading the articles, Believe it will work after that.
Thanks very much !!!

If you ever do that again, I’ll have to ship my puppies to lick your face off… :evil:

Sigh… I guess I am too old for this… :elderly:

Busy reading the articles, Believe it will work after that.
Thanks very much !!!