I've been trying to load a small .swf file from a bigger main movie.
i used...
_root.blah.loadmovie("smallmovie.swf");
but, when i test play it, publish it, export it or whatever, it only comes out with a couple objects from the "smallmovie.swf" I have tried playing around with the levels, but there was no luck.
I have buttons embedded in a movie with the buttons laced with actionscript. But i don't understand how that has anything to do with just trying to load a movie...
PLEASE SOMEONE HELP
Last edited by flashstick; 02-03-2004 at 11:04 PM.
I am thinking so too, the thing is... the smallmovie plays correctly when tested and puplished... it just comes out all funky when it is loaded into the big movie.
It's your references to _root in the "to be loaded" movie, that are f.... things up. You have many of them, and they should all be replaced with this or _parent depending. That's the first solution.
The second and easiest is simply to load your movie on another level, rather than in a container clip. No script changes!
Yes, but in this case, it's more easily done in the "to be loaded" movie itself. Thus in the subinfo4beta.fla itself.
Simply add the following on the first frame...
this._x = 50; // Offset from top-left corner (0,0)
this._y = 100; // Offset from top-left corner (0,0)
You may have to play with those numbers to get it just fine and positioned as you want it, but you should get it to work easily.
I fianlly got it how id like, thank you again! I have been writhingin agony because i couldn't get this small thing working, but tonight i can sleep well. THanks to you! haha