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 January 28th, 2004, 06:57 PM
atracksler atracksler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 atracksler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 42 sec
Reputation Power: 0
How do I make a MC play backwards? (kind of complex)

I have a MC that has a three frame labels in it. I want the user to click a button that takes them to label 1, 2, or 3. If they are on label 3, for example, i want the MC to play backwards, so that it looks like it is rewinding (going past label 2) etc..

here is an example:http://bigfishstudio.com/work/branding/usic.asp

Any Ideas???

--adam

Reply With Quote
  #2  
Old January 28th, 2004, 10:40 PM
rynoe's Avatar
rynoe rynoe is offline
_root.troubleMaker
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: Florida, USA
Posts: 638 rynoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 8 m 30 sec
Reputation Power: 5
Create a function that is envoked at every frame of the swf.
mabey try _root.onEnterFrame = function() on level one or something like that somewhere, you get the idea.......


Use a binary variable and an regular var for whatever frame and an if else chain inside that function.

if(binary = true && mc._currentframe != frameNumber){
mc.gotoAndStop(mc._currentframe +1);
}
else if (binary = false && mc._currentframe != frameNumber){
mc.gotoAndStop(mc._currentframe -1 );

change the _root.binary and the _root.frameNumber on the button clips with an if else on each button.

Reply With Quote
  #3  
Old February 11th, 2004, 01:52 PM
atracksler atracksler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 5 atracksler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 42 sec
Reputation Power: 0
sorry, for being a moron, but could you explain it a bit more?


im not super awesome on functions...


--adam

Reply With Quote
  #4  
Old February 11th, 2004, 11:47 PM
rynoe's Avatar
rynoe rynoe is offline
_root.troubleMaker
Dev Shed Novice (500 - 999 posts)
 
Join Date: Dec 2003
Location: Florida, USA
Posts: 638 rynoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 8 m 30 sec
Reputation Power: 5
Here is a simplified version in the attachement, but to do the example you show in your link you need to do the math on each stop flag testing for greater than or less than and use an easing method.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > How do I make a MC play backwards? (kind of complex)


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 6 hosted by Hostway
Stay green...Green IT