Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Load variable questions |
| From: | Nathan Dicken |
| Date: | Tue, 21 Sep 1999 13:31:23 +0100 |
Hi Bill,
I don't see any potential problem with this. Each button could use the
Load Variables function to pull in a single variable to display in the text
box. Since a editable text box can only display one variable, you'll need
to take the imported variable and set it's value to be the value of the
text box variable.
For example, if your first button loads from "textfile1" which has the
variable "var1=cat", and your text box variable is named "textboxVar", this
is what you could have:
On (Release)
Load Variables ("textfile1", 1)
Set Variable: "textboxVar" = var1
End On
...and your 2nd button could load from "textfile2", which could have
variable "var2=dog" and so forth...
On (Release)
Load Variables ("textfile2", 1)
Set Variable: "textboxVar" = var2
End On
Esentially, you'll pull in the variable from the text file and set it's
value to be the value of the text box variable. If there is more than one
variable in the text file, you'll need mutiple text boxes or you could
combine like this (pulling in from "textfile3" variables
"var1=cat&var2=dog"):
On (Release)
Load Variables ("textfile3", 1)
Set Variable: "textboxVar" = var1&" "&var2
End On
You could display your variables in the text box however you like. I hope
this helps.
Nathan
--------------------------------------
Nathan Dicken
Fusionary Media
http://www.fusionary.com
>Does anyone see a potential problem with having a text box on the stage. And
>having several buttons loading that textbox with different values from
>different .txt files? I guess it would be comparable to a frames page in
>HTML. Every time you click a button it loads the appropriate variable. Just
>posing a question. I am trying it right now. Maybe I am wasting time we
>shall see. Any ideas let me know.
>
>Bill Evans
>Web Design
>GoCo-op Inc.
>
>
>------------------------------------------------------------------------
>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
------------------------------------------------------------------------
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: Flash and Form fields?!?, Shawn Boone
Re: FLASH: Load variable questions, John Croteau
Replies
FLASH: Load variable questions, Bill S. Evans
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

