How to start this ActionScript Stuff? -Think like computer-Habit
The thing when you start trying to write ActionScript, usually you'll need to think backward. What dose it mean? For examples?
-You want to have text come up on the stage when you press the button - You think: 1) has text on the stage 2) because pressing the button.
- However, you'll write the ActionScript for it in the order as following: 1) button is pressed 2) has text on the stage?.
|
See, when you looked back what you were thinking and what ActionScript was thinking?suddenly, they seem to be both reasonable to you. We can try another samples again..
-- You want to use ActionScript to duplicate MovieClips automatically for you? - You think: 1) make many copy of MovieClips. 2) they all are copied by the first MovieClip. 3) This original MovieClip's instance name is "copyright".
- However, you'll write the ActionScript for it in the order as following: 1) give the original MovieClip's instance name "copyright". 2) use duplicateMovieClip(a method of MovieClip to duplicate MovieClip) to take action. 3)give those copy MovieClips names.
|
And so on and so on, you may not used to think this way, but to think this way will get easy with ActionScript, and feel how does programming do.
|
|
|
--Index--
|
  
|
|
| Project Log
|
 | New tips | (Jan 28th,2004) Pass value of ASP querystring to FlashMovie rather useing loadVariables method.
|  | Piano Chords Finder | (Oct 4,2004) After a little tired of making flash for web, started making this music tool to entertain myself hee:)
|  | New Tutorial | (Sep 19,2004) Glad...Once I had topic about web programming. ActionScript is such a cute thing that gives designers so much imagination to explore.
|  | player 3.0 | (Sep 9,2004) A new design from mp3 streaming player2.0, also add volume control.
|
|
|
Never imagine how you want to be creative.
|
|