MACROMEDIA FLASH 8-LEARNING FLASH LITE 1.X ACTIONSCRIPT Manual page 16

Learning flash lite 1.x actionscript
Table of Contents

Advertisement

11.
Set your document's view to include the work area around the Stage by selecting View >
Work Area.
Because the call clip doesn't need to be visible to the user, you can place it in the work area.
12.
Open the Library panel (Window > Library) and drag the Call Clip symbol to the work
area around the Stage.
The call clip doesn't contain any visual elements so it appears on the Stage as a small circle,
representing the movie clip's registration point.
To make your call clip more easily identifiable on the Stage, add some text or other
visual element to the first keyframe in the call clip's Timeline.
13.
In the Property inspector, type callClip in the Instance Name text box.
14.
In the Timeline, select Frame 1 on the layer named ActionScript.
15.
In the Actions panel, enter the following code:
call("callClip:function1");
call("callClip:function2");
16.
Test your application in the emulator (Control > Test Movie).
You should see the following text in the Output panel:
function1 was called.
function2 was called.
16
Flash 4 ActionScript Primer
Call clip instance
Work area around the Stage

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING FLASH LITE 1.X ACTIONSCRIPT and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents