Flasher Archive

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


Subject: RE: FLASH: If "problems" = true then "kill flash"
From: Paul Watson
Date: Wed, 17 Nov 1999 06:40:36 GMT

Hi John,

Well I feel like a complete and total idiot for that mistake, thanks for
pointing it out to me. Much appreciated.

Take care all


Paul Watson

Radio Retail
Cape Town
South Africa

Love is a belief, I am a believer and a sinner...

Tel(w) :+27 21 982 2227
Tel(cell) : +27 83 475 4729
Fax :+27 21 982 2225
Email : InfoatRadioRetail [dot] co [dot] za
Visit www.RadioRetail.co.za for more information

-----Original Message-----
From: John Croteau [croteauaterols [dot] com (mailto:croteauaterols [dot] com)]
Sent: Friday, November 12, 1999 4:23 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: If "problems" = true then "kill flash"

Hi Paul,

> Can someone please tell me what is wrong with this If statement in
> ActionScript.
Nothing, it works fine. It must be how you are using it.

> If (/:Counter > /:NumNews)
> Go to and Play ("Begin")
> End If

> It ALWAYS returns true no matter what the value of Counter or NumNews
is.
For me it goes to Begin or it does not depending on the values I enter
for the 2 variables.

> NumNews comes from a text file read at the beginning of the flash
> animation ( for example "&NumNews=5 " ). I checked if my variables
work
> and they do just fine
Note, in the above variable you have a space after the 5 that makes the
numeric value of the string 0 (zero).
You can use our Plug and Play String function TrimEnds to remove spaces
to solve this problem or see there are no spaces in the first place.
http://www.FlashBible.com/Members/ActionScript/PlugNPlay/Strings.htm

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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