At this tutorial we will learn how to use trace.
And What it trace ? Trace in actionscript 3 is a text output. For make it easy to understand, just try it ourself.
First, open your flash..
Choose ActionScript 3 at my red mark ( see image above ).
Oh yeah, I'm using Flash CS5, but it's not much different from Flash CS4.
This is your Flash Stage after choosing ActionScript3 . Click on Timeline..
Click on layer1 , and Press F9, It will show ActionScript Panel
Type:
trace("Hello World");
Press Control + Enter for Run Flash Player and see my red mark. It shows "Hello World".
If you still not clear about it, you can download my source code at : First Tutorial - Hello World
Okay then, this is my first tutorial. ^^. Hope you like it.
No comments:
Post a Comment