Home Fortune Teller Game Fortune Teller Game Interface - 3
Fortune Teller Game Interface part 3 PDF Print E-mail
Written by Geoff Hill   
Friday, 02 April 2010 09:25

The Question Screen.

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:

pname dynamic text box

Instance name: pname - will display the players name.


dynamic text box display

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.

input text box question

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.

question button properties

Instance Name: q_btn will select a random answer

When finished save your work and proceed to Frame 2 ActionScript.

 

 

 
Copyright © 2012 geoffhill.com.au. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.