View Full Version : loading an swf into a location in current movie
TurboNut 06-24-2003, 04:18 PM well i would like to know how to load a swf movie into a specific place in my current movie by clicking on a button. please explain how to do it or give me a tutorial. thanks
Andrew
|
|
TurboNut
06-24-2003, 05:12 PM
ok that came out strange. i already have the movie loading the second clip but what i have a problem with is getting it to load the clip into the same movie only at a different position. i guess my question is how do i make a target or set up positions to display the movie. thanks again
:)
marchermann
06-24-2003, 10:16 PM
Maybe you want to try this out:
1. Create an empty movie clip (shift-F8), called "dummy".
2. Drag the MC from the library (ctrl-L) onto the stage. Name the instance, e.g. "mc_target".
3. To load an .swf (or a .jpg) use loadMovie("your_file.swf", mc_target);
The movie will have it's (0,0) coordinate right where you put the dummy movie.
Keep in mind, that you might have to also provide the path to "mc_target", e.g. loadMovie("your_file.swf", _root.otherMovie.mc_target);
Also, you can find lots of tutorials on www.flashkit.com.
Was that what you were looking for?
Marc
CGTalk Moderation
01-15-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.