Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 2nd, 2004, 12:48 PM
marcusk marcusk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 marcusk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help with Flash timeline and playing movieclip....

OK here's the situation...My Movieclip is 50 Frames long. I want to be able to play the MC and stop at Frame 25 where the movie displays 3 buttons. From this point I want the buttons to be able to go to their respective scenes. But I want the MC to finish playing the rest of the Movieclip...Is this possible??

Reply With Quote
  #2  
Old March 2nd, 2004, 08:40 PM
cyclist cyclist is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 19 cyclist User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by marcusk
OK here's the situation...My Movieclip is 50 Frames long. I want to be able to play the MC and stop at Frame 25 where the movie displays 3 buttons. From this point I want the buttons to be able to go to their respective scenes. But I want the MC to finish playing the rest of the Movieclip...Is this possible??

I don't know if you want to play the button scene before or after finishing out to frame 50 so I've written what I think will work for either case.

Playing button scene after finishing out to frame 50

on the release of each button set a variable defining which button was pressed and add a statement to goto frame 26 and play

button 1 actions:
on (release) {
nextclip=1;
gotoAndPlay(26);
}
button 2 actions:
on (release) {
nextclip=2;
gotoAndPlay(26);
}
button 3 actions:
on (release) {
nextclip=3;
gotoAndPlay(26);
}

then in frame 50 add the following actions

if (nextclip==1) { add code to send to button 1 scene }
if (nextclip==2) {add code to send to button 2 scene }
if (nextclip==3) {add code to send to button 3 scene }

Playing button scene before finishing out to frame 50

Play your button scene and at the end of each button scene add the following action:

gotoAndPlay("original scene name", 26)

the original scene name should be the scene that the buttons were in and should also have the double quotes surrounding it.

Reply With Quote
  #3  
Old March 3rd, 2004, 03:44 PM
marcusk marcusk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 marcusk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It worked perfectly! I figured there was some kind of variable that I needed to make this work. I originally had only 2 buttons, but when I added the 3rd, there were problems. But this worked great. I can finally move on!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Help with Flash timeline and playing movieclip....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT