I need help with some coding?
I have created a SWF file called indexflash, which holds my main navigation. The navigation loads external SWF’s into the main SWF, for example profile loads into indexflash.
This is the code I used to load the external SWF’s:
on (press) {
_root.body.loadMovie(“home.swf”);
}
How do I load another external SWF into my profile SWF?
Thankyou.
When I need to load multiple movies externally I usually use
first button :
on (press) {
loadMovieNum(“home.swf”, 1);
}
second button : (to overwrite first swf when pressed)
on (press) {
loadMovieNum(“two.swf”, 1);
}
The second button will now erase the first loaded movie in level1.
If you want placement for these movies put a
this._x = 100
this._y = 100
in the FIRST keyframe of the external .swf’s.
For multiple movies at a time you can just change the level they load onto . If you want to load to ROOT with loadMovieNum just load to level 0
Example:
on (press) {
loadMovieNum(“home.swf”, 0);
}
Hope this answers your question.
:love: ~ Seretha
Thanks for your reply Seretha, I’ll try your method out.