Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A really hard to describe "do" problem!!!

Status
Not open for further replies.

twistedlogic

Technical User
Jan 10, 2002
35
AU
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top