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 June 14th, 2003, 03:53 PM
DEfusion DEfusion is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 288 DEfusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 26 m 45 sec
Reputation Power: 6
Forcing button 'over' anim to play...

Ok this may sound strange in the way I explain it...

I have an animation clip (bout 20 frames long) in the over frame of all of my buttons... basically all I want to do is to force the animation to carry on playing even if the mouse just passes over the button. So it doesn't just stop dead after playing 3 frames or so.

To see what I mean see http://www.ravensoft.com/frameset.html.

-D

Last edited by DEfusion : June 14th, 2003 at 03:56 PM.

Reply With Quote
  #2  
Old June 15th, 2003, 04:02 PM
DEfusion DEfusion is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 288 DEfusion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 26 m 45 sec
Reputation Power: 6
also...

This is not as important as the above question.

But say I have an animation in frame x of a movie. When I rollover a button the movie goes to this frame and the animation plays once then stops... when rollout of the button the movie returns to frame 0.

Now this may be a long shot, but say the second time is there anyway for the movieclip to know that it has been played and thus just goto the last frame...

i.e. have an actionscript (which I know very little about - not even all the basics of the syntax) in the last frame of the animation that does:

PLAYED = 1;
stop ();

and then in the first frame of the animation have a simple check to see if the variable PLAYED is set.

I know how I'd do this in PHP but I have no idea about actionscript.

Any help would be cool.

-D

Reply With Quote
  #3  
Old June 25th, 2003, 06:53 AM
Gappa Gappa is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 27 Gappa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 30 sec
Reputation Power: 0
pretty simple i think,
or just use this action script

on (rollOver) {
xxxx.gotoAndPlay(2);
}

just gotta set ya stuff up right....

and once its been rolled over also have it change a varible from 0 to 1, then if that varible is 1, when it gets to the last frame of ya animation tell it to gotoAndPlay(2) , this way it will skip frame 1..

Last edited by Gappa : June 25th, 2003 at 06:55 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Forcing button 'over' anim to play...


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 4 hosted by Hostway