Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Help Troubleshoot Random() function
From: Cheri Harder
Date: Thu, 18 May 2000 10:42:20 +0100

I also found that if you move the action all down a few frames and put a
static box in frame one, then change the goto to like frame 4 where the
action starts, it also works. Actually, you are the one that taught me
that, Marc. <grin!>

~~~~Cheri Harder~~~~~
charderatawsolution [dot] com
Advantage Web Solution
www.awsolution.com

> Hi
>
> Set Variable: "boxnum" = random(5)+1
> Trace ("boxnum = " & boxnum)
> If (Substring (_name, 4, 1) ne boxnum)
> Begin Tell Target ("/box" & boxnum)
> Go to and Play (1)
> End Tell Target
> Else
> Go to and Play (2)
> End If
>
> This script works. It seems that the "stop" command in frame 1 stop
> everything when it targets itself. You can also just change Go to and Play
> (1) to Go to and Play (2) in the original script.

> animate again. It works, but as soon as one of the instances is targeted
> twice in a row, the TellTargeting stops functioning and no more animation
> is triggered.
>
> Sample is online at http://www.dartfrogmedia.com/targetPractice.fla



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Help Troubleshoot Random() fu, Torbj�rn Caspersen

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]