. . AS2(Adobe Flash) |
ActionScript 2.0 : my_sound = new Sound(); my_sound.attachSound("muz"); play(); , . "ActionScript" " ActionScript" "" - muz . 'play' 'stop' stop(); . (play) , "" ( ), ""( ) , : on (release) { _root.my_sound.start(0,1000); _root.gotoAndStop("stop"); } "" , : on (release) { _root.my_sound.stop(); _root.gotoAndStop("play"); } : ![]() : ![]() : |
| : | / |