.flash name="anim.swf" background="white" bbox=650x450 fps=15 compress version=6 .swf anim watt.swf .swf fond fond.swf .swf btna btna.swf .swf btnb btnb.swf .swf btnc btnc.swf .swf btnd btnd.swf .swf btne btne.swf .swf btnf btnf.swf .put fond 0 0 .put btna 375 400 .put btnb 420 400 .put btnc 465 400 .put btnd 510 400 .put btne 555 400 .put btnf 600 400 .put anim 20 20 .action: btna.onRollOver = function () { this.gotoAndStop(2); }; btna.onRollOut = function () { this.gotoAndStop(1); }; btnb.onRollOver = function () { this.gotoAndStop(2); }; btnb.onRollOut = function () { this.gotoAndStop(1); }; btnc.onRollOver = function () { this.gotoAndStop(2); }; btnc.onRollOut = function () { this.gotoAndStop(1); }; btnd.onRollOver = function () { this.gotoAndStop(2); }; btnd.onRollOut = function () { this.gotoAndStop(1); }; btne.onRollOver = function () { this.gotoAndStop(2); }; btne.onRollOut = function () { this.gotoAndStop(1); }; btnf.onRollOver = function () { this.gotoAndStop(2); }; btnf.onRollOut = function () { this.gotoAndStop(1); }; btna.onPress = function () { anim.gotoAndStop(1); }; btnf.onPress = function () { anim.gotoAndStop(anim._totalframes); }; btnb.onPress = function () { anim.prevFrame(); }; btne.onPress = function () { anim.nextFrame(); }; btnc.onPress = function () { anim.stop(); }; btnd.onPress = function () { anim.play(); }; .end .end