|
Fortune Teller Game Interface part 3 |
|
|
|
|
Written by Geoff Hill
|
|
Friday, 02 April 2010 09:25 |
The Question Screen.
 question screen
Select frame 2 in all layers and insert a keyframe. (Hint - you can shift-click to select multiple frames). You can insert a keyframe by right-click in the frame and select insert keyframe OR click in the frame and press F6.
1. If necessary modify the background layer, crystal ball to suit your design.
2. Use the Text tool to edit or add Static text to prompt the player and place a label for the button in the Text layer.
3. Make sure no text is selected, then change the text properties to Dynamic Text to add 2 dynamic text boxes:

Instance name: pname - will display the players name.

Instance name: display - will show the answer to the player's question. Make sure you select 'Multiline' in the properties panel.
4. Change the instance name of the input box to 'question' and select multiline in the properties panel.

Intance Name: question will receive the player's question.
5. Change the instance name of the button to 'q_btn' the button will have a different function attached in this frame.

Instance Name: q_btn will select a random answer
When finished save your work and proceed to Frame 2 ActionScript.
|