
Application Development Tips and Tricks 61
3 From the options menu in the Library panel (Window > Library), select New Symbol, and give
it the name
warnRec_mc. Click Advanced if necessary, and under Linkage, select Export for
ActionScript, and then click OK.
4 On the warnRec_mc stage, select the Text tool and draw a text box. In the Property inspector,
select Static Text for the type of text box. Type (or copy and paste) text such as the following
text into the text box: Your image will be recorded or broadcasted and could be published at
a later date. Is this OK?
Note: Please note that this text is provided merely as an example, and the precise wording of the text that you
use will be dictated by the nature of your application and/or service and any privacy, legal, or other issues raised
by your application and/or service.
5 Drag two instances of the Push Button symbol onto the warnRec_mc stage. In the Properties
panel, give one the instance name
Yes_btn, the label Yes, and the click handler onYes. Give
the other push button the instance name
No_btn, the label No and the click handler onNo.
Komentarze do niniejszej Instrukcji