-
How do I load a swf???
I am curious...
I have seen several methods for loading an outside swf file into an already existing swf...
Kinda like frames in HTML....
Whats the best way to do this and what is the simplest way.
If any responses could please include the actionscript.... I am completely lost here.
Z
-
Senior Member
- inside the main swf
use actions
for a btn: on(release){loadMovie("yourmovie.swf","mcholder"); }
for frames: loadMovie("yourmovie.swf","mcholder");
and build a mc holder - an empty mc, square, same size as yourmovie.swf
tha mc holder must be instance named mcholder (or what ever it is that u whant as long as it is the same as in the act)
-
Thanks....
Are those commands in the actions menu?
Also, if i use a movie in one frame can i use that to load the new movie in another frame or should i just do the whole thing inside one main movie....
Both scenarios would work but which would be more "dial-up" friendly?
z
-
Senior Member
if they are in different mcs but on the same timeline use
on(release){loadMovie{"jabfr.swf","_parent.yourmc. mcholder");}
no method is dial-up friendlyer as long as we talk about the same swf being loaded
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
|