| Subject: | Re: Text Input - Entering and Checking |
|---|---|
| From: | "andyulrika_is_back" <andy@xxxxxxxxxxxxxxxx> |
| Date: | Fri, 25 Jul 2008 13:55:44 +0000 (UTC) |
| Newsgroups: | macromedia.director.lingo |
Hi, thanks for the input.
I tried this out but couldn't get the code to work...
Here is what I have so far -
I have a text input button on the stage called TextAnswer
I have a text cast member called TextAnswer1 with the number 5 inside.
On the stage is a button with the following code attached to run the script.
on mouseUp me
on mouseUp me
if member("TextAnswer").text= member("TextAnswer1").text then
sound(3).play(member("wrongchoice"))
else
sound(3).play(member("welldone"))
end if
However, it appears as if there is no communication between the cast members.
Any help appreciated.
Regards
Andy
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: check file availablity, Andrew Morton |
|---|---|
| Next by Date: | Re: Text Input - Entering and Checking, Dave C |
| Previous by Thread: | Re: Text Input - Entering and Checking, Mike Blaustein |
| Next by Thread: | Re: Text Input - Entering and Checking, Dave C |
| Indexes: | [Date] [Thread] [Top] [All Lists] |