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 01:52:39 +0100

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)


Robert

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

> Well, I wasn't really trying to "create" it dynamically, but I wanted to
> "re-name" it on the fly. So when I'm editing the movie, I could name it
>
> "varname" & n
>
> and then in code I could have a button set var n = 3, so that same text
> field would now be named varname3
>
> ~~~~Cheri Harder~~~~~
> charderatawsolution [dot] com
> Advantage Web Solution
> www.awsolution.com
>
>> I don't think you
>> can define textfields on the fly. I think they have to exist first, and
>> then you can assign values to them as you're doing above (if they're
>> named name1, name2, etc).
>


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

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

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