??Web viewใà¸à¹ˆ ActionScript...

download ??Web viewใà¸à¹ˆ ActionScript ใน Frame ที่ 1 ใน Layer 2 ดังนี้fscommand (fullscreen ... ใน

of 28

  • date post

    09-Feb-2018
  • Category

    Documents

  • view

    222
  • download

    5

Embed Size (px)

Transcript of ??Web viewใà¸à¹ˆ ActionScript...

1. Flash CS3 2. Flash File (ActionScript 2.0)

3. Document Properties 550x400 pixels

4. Scene Window ? Other Panels ? Scene

5. Scence 1 Scence 1 Intro

6. 6.1 Layer 1 Motion Tween 6.2 Layer 2 ??

7. Library File ? Import? Import to Library?

8. Linkage

9. Identifier song

10. ActionScript Frame 1 Layer 2fscommand("fullscreen",true);playsong=new Sound();playsong.attachSound("song");playsong.start(0,10000);11. ActionScript Frame 10 Layer 2 stop();

12. ActionScript on (release) { play();}13. Scene Scene Inputname

14. Text Tool ??

15. ActionScript Frame 1 Selection.setFocus("iname");stop();

16. Text Tool Input Text Instance iname

17. Symbol Button

18. ActionScript on(release){ myname=this.iname.text; if(myname!=""){ play(); }}19. Scene Scene main

20.

20.1 20.2 20.3 Text Tool Dynamic Text Instance showname

20.4 ActionScript Frame 1 this.showname.text="\n"+myname;stop();

20.5 Symbol Button ?? ActionScript on (release) { gotoAndPlay("kumnum", 1);}20.6 Symbol Button ?? ActionScript on (release) { gotoAndPlay("judprasong", 1);}20.7 Symbol Button ?? ActionScript on (release) { gotoAndPlay("auther", 1);}20.8 Symbol Button ?? ActionScript on (release) { gotoAndPlay("exam", 1);}20.9 Symbol Button ?? ActionScript on (release) { gotoAndPlay("content", 1);}

20.10 Symbol Button ?? ActionScript on(release){ fscommand("quit",true);}21. Scene Scene kumnum

22.

23. Symbol Button ?? ActionScript on (release) { gotoAndPlay("main", 1);}24. ActionScript Frame 1 stop();25. Scene Scene judprasong

26.

27. Symbol ?? Library State ActionScript on (release) { gotoAndPlay("main", 1);}28. ActionScript Frame 1 stop();29. Scene Scene auther

30.

31. Symbol ?? Library State ActionScript on (release) { gotoAndPlay("main", 1);}32. ActionScript Frame 1 stop();33. Scene Scene content

34. Frame 1

35. ActionScript Frame 1 stop();36. Symbol ?? Library State ActionScript on (release) { gotoAndPlay("main", 1);}37. Symbol ?? Library State ActionScript on (release) { nextFrame();}38. Frame 2, 3, 4, 5 Copy Frame

39. Symbol ?? Library State Free Transform Tool ActionScript on (release) { prevFrame();}40. Scene Scene exam

41. 4 Frame 1 State

42. ActionScript Frame 1 score=0;stop();43. Symbol ?? Library State ActionScript on (release) { play();}44. Frame 2 Insert Blank Keyframe 4 1

45. Symbol Button ?? ActionScript 45.1 ActionScript on(release){ score++; play();}45.2 ActionScript on(release){ play();}46. Frame 3, 4, 5 Copy Frame ActionScript 47. Frame

48. Text Tool Dynamic Text Instance showscore

49. ActionScript Frame ss=score*100/4;this.showscore.text="\n"+myname+" \n"+score+"\n "+ss+"%";stop();50. Symbol ?? Library State ActionScript on (release) { gotoAndPlay("main", 1);}51. Test Movie

52. Publish Publish Publish 53.1 File --> Publish Settings?.

53.2

1. Symbol Button

2. 1 1

3. Source Code 1 1 stop();

4. Source Code Button go on (release) { nextFrame();}

5. 1 2 Input text(instane name) input1

6. Source Code 1 2 stop();

7. Source Code Button go on (release) { if (input1.text == "40") { score1 = 1; nextFrame(); } else { score1 = 0; nextFrame(); }}8. 2,3,4,5 5 ? 7

9. 1

10. Source Code 1 6 stop();//score.text = score;score=score1+score2+score3+?();11. Source Code Button backFirst on (release) { gotoAndPlay(1);}