| <- Last | Tutorial Home | Next -> |
In this tutorial you will create a short interactive presentation. You will use the picture from the Tutorial 1, and then put up 2 buttons. One button will allow you to play some audio. The other will stop the presentation.
Start the OZONE, and open the script file you created in the last tutorial. Choose the output view. Run the script. We now have an image on the screen in a place that we like.
The next step is to add two buttons to the Output View.
Make sure the PIC control does not have "proxy handles" or the graphic boxes around it that shows it has been selected. If it does click elsewhere in the Output view and these "proxy handles" will go away.
Drag-and-drop a Button (BTN) control from the Control Palette, click elsewhere in the Output view to make the "proxy handles" will go away Drag-and-drop a second Button control from the Control Palette. Place the second one in a different location than the first. Double click on the first BTN control to get the Object Browser for that control. Find the property called Caption, and click on the blank area to the right of the word "Caption". Enter "Play Audio" into that blank area. You will see that the caption visible on the first button you dropped has changed to Play Audio. Size the button to show the whole caption. Repeat this process to change the caption in the other control to EXIT. Double click on the second button control
Select the Caption property. Click on the edit box. Change the text to EXIT. Click on a different property.