-
loading external swf into specific area?
Hi guys,
I would like to loadMovieNum into a specific area, without having to recompile and fix the positions of the original movies.
How could i possibly do that?
Thanks
-
You can do this by creating a movie clip that you will load you swf's into. Then position the movie clip on the stage where you wish your loaded movies to appear.
-
if you got mx...
name your movie clip instances, then you can forget the load movie num crap and used named variables and instances...much cleaner, easier and more flexible with relation to _root. and _parent. nesting upwards and downwards...
from the main timeline using the 'with' statement and names movie clips (empty until you:
loadMovie("name.swf", "name_of_blank_clip");
Of course with a nested movie, you:
with (nested_moviename){
loadMovie("name.swf", "name_of_nested_clip");
}
In the nested clip, and want to load into main timeline clip you:
with (_root.moviename){
loadMovie("name.swf", "name_of_movieclip");
}
In nested movie (2 levels down from main timeline) and wanting to loade one level upwards clip you:
with (_parent.levelup1_moviename){
loadMovie("name.swf", "name_of_movieclip");
}
Peace.
-
Moderator
I load my external .swf into an empty movieclip on the main stage:
Code:
loadMovie("http://www.yahoo.com/your.swf" , "targetMC");
-
Thanks
Thank you guys!
It's as always a great pleassure to use this forum for help!
God bless!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|