Flasher Archive

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


Subject: Re: FLASH: Dynamic text field var naming?
From: Robert Bleeker
Date: Mon, 17 Apr 2000 02:13:03 +0100

Maybe try and set-up an empty MC that has a generic actionscript to set your
field by using a variable you set with your button.

Your button would then call that action script after setting the "/n"
variable.

That way you only have to make one big action script and only two lines in
your button.

set variable: "n" = 3
Call("/emptyMC:myBigScript")

Robert



on 17/4/00 10:50 AM, Cheri Harder at chericaathome [dot] com wrote:

> Thanks, Robert. That is the only way I could think of doing it, too. It's
> just that I have about 20 to 25 text fields on each of 5 pages, so it will
> be more coding that I was trying to get around.
>
> Oh, well, back to it!
> :0)
>
> ~~~~Cheri Harder~~~~~
> charderatawsolution [dot] com
> Advantage Web Solution
> www.awsolution.com
>
>> Well then all you have to do is use a name for your text field that is not
>> the same as any of the variables (ie. displayText) and on the button use:
>>
>> set variable: "n" = 3
>> set variable: "displayText"= Eval("varname"&n)
>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Dynamic text field var naming, Cheri Harder

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