[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Section 1 (795 B)
//MainTimeline (anim001NS_fla.MainTimeline)
package anim001NS_fla {
import flash.events.*;
import flash.display.*;
public dynamic class MainTimeline extends MovieClip {
public var Forward2:SimpleButton;
public var Forward:SimpleButton;
public function MainTimeline(){
addFrameScript(0, frame1, 20, frame21, 21, frame22, 41, frame42);
}
public function release(_arg1:MouseEvent):void{
gotoAndPlay(22);
}
function frame1(){
Forward.addEventListener(MouseEvent.CLICK, release);
}
function frame22(){
Forward2.addEventListener(MouseEvent.CLICK, clickFunction);
}
function frame21(){
gotoAndPlay(1);
}
public function clickFunction(_arg1:MouseEvent):void{
gotoAndPlay(1);
}
function frame42(){
gotoAndPlay(22);
}
}
}//package anim001NS_fla