Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Action.LoadControl TextboxObject(1)
Textboxobject(1).visible
Textboxobject(1).Move 156*15,456*15,15*15,100*15 'change this if you like
If textboxobject(1).text="the solution" then
action.GotoFrame "nextframesname"
else
msgbox "Wrong answer"
end if
end if
Don't be afraid of code. It's easy and fun. I 'm only 16 and can program, that means you can do it too
Lyberodoggy wrote:Create a text that has the question by right clicking.
Then go to advanced(Frame's properties) and write
- Code: Select all
Action.LoadControl TextboxObject(1)
Textboxobject(1).visible
Textboxobject(1).Move 156*15,456*15,15*15,100*15 'change this if you like
create a hotspot, go to advanced, write
- Code: Select all
If textboxobject(1).text="the solution" then
action.GotoFrame "nextframesname"
else
msgbox "Wrong answer"
end if
end if
Don't be afraid of code. It's easy and fun. I 'm only 16 and can program, that means you can do it too
Action.LoadControl TextBoxObject(1)
TextBoxObject(1).visible = True
TextBoxObject(1).Move 156*15,456*15,15*15,100*15 'change this if you like
Return to Post Your Own Tutorials
Users browsing this forum: No registered users and 0 guests