Can someone please help me as I am a begginer to director and I am building a game and need to ask the player to input their name and then display it on the screen in the next frame.. How do I do this..
1. make a button and two textfields (one of them editable)
2. give them unique names in the cast window
3. put the textfield (the editable one, where the user has to enter his name) and the button on the stage on frame one. loop the movie
4. on the button you want to add this behaviour:
on mouseUp me
if member("yourFieldname".text = "" then
alert("Please enter your Name first!"
else
member("yourOutputFieldname".text = member("yourFieldname".text
go to frame 5
end if
end
5. on frame five you the output textfield. loop the movie.
done. if you have problems, i'd have you a small samlpe file (director 8.5).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.