ボタンのActionScript初歩学習メモ(Adobe Flash Professional CS5.5で作成)

 

        TOP

 ◆ボタンMCstop  play  stepback  stepforward  

◎[ActionScriptの記述]

_root.dancers.stop();
_root.stop.onRelease = function ()
{
_root.dancers.stop();
};
_root.play.onRelease = function ()
{
_root.dancers.play();
};
_root.stepback.onRelease = function ()
{
_root.dancers.prevFrame();
};
_root.stepforward.onRelease = function ()
{
_root.dancers.nextFrame();
};