Section 1
//MainTimeline (challenge1_fla.MainTimeline)
package challenge1_fla {
import flash.events.*;
import flash.display.*;
public dynamic class MainTimeline extends MovieClip {
public var button14:SimpleButton;
public var button6:SimpleButton;
public var button15:SimpleButton;
public var button7:SimpleButton;
public var button12:SimpleButton;
public var button8:SimpleButton;
public var button22:SimpleButton;
public var button13:SimpleButton;
public var button9:SimpleButton;
public var button23:SimpleButton;
public var button10:SimpleButton;
public var button20:SimpleButton;
public var button11:SimpleButton;
public var button21:SimpleButton;
public var booton:SimpleButton;
public var button18:SimpleButton;
public var button1:SimpleButton;
public var button19:SimpleButton;
public var button2:SimpleButton;
public var button3:SimpleButton;
public var button16:SimpleButton;
public var button4:SimpleButton;
public var button17:SimpleButton;
public var button5:SimpleButton;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24);
}
public function Shoot_1(_arg1:MouseEvent):void{
gotoAndStop(2);
}
public function Shoot_2(_arg1:MouseEvent):void{
gotoAndStop(3);
}
public function Shoot_3(_arg1:MouseEvent):void{
gotoAndStop(4);
}
public function Shoot_4(_arg1:MouseEvent):void{
gotoAndStop(5);
}
public function Shoot_5(_arg1:MouseEvent):void{
gotoAndStop(6);
}
public function Shoot_6(_arg1:MouseEvent):void{
gotoAndStop(7);
}
public function Shoot_7(_arg1:MouseEvent):void{
gotoAndStop(8);
}
public function Shoot_8(_arg1:MouseEvent):void{
gotoAndStop(9);
}
public function Shoot_9(_arg1:MouseEvent):void{
gotoAndStop(10);
}
public function Shoot_10(_arg1:MouseEvent):void{
gotoAndStop(11);
}
public function Shoot_11(_arg1:MouseEvent):void{
gotoAndStop(12);
}
public function Shoot_12(_arg1:MouseEvent):void{
gotoAndStop(13);
}
public function Shoot_13(_arg1:MouseEvent):void{
gotoAndStop(14);
}
public function Shoot_14(_arg1:MouseEvent):void{
gotoAndStop(15);
}
public function Shoot_15(_arg1:MouseEvent):void{
gotoAndStop(16);
}
public function Shoot_16(_arg1:MouseEvent):void{
gotoAndStop(17);
}
public function Shoot_17(_arg1:MouseEvent):void{
gotoAndStop(18);
}
public function Shoot_18(_arg1:MouseEvent):void{
gotoAndStop(19);
}
public function Shoot_19(_arg1:MouseEvent):void{
gotoAndStop(20);
}
public function Shoot_20(_arg1:MouseEvent):void{
gotoAndStop(21);
}
public function Shoot_21(_arg1:MouseEvent):void{
gotoAndStop(22);
}
public function Shoot_22(_arg1:MouseEvent):void{
gotoAndStop(23);
}
public function Shoot_23(_arg1:MouseEvent):void{
gotoAndStop(24);
}
public function Shoot_24(_arg1:MouseEvent):void{
gotoAndStop(1);
}
function frame1(){
stop();
button1.addEventListener(MouseEvent.CLICK, Shoot_1);
}
function frame2(){
stop();
button2.addEventListener(MouseEvent.CLICK, Shoot_2);
}
function frame3(){
stop();
button3.addEventListener(MouseEvent.CLICK, Shoot_3);
}
function frame4(){
stop();
button4.addEventListener(MouseEvent.CLICK, Shoot_4);
}
function frame5(){
stop();
button5.addEventListener(MouseEvent.CLICK, Shoot_5);
}
function frame6(){
stop();
button6.addEventListener(MouseEvent.CLICK, Shoot_6);
}
function frame7(){
stop();
button7.addEventListener(MouseEvent.CLICK, Shoot_7);
}
function frame8(){
stop();
button8.addEventListener(MouseEvent.CLICK, Shoot_8);
}
function frame9(){
stop();
button9.addEventListener(MouseEvent.CLICK, Shoot_9);
}
function frame10(){
stop();
button10.addEventListener(MouseEvent.CLICK, Shoot_10);
}
function frame11(){
stop();
button11.addEventListener(MouseEvent.CLICK, Shoot_11);
}
function frame12(){
stop();
button12.addEventListener(MouseEvent.CLICK, Shoot_12);
}
function frame13(){
stop();
button13.addEventListener(MouseEvent.CLICK, Shoot_13);
}
function frame14(){
stop();
button14.addEventListener(MouseEvent.CLICK, Shoot_14);
}
function frame15(){
stop();
button15.addEventListener(MouseEvent.CLICK, Shoot_15);
}
function frame16(){
stop();
button16.addEventListener(MouseEvent.CLICK, Shoot_16);
}
function frame17(){
stop();
button17.addEventListener(MouseEvent.CLICK, Shoot_17);
}
function frame18(){
stop();
button18.addEventListener(MouseEvent.CLICK, Shoot_18);
}
function frame19(){
stop();
button19.addEventListener(MouseEvent.CLICK, Shoot_19);
}
function frame20(){
stop();
button20.addEventListener(MouseEvent.CLICK, Shoot_20);
}
function frame21(){
stop();
button21.addEventListener(MouseEvent.CLICK, Shoot_21);
}
function frame22(){
stop();
button22.addEventListener(MouseEvent.CLICK, Shoot_22);
}
function frame23(){
stop();
button23.addEventListener(MouseEvent.CLICK, Shoot_23);
}
function frame24(){
stop();
booton.addEventListener(MouseEvent.CLICK, Shoot_24);
}
}
}//package challenge1_fla