Flasher Archive

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


Subject: Re: FLASH: Frustrated with SIMPLE procedure
From: Robert Bleeker
Date: Mon, 17 Apr 2000 11:50:11 +0100

On (Release)
Set Variable: "image" = random(4)+1
Begin Tell Target ("/rt_image")
Go to and Stop (/:image)
End Tell Target
End On

When you use tell target within that statement you have to pretend you are
actually inside the MC of that target! So the variable "image" has to be
read from a level up. Thats why the "/:image"


Robert



on 15/4/00 4:27 AM, Patrick Fitzgerald at patrickfatbestweb [dot] net wrote:

> OK. Here's the problem.
> I've got a SIMPLE 4 frame MC with a different graphic in each frame.
> I've got a button which, when pushed, does 2 things:
> 1- Generates a random number between 1 and 4 and puts it into the variable
> "image"
> 2- Tells the graphic MC to go to the frame indicated by the variable "image"
> .... or at least that's what's SUPPOSED to happen.
>
> Here's the code from the button
>
> On (Release)
> Set Variable: "image" = random(4)+1
> Trace ("image=" &image)
> Begin Tell Target ("/rt_image")
> Go to and Stop (image)
> End Tell Target
> End On
>
> WHAT AM I MISSING!?!?!?!?!?!?


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
  FLASH: Frustrated with SIMPLE procedure, Patrick Fitzgerald

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