twistedlogic
Technical User
Hi all... I have a bit of a corker for you all (I think!)
I will try and simplify my problem as much as possible.
My example movie contains:
A textfield called "variables" containing the text:
---------------
var1 = "Hello world"
var2 = "Goodbye moon"
A button with script as follows:
---------------------
on mouseup me
do member("variables".text
put value("var" & 1)
put value("var" & 2)
---------------------------------------------------------------
When pressed the menu should return:
"Hello world"
"Goodbye moon"
however, when initially pressed it returned
Void
Void
------------------------------------------------------------
THEN --> if I type the first line of code, "do member("variables".text" into the message window manually, run, and repeat the process. IT WORKS FINE!!!! ARGH!!!!
why does the "do" function seem to fail during runtime, but work when typed manually??!!!!
PLEASE help... my brain is exploding.
thanks in advance...
I will try and simplify my problem as much as possible.
My example movie contains:
A textfield called "variables" containing the text:
---------------
var1 = "Hello world"
var2 = "Goodbye moon"
A button with script as follows:
---------------------
on mouseup me
do member("variables".text
put value("var" & 1)
put value("var" & 2)
---------------------------------------------------------------
When pressed the menu should return:
"Hello world"
"Goodbye moon"
however, when initially pressed it returned
Void
Void
------------------------------------------------------------
THEN --> if I type the first line of code, "do member("variables".text" into the message window manually, run, and repeat the process. IT WORKS FINE!!!! ARGH!!!!
why does the "do" function seem to fail during runtime, but work when typed manually??!!!!
PLEASE help... my brain is exploding.
thanks in advance...