Flasher Archive

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

Subject: Re: FLASH: variable syntax frustration...
From: John Croteau
Date: Wed, 29 Sep 1999 21:19:09 +0100

Hi Deanna,

> I'm a beginner, but this even seems easy to me...
> I'm in a movie clip and I have an actions layer. I place a keyframe in say
> frame 5 or something and another one in 20. The action that I put in frame
> 5 says exactly--
> Set Variable: "xyz" = "3"

> Now the action that I put in frame 20 is exactly--
> If ("xyz" = "2")
> Stop
> End if
> Result: The playbackhead stops
Just like it should the numeric vale of the string "2" and "3" are both
Put a text field with a value of xyz and you will see.

> If I write this--
> If ("xyz" <> "3")
> Stop
> Else
> Play
> End If

There is a little square button on the right that usually says ABC (for
literal strings). Change that to expression (=) to enter numbers ro

This will work like you want (Expession on removes the auto quoting of
the ABC (Literal String) option.

Set Variable: "xyz" = 3

If ("xyz" = 2)
End if

Read or reread my Variables 1 tutorial. Variables 2 (coming soon) will
make this more clear. --> http://www.FlashBible.com/members/

Coming Soon Flash 4 Web Animation F/X and Design
----------- -----------------------
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-manageratchinwag [dot] com. Problems to: helpatchinwag [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-manageratchinwag [dot] com

  FLASH: variable syntax frustration..., Deanna Doelitzsch

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