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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

having trouble with a field box. how do i refer to it's contents?

Status
Not open for further replies.

diminish

Programmer
Oct 22, 2000
1
GB
hi.

i'll just get straight into it.

the cast members involved are a text symbol called code, a button called genderOthBtn and a field called genderOthField. I have a few other buttons on the frame, which, when pressed, add a piece of text to code and then go to the next frame...
ie.
--------------
on mouseUp me
put "Fae.Und" after member "code"
delay 2
play frame 2
end
--------------

however, with genderOthBtn I want, when the button is pressed, to do a similiar thing, except it should include any text typed in in genderOthField.
here is the lingo for genderOthBtn as i have it now, which doesn't work... any suggestions would be good. by the way... i have no lingo for genderOthField although i suspect i probably need some.
--------------
on mouseUp me
put "Fae.Oth[" after member "code"
put member("genderOthField").text after member "code"
put "]" after member "code"
delay 2
play frame 2
end
--------------
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top