Hi guys! Does anyone know how I can place a swf inside another swf?
www.mypunx.co.uk
sure...the easiest way is from within flash to use target.loadMovie("yourmovie.swf");
http://www.jjsquared.com
awesome cheers that seems to work, just wondering if i can make it so that the script inside the loaded movie doesn't effect the overall script when I click a "nextFrame" button it takes the main movie to the next frame instead of the loaded in swf. cheers
you can try using this.nextFrame() in the loaded .swf...or make the call from the movie that is loading the .swf using target.nextFrame(); Either of these will advance the loaded movie's playhead to the next frame. Hope this helps...
...or you can use target._lockroot = true; in your parent movie.
- The right of the People to create Flash movies shall not be infringed. -
Originally Posted by cancerinform ...or you can use target._lockroot = true; in your parent movie. awesome!! that works really well! This sounds really stupid now but is it possible to send variables to the main swf another way after using lockroot? Thanks!
_level0 instead of _root
awesome! Cheers, ill give that a go! thanks for a quick reply!
Forum Rules