Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with load movie action

Status
Not open for further replies.

Winker47

Technical User
Oct 24, 2002
15
Hi,

I'm using Flash MX and attempting my first try at some ActionScript. I've read some Flash resource books and checked the Internet for an answer and can't find a solution to my problem.

I've got three small swfs that I want to play - one after the other, sort of like looping the swfs. They are all the same size but have different content (tweened mask and a bitmap). I can't figure out how to load the next swf after the current one finishes playing. So far all I've been able to do is have them all playing at the same time - with each one stacked on the other. I want to play each one by itself and then have the next one load. Can someone point me in the right direction?

thanks,
wink
 
On the last frame of the first one, use the following to load the second one:

stop();
loadMovieNum("yoursecond.swf", 0); Regards,

oldman3.gif
 
Oh! And do the same on the second one, calling up your third one. Regards,

oldman3.gif
 
Thank you for your help. I'll post later and let you know how I do. Hopefully I'll get it this time :eek:).

wink
 
It works "old". Thank you very much. Could you help me out with another problem? It's sort of related, I think.

Anyway, now I can't seem to get the looping swfs to display in my browser when I use the "F12, preview in browser" command in Dreamweaver 4. The first swf plays but the other two never show up. However when I use the "Test Movie" command in Flash everything is fine. It all loops like it should. The swfs also loop when I select "Publish Preview > HTML" in Flash.

This may be a Dreamweaver question I guess. But can you help me out? I've got the latest Flash plugin player installed (6.0.47) and am using Internet Explorer 6.026.

tia,
wink
 
It's all working now. The problem was I had all of the swf files in a subdirectory instead of at the root level with my html pages. After moving the swfs to my root folder, everything is looping and displaying...yahooo :eek:)

thank you all again for your help. I really appreciate it.


wink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top