-
[RESOLVED] Control Load Element
Hi, I wanna know how can I make to a Load Element load a swf file only when I press a button.
Is aways load the swf when the movie begin, but I want to make this load when a button is pressed.
How can I made this?
Sorry my bad english.
Thanks
-
Senior Member
Use script to do it
Don't use the load swf element...
for the simplest method...
1) add a blank layer called object holder, or whatever you want... we will call it "holder" for now...
2) add the button you want to do the loading with
3) add the following script to the button...
element ("holder").loadMovie("your_movie.swf");
this should work...
if you want to load the movie to take the place of your root, don't bother with the "holder" layer. just add this to the button...
root.loadMovie("your_movie.swf");
//this works to
loadMovie("your_movie.swf");
Zoranan
-
Thank you very much Zoranan.
-
Senior Member
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
|