»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 08-24-2003, 01:51 PM   #1 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
Flash question

How do I make it so the flash animation stays at one frame for a given number of seconds before moving on to the next frame. I'm making a flash animation where I have pictures being masked an unmasked, and I want the flash to stay on each picture for a few seconds before displaying the next picture.

__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 08-24-2003, 05:21 PM   #2 (permalink)
Registered User
 
PyroSama's Avatar
 
Join Date: Nov 2002
Location: Boise, Idaho
Posts: 2,361
PyroSama is on a distinguished road
Send a message via ICQ to PyroSama
Hit F5 and it will drag the frame out for multipul frame segments.



PyroSama
__________________
[imgbox=#000000]http://clanimo.com/themes/bluebyu/images/logo.gif[/imgbox][url=http://www.clanimo.com]ClanIMO.com[/url]
PyroSama is offline   Reply With Quote
Old 08-24-2003, 06:50 PM   #3 (permalink)
Registered User
 
Creatures's Avatar
 
Join Date: Jul 2002
Location: Switzerland
Posts: 3,962
Creatures is on a distinguished road
Send a message via ICQ to Creatures
that's the easy way! the other way would be action script but i'm too tired to search my actionscript book and try to find one out sry

Creatures
__________________
___)
(
____)REATURES
Creatures is offline   Reply With Quote
Old 08-24-2003, 10:45 PM   #4 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
yeah, i'd prefer action script rather than making 30 frames for each image. So far I've found a script that loops on 2 frames for a given amount of time before moving on, and that's how I make the iamge "pause" for now, but I imagine that takes up more CPU time than regular pausing.
__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 08-25-2003, 12:43 AM   #5 (permalink)
Registered User
 
firewolf's Avatar
 
Join Date: Aug 2003
Location: Canada
Posts: 197
firewolf is on a distinguished road
Send a message via ICQ to firewolf
I think it would be the same with the 30 frames too (going back to your CPU statement).
firewolf is offline   Reply With Quote
Old 08-25-2003, 09:54 AM   #6 (permalink)
Guest
Guest
 
Posts: n/a
Hi L-a-F

Maybe help? Read through..

Uses AS methods, functions: http://www.experts-exchange.com/Web/..._20592267.html

or perhaps:

http://www.tek-tips.com/gviewthread....250/qid/525242

Quote:
Are you using MX?

If so you could use setInterval.

Define the following pause function, on the first frame of your movie:

function pause(){
play();
clearInterval(timer);
}

Whenever you want to pause your movie, just add a stop(); action on a frame followed by this:

stop();
timer = setInterval(pause, 1000);
//where 1000 is 1 second or 60000, 1 minute.

hth - gl
  Reply With Quote
Old 08-25-2003, 02:33 PM   #7 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
thanks so much socal, I actually got it working too (I'm such a n00b in Flash)
__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 08-25-2003, 03:01 PM   #8 (permalink)
Guest
Guest
 
Posts: n/a
Cool - I'm so glad it worked!
  Reply With Quote
Old 08-28-2003, 02:47 AM   #9 (permalink)
Registered User
 
Creatures's Avatar
 
Join Date: Jul 2002
Location: Switzerland
Posts: 3,962
Creatures is on a distinguished road
Send a message via ICQ to Creatures
thx socalgal, that script works! (also in the swiss alpes )

Creatures
__________________
___)
(
____)REATURES
Creatures is offline   Reply With Quote
Old 08-28-2003, 03:12 AM   #10 (permalink)
Registered User
 
OuTpaTienT's Avatar
 
Join Date: Oct 2001
Location: Bay Area, CA USA
Posts: 6,966
OuTpaTienT is on a distinguished road
Send a message via ICQ to OuTpaTienT
Quote:
Originally posted by Creatures
thx socalgal, that script works! (also in the swiss alpes )

Creatures
You're on vacation! Get out of here! Get away from that computer! Go enjoy yourself.
OuTpaTienT is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 12:29 AM.