Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: correct syntax |
| From: | John Croteau |
| Date: | Tue, 14 Sep 1999 22:17:57 +0100 |
Hi Miguel,
> Which the correct syntax to check one variable
> On (Release)
> If ("/:txt1" = 22) or ("/:txt1" eq "22") or any others
> variations
> Go to and Stop ("xxxx")
> End If
> End On
Both should work and do.
Variable paths are the same as movie clip paths, but you neeed a : if
you add a path to a variable name.
See --> http://www.FlashBible.com/members/TellTarget/
If it doesn't work check the syntax it should be like either below.
Neither will work if spaces are added to the 22.
Use Plug and Play String function to strip spaces
http://www.FlashBible.com/members/
If it looks like one of the below then the trouble is elsewhere.
These assume the text fied and the frame or button are both on the same
timeline (movieclip or main timeline)
Use /:txt1 if the button or frame is not on the main timeline. It would
also be likely you would need a Tell Target as well.
If (txt1 = 22)
Go to and Play ("Start")
End If
If (txt1 eq "22")
Go to and Play ("Start")
End If
----------- -----------------------
John Croteau croteau
------------- -------------------------
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-manager
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-manager
Replies
FLASH: correct syntax, Miguel Castarde Neto
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

