Flasher Archive

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


Subject: Re: FLASH: Setting variables...
From: John Croteau
Date: Thu, 2 Sep 1999 01:07:44 +0100

Hi Vince,

> I'm having a problem with variables and was wondering if anyone could
> help me out. Here's the code that doesn't work (everything works
> except setting the SCORE variable).

> On (Press)
> Stop Drag
>
> If (GetProperty ("/Hammer", _x ) <= 200 and
> GetProperty ("/Hammer", _x ) >= 85)
> Set Variable: "Score" = Score + 50
> Begin Tell Target ("/Nail1")
> Go to and Stop (1)
> End Tell Target

Score is being set where its called from (on the Movie clip).
You might prefer to set it on the main timeline:
Set Variable: "/:Score" = /:Score + 50

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  FLASH: Setting variables..., Vince French

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