Section 1
//MainShader_30 (GuessWho3_fla.MainShader_30)
package GuessWho3_fla {
import flash.events.*;
import flash.display.*;
public dynamic class MainShader_30 extends MovieClip {
public var MC_Shade:MovieClip;
public var snd:soundClick;
public var btn_Shade:SimpleButton;
public function MainShader_30(){
addFrameScript(0, frame1);
}
public function btn_Shade_Click(_arg1:MouseEvent):void{
if (MC_Shade.visible == true){
MC_Shade.visible = false;
} else {
MC_Shade.visible = true;
snd.play();
};
}
function frame1(){
MC_Shade.visible = false;
snd = new soundClick();
btn_Shade.addEventListener(MouseEvent.CLICK, btn_Shade_Click);
}
}
}//package GuessWho3_fla
Section 2
//MainTimeline (GuessWho3_fla.MainTimeline)
package GuessWho3_fla {
import flash.events.*;
import flash.display.*;
import flash.filters.*;
import flash.utils.*;
public dynamic class MainTimeline extends MovieClip {
public var mc_Tom:Tom;
public var mc_Herman:Herman;
public var mc_Peter:Peter;
public var mc_Max:Max;
public var mc_Claire:Claire;
public var mc_Richard:Richard;
public var mc_Bill:Bill;
public var mc_Susan:Susan;
public var mc_Charles:Charles;
public var mc_Alex:Alex;
public var mc_Bernard:Bernard;
public var mc_Anita:Anita;
public var mc_Paul:Paul;
public var btn_Draw:SimpleButton;
public var mc_Joe:Joe;
public var mc_David:David;
public var mc_Frans:Frans;
public var mc_Robert:Robert;
public var mc_Sam:Sam;
public var mc_Eric:Eric;
public var mc_Philip:Philip;
public var mc_Anne:Anne;
public var mc_George:George;
public var btn_newGame:SimpleButton;
public var mc_Maria:Maria;
public var mc_Alfred:Alfred;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function goAndStopNewGame(_arg1):void{
removeChild(getChildByName("mc_PersonDrawn"));
gotoAndStop(1);
}
function frame1(){
stop();
btn_Draw.addEventListener(MouseEvent.CLICK, goAndPlayDraw);
}
public function goAndPlayDraw(_arg1):void{
var _local2:String;
var _local3:int;
var _local4:MovieClip;
var _local5:Class;
var _local6:GlowFilter;
_local3 = randomRange(1, 24);
trace(_local3);
switch (_local3){
case 1:
_local2 = getQualifiedClassName(mc_Alex);
break;
case 2:
_local2 = getQualifiedClassName(mc_Alfred);
break;
case 3:
_local2 = getQualifiedClassName(mc_Anita);
break;
case 4:
_local2 = getQualifiedClassName(mc_Anne);
break;
case 5:
_local2 = getQualifiedClassName(mc_Bernard);
break;
case 6:
_local2 = getQualifiedClassName(mc_Bill);
break;
case 7:
_local2 = getQualifiedClassName(mc_Charles);
break;
case 8:
_local2 = getQualifiedClassName(mc_Claire);
break;
case 9:
_local2 = getQualifiedClassName(mc_David);
break;
case 10:
_local2 = getQualifiedClassName(mc_Eric);
break;
case 11:
_local2 = getQualifiedClassName(mc_Frans);
break;
case 12:
_local2 = getQualifiedClassName(mc_George);
break;
case 13:
_local2 = getQualifiedClassName(mc_Herman);
break;
case 14:
_local2 = getQualifiedClassName(mc_Joe);
break;
case 15:
_local2 = getQualifiedClassName(mc_Maria);
break;
case 16:
_local2 = getQualifiedClassName(mc_Max);
break;
case 17:
_local2 = getQualifiedClassName(mc_Paul);
break;
case 18:
_local2 = getQualifiedClassName(mc_Peter);
break;
case 19:
_local2 = getQualifiedClassName(mc_Philip);
break;
case 20:
_local2 = getQualifiedClassName(mc_Richard);
break;
case 21:
_local2 = getQualifiedClassName(mc_Robert);
break;
case 22:
_local2 = getQualifiedClassName(mc_Sam);
break;
case 23:
_local2 = getQualifiedClassName(mc_Susan);
break;
case 24:
_local2 = getQualifiedClassName(mc_Tom);
break;
};
_local5 = (getDefinitionByName(_local2) as Class);
_local4 = new (_local5);
addChild(_local4);
_local4.name = "mc_PersonDrawn";
_local4.x = 560;
_local4.y = 125;
_local4.scaleX = 0.65;
_local4.scaleY = 0.65;
_local6 = new GlowFilter(0xFF0000, 1, 5, 5, 1000, 1, false, false);
_local4.filters = [_local6];
gotoAndStop(2);
}
function frame2(){
btn_newGame.addEventListener(MouseEvent.CLICK, goAndStopNewGame);
}
public function randomRange(_arg1:Number, _arg2:Number):Number{
return ((Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1));
}
}
}//package GuessWho3_fla
Section 3
//Wins_25 (GuessWho3_fla.Wins_25)
package GuessWho3_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Wins_25 extends MovieClip {
public var btn_Win:SimpleButton;
public var mc_Win:MovieClip;
public function Wins_25(){
addFrameScript(0, frame1);
}
public function btn_Win_Click(_arg1:MouseEvent):void{
if (mc_Win.visible == true){
mc_Win.visible = false;
} else {
mc_Win.visible = true;
};
}
function frame1(){
mc_Win.visible = false;
btn_Win.addEventListener(MouseEvent.CLICK, btn_Win_Click);
}
}
}//package GuessWho3_fla
Section 4
//Alex (Alex)
package {
import flash.display.*;
public dynamic class Alex extends MovieClip {
}
}//package
Section 5
//Alfred (Alfred)
package {
import flash.display.*;
public dynamic class Alfred extends MovieClip {
}
}//package
Section 6
//Anita (Anita)
package {
import flash.display.*;
public dynamic class Anita extends MovieClip {
}
}//package
Section 7
//Anne (Anne)
package {
import flash.display.*;
public dynamic class Anne extends MovieClip {
}
}//package
Section 8
//Bernard (Bernard)
package {
import flash.display.*;
public dynamic class Bernard extends MovieClip {
}
}//package
Section 9
//Bill (Bill)
package {
import flash.display.*;
public dynamic class Bill extends MovieClip {
}
}//package
Section 10
//Charles (Charles)
package {
import flash.display.*;
public dynamic class Charles extends MovieClip {
}
}//package
Section 11
//Claire (Claire)
package {
import flash.display.*;
public dynamic class Claire extends MovieClip {
}
}//package
Section 12
//David (David)
package {
import flash.display.*;
public dynamic class David extends MovieClip {
}
}//package
Section 13
//Eric (Eric)
package {
import flash.display.*;
public dynamic class Eric extends MovieClip {
}
}//package
Section 14
//Frans (Frans)
package {
import flash.display.*;
public dynamic class Frans extends MovieClip {
}
}//package
Section 15
//George (George)
package {
import flash.display.*;
public dynamic class George extends MovieClip {
}
}//package
Section 16
//Herman (Herman)
package {
import flash.display.*;
public dynamic class Herman extends MovieClip {
}
}//package
Section 17
//Joe (Joe)
package {
import flash.display.*;
public dynamic class Joe extends MovieClip {
}
}//package
Section 18
//Maria (Maria)
package {
import flash.display.*;
public dynamic class Maria extends MovieClip {
}
}//package
Section 19
//Max (Max)
package {
import flash.display.*;
public dynamic class Max extends MovieClip {
}
}//package
Section 20
//Paul (Paul)
package {
import flash.display.*;
public dynamic class Paul extends MovieClip {
}
}//package
Section 21
//Peter (Peter)
package {
import flash.display.*;
public dynamic class Peter extends MovieClip {
}
}//package
Section 22
//Philip (Philip)
package {
import flash.display.*;
public dynamic class Philip extends MovieClip {
}
}//package
Section 23
//Richard (Richard)
package {
import flash.display.*;
public dynamic class Richard extends MovieClip {
}
}//package
Section 24
//Robert (Robert)
package {
import flash.display.*;
public dynamic class Robert extends MovieClip {
}
}//package
Section 25
//Sam (Sam)
package {
import flash.display.*;
public dynamic class Sam extends MovieClip {
}
}//package
Section 26
//soundClick (soundClick)
package {
import flash.media.*;
public dynamic class soundClick extends Sound {
}
}//package
Section 27
//Susan (Susan)
package {
import flash.display.*;
public dynamic class Susan extends MovieClip {
}
}//package
Section 28
//Tom (Tom)
package {
import flash.display.*;
public dynamic class Tom extends MovieClip {
}
}//package