[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 (1.27 KiB) ●
//MainTimeline (IlPotere_fla.MainTimeline)
package IlPotere_fla {
import flash.media.*;
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var b2:SimpleButton;
public var b4:SimpleButton;
public var b1:SimpleButton;
public var b3:SimpleButton;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function playSound(_arg1){
var _local2:Class;
var _local3:*;
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
_local3.play();
}
function frame1(){
b1.addEventListener(MouseEvent.CLICK, function (){
playSound("BNonInterrompa");
});
b2.addEventListener(MouseEvent.CLICK, function (){
playSound("BSonoUnDittatore");
});
b3.addEventListener(MouseEvent.CLICK, function (){
playSound("BPreidentesMaCheFa");
});
b4.addEventListener(MouseEvent.CLICK, function (){
playSound("BGrazie");
});
}
}
}//package IlPotere_fla
Section 2 (115 B)
//BGrazie (BGrazie)
package {
import flash.media.*;
public dynamic class BGrazie extends Sound {
}
}//package
Section 3 (136 B)
//BNonInterrompa (BNonInterrompa)
package {
import flash.media.*;
public dynamic class BNonInterrompa extends Sound {
}
}//package
Section 4 (148 B)
//BPreidentesMaCheFa (BPreidentesMaCheFa)
package {
import flash.media.*;
public dynamic class BPreidentesMaCheFa extends Sound {
}
}//package
Section 5 (141 B)
//BSonoUnDittatore (BSonoUnDittatore)
package {
import flash.media.*;
public dynamic class BSonoUnDittatore extends Sound {
}
}//package