PDA

View Full Version : load a movieclip in another movieclip



snäll
March 14th, 2005, 07:08 PM
I have a problem, i'm using this to load a movie into my main movie.



on (release) {
_root.bildspel.loadMovie("bildspel.swf");


But now i want to make a link in the file "bildspel.swf" that loads another movie in the same file as "bildspel.swf" loads into.

Somebody who know how to do this?

lunatic
March 14th, 2005, 07:10 PM
You want it to replace what's there now right?

Use the same code, change the name of the swf.

:hr:

snäll
March 15th, 2005, 07:45 AM
No i dont want that. I want to do exactly what i wrote.

I want to load a file from "bildspel.swf" into the main file that "bildspel.swf" also loads into.

frost_oni
March 15th, 2005, 07:52 AM
search the forum...i posted a simple file once that did that

lunatic
March 15th, 2005, 10:56 AM
So make another empty movieclip. Or use levels and loadMovieNum. It's the same process. Start with _root (which is the main file's timeline) and go from there.

:hr: