Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: random question |
From: | julie gargan |
Date: | Thu, 31 Aug 2000 23:32:59 +0100 |
> I am trying to get an actions script to work where, when the user clicks on
> button it makes a movie clip go to a random frame. The movie clip (which is
> 12 frames long) starts out with a blank frame, so I don't want it to ever go
> to that frame. I thought that by putting the random number as 11 + 1 it
> would never end up on the first frame, since if it came up with 1 it would
> add one and make it two.... this is how I have the code:
>
> Go to and Stop (random (11) + 1)
>
> Unfortunately, sometimes it still brings up the blank frame. What am I
> doing wrong?
>
> thanks,
> julie
>
never mind.... I forgot about 0. silly me.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: random question, julie gargan
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]