Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: Basic Variables (was Re: FLASH: RE:random variable typing) |
From: | John Croteau |
Date: | Sun, 10 Oct 1999 02:34:21 +0100 |
Hi Nerotik,
First, hope you are feeling better.
> Would not this:
> Set Variable: "variableName"="whatever"
> return the plain text "whatever" if it was called to do so ?
Only if it was asked to return a string. In the above expression
whatever is saved in variableName regardless of what is already in
variableName or the variable whatever.
But the string whatever is not neccessarily what the variable
variableName would return, remember Flash is typeless.
In the following variableName will return whatever:
Set Variable: "newName" = variableName & " and whoever"
The whole expression above returns --> whatever and whoever.
In a text field with the varable name set as variableName, whatever will
be displayed.
But in the following the same variableName will return zero:
Set Variable: "newName" = variableName + 22
It's not much of a number and will be evaluated as zippo, nada, NOTHING
a big zero...
So
Set Variable: "newName" = variableName + 22
Returns 22.............Any string that has any non-numeric characters is
evaluated as the number zero.
--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [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 helpchinwag [dot] com
Replies
FLASH: RE:random variable typing, M T
Re: Basic Variables (was Re: FLASH: RE:r, 2Nerotik
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]