Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-28-2002, 05:36 PM   #1
samanthayy
Registered User
 
Join Date: Aug 2002
Posts: 63
Default random keyframe

the gotoandplay (random(x)) don't seem to work? the movie just keeps on playing in order.

also, is there a way to pause a movie for a given time?
samanthayy is offline   Reply With Quote
Old 08-28-2002, 10:31 PM   #2
tg
done
 
Join Date: Jun 2001
Location: portland, or
Posts: 8,106
Default

check the tutorials for pausing, or do a search here, should be lots of threads on that.

your gotoAndPlay() code should work. paste your exact as.
__________________
tg
---
what the hell was i thinking?
tg is offline   Reply With Quote
Old 08-28-2002, 11:10 PM   #3
samanthayy
Registered User
 
Join Date: Aug 2002
Posts: 63
Default

so what does the value x in the random function stand for?
samanthayy is offline   Reply With Quote
Old 08-29-2002, 09:11 AM   #4
red penguin
[^\d\D]
 
red penguin's Avatar
 
Join Date: Jun 2001
Location: Brooklyn, NY
Posts: 3,254
Default

if you say x=25, then it'll be that. You need an integer in there for that to work...
__________________

komielan.com
red penguin is offline   Reply With Quote
Old 08-29-2002, 03:04 PM   #5
tg
done
 
Join Date: Jun 2001
Location: portland, or
Posts: 8,106
Default

like the penguin says set x to a number - if you want it to select on of your possible frames, then put in the value of your last frame (if you have 10 frames make x=10).
__________________
tg
---
what the hell was i thinking?
tg is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:27 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.