STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/52048352?noj=FRM52048352-22DC" width="1" height="1"></div>

BJ Country 3.swf

This is the info page for
Flash #207266

(Click the ID number above for more basic data on this flash file.)


Text
0

0

V.2.0

PLAY

PLAY

HELP

HELP

Country

Country

Country

BJ

BJ

BJ

You know the  joyful girls of                      .
All of them are popular pornstars or strippers. And each of them are sure, that
every men must be her fan and keep her photo always with him...
So, if you have her photo, girl agree to play the private strip show for you.
Recommendation:  If you don't have her picture, you may find it on a cover of some
magazine.

BJ Country

You are always welcome to Girls of BJ Country.
Just enter any house, show her photo to the girl  and enjoy her private strip show.
How to:   Move with arrow keys; when you are in front of the entrance door - press "Space" (or click with mouse on the
door), to enter the house.
You may find magazines with girls pictures in some of magazines-shops. In the shop: click on the magazine to choose it
and look at it closer. If OK - click again on the magazine to buy it.   (if you have enough money on your credit card!)
All your bought items come to your shopping-cart. To take the item from the shopping-cart - click on the cart-icon  in the
left bottom corner, and choose the item (click on it).

000000

000000

More Games

More Games

More Games

LOADING...

HARD

Click to buy

CONGRATS!
And now Viola has some surprise for you!

CONGRATS!
And now Viola has some surprise for you!

0

0

0

0

0

END

END

SOUND

ON

OFF

PLAY MORE

PLAY MORE

MORE GAMES

0

VISITED

STRIPPED

0

EXIT

EXIT

If video freezes (bad WEB connection) - reload it. Click on RELOAD button.

MORE OF HER

MORE OF HER

TEST

TEST

3214 5720 8795 2072

JOAN BUSTTY

16/20

NOT ENOUGH MONEY

ActionScript [AS1/AS2]

Frame 1
function initSet() { var _local1 = 1000; var _local2 = -200; i = 1; while (i <= BldQ) { bldsXI[i] = Builds[i]._x; bldsYI[i] = Builds[i]._y; if (bldsXI[i] < _local1) { _local1 = bldsXI[i]; } if (bldsXI[i] > _local2) { _local2 = bldsXI[i]; } i++; } Nbgn = randRange(1, 50); i = 1; while (i <= BldQ) { Builds[i].NUM = Nbgn + i; Builds[i].N_txt.text = Builds[i].NUM; if (bldsXI[i] > (_local1 + 100)) { a = randRange(1, 100); if (a > 50) { Builds[i]._x = Builds[i]._x - StrtWd; } } a = randRange(1, 8); Builds[i].sq_mc.attachMovie(bdNames[a], "bd", 3); i++; } } function randRange(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } var LEVEL = 1; var VictoryLevel = 2; var FirstLaunch = true; var LoadOK = false; var iStripID = "70551"; var paramInput = "000"; paramInput = istripper; inf00_txt.text = paramInput; if (paramInput == undefined) { } else { iStripID = paramInput; } inf02_txt.text = iStripID; var girlsIDs = new Array(30); girlsIDs[1] = "1160"; girlsIDs[2] = "543"; girlsIDs[3] = "1140"; girlsIDs[4] = "1145"; girlsIDs[5] = "1149"; girlsIDs[6] = "302"; girlsIDs[7] = "225"; girlsIDs[8] = "1182"; girlsIDs[9] = "1103"; girlsIDs[10] = "258"; girlsIDs[11] = "141"; girlsIDs[12] = "967"; var GirlID = girlsIDs[1]; var CueNames = new Array(12); var CueTimes = new Array(12); var CueStr = ""; var TimStr = ""; var FLVwidth; var FLVheight; var videoFlvAddr = ""; var MetaDatOK = false; var CuePercent = new Array(12); var CueBytes = new Array(12); var prcLoaded = 0; var Last_i = 0; var FLVBytesTotal; var VideoTimeTotal; var StrCut = ""; var bytesStr = ""; var LevJumpFlag = false; var LevChngFlag = false; var X_start; var Bar_start = PogrBar_mc.barMask_mc._x; var pctLoaded = 0; var i; var bdNames = new Array(20); bdNames[1] = "BldV201"; bdNames[2] = "BldV202"; bdNames[3] = "BldV203"; bdNames[4] = "BldV204"; bdNames[5] = "BldV205"; bdNames[6] = "BldV206"; bdNames[7] = "BldV207"; bdNames[8] = "BldV208"; var Builds = new Array(25); Builds[1] = District_mc.b01; Builds[2] = District_mc.b02; Builds[3] = District_mc.b03; Builds[4] = District_mc.b04; Builds[5] = District_mc.b05; Builds[6] = District_mc.b06; Builds[7] = District_mc.b07; Builds[8] = District_mc.b08; Builds[9] = District_mc.b09; Builds[10] = District_mc.b10; Builds[11] = District_mc.b11; Builds[12] = District_mc.b12; Builds[13] = District_mc.b13; Builds[14] = District_mc.b14; Builds[15] = District_mc.b15; Builds[16] = District_mc.b16; Builds[17] = District_mc.b17; Builds[18] = District_mc.b18; Builds[19] = District_mc.b19; Builds[20] = District_mc.b20; Builds[21] = District_mc.b21; Builds[22] = District_mc.b22; Builds[23] = District_mc.b23; Builds[24] = District_mc.b24; Builds[25] = District_mc.b25; Builds[26] = District_mc.b26; Builds[27] = District_mc.b27; Builds[28] = District_mc.b28; Builds[29] = District_mc.b29; Builds[30] = District_mc.b30; var BldQ = 30; var Nbgn = 10; var bldsXI = new Array(40); var bldsYI = new Array(40); var StrtWd = 90; var a; play_btn._visible = false; help_mc._visible = false; initSet(); stop(); S3_mc._alpha = 0; S3_mc.onEnterFrame = function () { if (this._alpha < 80) { this._alpha++; } }; dark1_mc.onEnterFrame = function () { if (this._alpha > 0) { this._alpha = this._alpha - 2; } }; play_btn.onRelease = function () { play_btn._visible = false; help_mc._visible = false; play(); }; help_btn.onRelease = function () { help_mc._visible = !help_mc._visible; }; help_mc.onRelease = function () { help_mc._visible = false; }; SPP_btn.onRelease = function () { getURL ("http://www.hilostripper.com/Live/connectStrip.php", "_blank"); }; BJContry_btn.onRelease = function () { getURL ("http://www.stripselector.com/GameGen.php?GameUrl=BJ%20Country-2", "_blank"); }; var X_start; var Bar_start = PogrBar_mc.barMask_mc._x; var pctLoaded = 0; PogrBar_mc.onEnterFrame = function () { pctLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.barMask_mc._x = Bar_start + ((this.barMask_mc._width / 100) * pctLoaded); dark1._alpha = 100 - pctLoaded; if (pctLoaded >= 100) { this._visible = false; if (!LoadOK) { play_btn._visible = true; } LoadOK = true; } };
Frame 2
function initSet() { prssNums[1] = randRange(1, 5); prssNums[2] = randRange(6, 10); prssNums[3] = randRange(11, 15); j = 1; while (j <= pressQ) { pressInside[j]._visible = false; j++; } j = 1; while (j <= itemsQ) { Items[j]._visible = false; Smitems[j]._visible = false; Items[j].raise = 0; Items[j].buy = 0; j++; } LefBldX = 1000; RtBldX = -200; i = 1; while (i <= BldQ) { bldsXI[i] = Builds[i]._x; bldsYI[i] = Builds[i]._y; if (bldsXI[i] < LefBldX) { LefBldX = bldsXI[i]; } if (bldsXI[i] > RtBldX) { RtBldX = bldsXI[i]; } i++; } prsi = 1; Nbgn = randRange(20, 60); i = 1; while (i <= BldQ) { Builds[i].NUM = Nbgn + i; Builds[i].N_txt.text = Builds[i].NUM; Builds[i].Hit_btn.BldNum = Builds[i].NUM; Builds[i].vstd = 0; Builds[i].LVL = 1; if ((i > 3) && (i < 15)) { if (bldsXI[i] > (LefBldX + 100)) { a = randRange(1, 100); if (a > 50) { Builds[i]._x = Builds[i]._x - StrtWd; } } } Builds[i].PRS = 0; if (i == prssNums[1]) { Builds[i].PRS = 1; Builds[i].GN = 0; } if (i == prssNums[2]) { Builds[i].PRS = 2; Builds[i].GN = 0; } if (i == prssNums[3]) { Builds[i].PRS = 3; Builds[i].GN = 0; } a = randRange(1, 8); if (Builds[i].PRS == 0) { Builds[i].sq_mc.attachMovie(bdNames[a], "bd", 3); } if (Builds[i].PRS > 0) { Builds[i].sq_mc.attachMovie(bdPress[prsi], "bdprs", 3); prsi++; } i++; } randomarray(); j = 1; i = 1; while (i <= BldLIVQ) { if (Builds[i].GN != 0) { Builds[i].GN = RND[j]; j++; } i++; } i = 1; while (i <= 4) { Banneddir[i] = false; dirFlag[i] = false; i++; } i = 1; while (i <= 4) { BoyDirs[i]._visible = false; i++; } randomarray(); p = 1; while (p <= GrlsQ) { Smitems01[p]._visible = false; Smitems02[p]._visible = false; Smitems03[p]._visible = false; Smitems01[p].VIS = false; Smitems02[p].VIS = false; Smitems03[p].VIS = false; p++; } p = 1; while (p <= 4) { Smitems01[RND[p]]._visible = true; Smitems01[RND[p]].VIS = true; p++; } p = 5; while (p <= 8) { Smitems02[RND[p]]._visible = true; Smitems02[RND[p]].VIS = true; p++; } p = 9; while (p <= 12) { Smitems03[RND[p]]._visible = true; Smitems03[RND[p]].VIS = true; p++; } p = 1; while (p <= GrlsQ) { if (Smitems01[p].VIS) { Smitems[p] = Smitems01[p]; } if (Smitems02[p].VIS) { Smitems[p] = Smitems02[p]; } if (Smitems03[p].VIS) { Smitems[p] = Smitems03[p]; } p++; } Dir = 3; BoyDirs[Dir]._visible = true; BoyDirs[Dir].gotoAndStop("stand0"); DarkFon_mc._visible = false; DarkFon_mc._alpha = 100; DoorPress_mc._visible = false; DoorPress_mc._y = DoorOpenIY; DoorOpen_mc._visible = false; DoorOpen_mc._y = DoorOpenIY; HitDoorFlag = false; hitDoorNum = 0; outHomeFlag = false; my_flvPb._visible = false; crntBldi = 0; LEVEL = 1; RoomIn_mc._visible = false; RoomSt_mc._visible = false; RoomAct_mc = RoomSt_mc; RoomSt_mc.table_mc._visible = false; RoomSt_mc.BackWall_mc._visible = true; RoomAct_mc._visible = false; ShopCart_mc._visible = false; MorePlay_btn._visible = false; ExitBJ_btn._visible = false; MoreHer_btn._visible = false; LogoiStrip_btn._visible = false; PercntBar_mc._visible = false; help_mc._visible = false; boughtQ = 0; itCartX = ShopCart_mc._x + 70; itCartY = ShopCart_mc._y - 5; EnterStep = 0; moveFlag = false; winFlag = false; wtSpk = 0; nowBuy = 0; vstd = 0; strpCnt = 0; Visited_txt.text = vstd; won_txt.text = strpCnt; girlSpeak_mc._visible = false; girlSpeak_mc.speach_txt.text = ""; ClickToBuy_mc._visible = false; FrstBuyFlag = true; MoneyFlag = 0; notEnoughFlag = 0; NotEnoughMon_mc._visible = false; CardBan_mc._visible = false; cardOnPanel_mc._visible = true; Congrs_mc._y = CongrY; Congrs_mc._visible = false; WinViola = false; } function randomarray() { var _local3 = new Array(ArrLim + 1); var _local5 = ArrLim; var _local4; var _local2; var _local1; _local2 = 1; while (_local2 <= ArrLim) { _local3[_local2] = _local2; _local2++; } _local2 = 1; while (_local2 <= ArrLim) { _local4 = randRange(1, _local5); RND[_local2] = _local3[_local4]; _local5--; _local1 = _local4; while (_local1 < ArrLim) { _local3[_local1] = _local3[_local1 + 1]; _local1++; } _local2++; } } function randRange(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } var i; var j; var p; var q; var VicL = VictoryLevel; var BldQ = 18; var BldLIVQ = (BldQ - 3); var GrlsQ = 12; var winFlag = false; var bldsXI = new Array(40); var bldsYI = new Array(40); var StrtWd = 90; var LefBldX = 1000; var RtBldX = -200; var Dir = 0; var dirFlag = new Array(5); var Banneddir = new Array(5); var moveFlag = false; var bdNames = new Array(20); bdNames[1] = "BldV201"; bdNames[2] = "BldV202"; bdNames[3] = "BldV203"; bdNames[4] = "BldV204"; bdNames[5] = "BldV205"; bdNames[6] = "BldV206"; bdNames[7] = "BldV207"; bdNames[8] = "BldV208"; var pressQ = 3; var bdPress = new Array(5); bdPress[1] = "BldPress0"; bdPress[2] = "BldPress1"; bdPress[3] = "BldPress2"; var prssNums = new Array(5); var prsi = 1; var RND = new Array(16); var ArrLim = 12; var SpacePressed = false; var head1X; var head1Y; var HeadsX = new Array(9); var HeadsY = new Array(9); var myPoint1 = new Object(); var ContactX; var ContactY; var BordX; var BordY; var KatzX = District_mc._x; var KatzY = District_mc._y; var prevX = District_mc._x; var prevY = District_mc._y; var prevY2 = District_mc._y; var CurntX = District_mc._x; var CurntY = District_mc._y; var BoyDirs = new Array(5); BoyDirs[1] = Katz_mc.BoyRight_mc; BoyDirs[2] = Katz_mc.BoyFront_mc; BoyDirs[3] = Katz_mc.BoyLeft_mc; BoyDirs[4] = Katz_mc.BoyBack_mc; var speed = 8; var Builds = new Array(25); Builds[1] = District_mc.b01; Builds[2] = District_mc.b02; Builds[3] = District_mc.b03; Builds[4] = District_mc.b04; Builds[5] = District_mc.b05; Builds[6] = District_mc.b06; Builds[7] = District_mc.b07; Builds[8] = District_mc.b08; Builds[9] = District_mc.b09; Builds[10] = District_mc.b10; Builds[11] = District_mc.b11; Builds[12] = District_mc.b12; Builds[13] = District_mc.b13; Builds[14] = District_mc.b14; Builds[15] = District_mc.b15; Builds[16] = District_mc.b16; Builds[17] = District_mc.b17; Builds[18] = District_mc.b18; var Nbgn = 10; var GN = 0; var GVidN = 102; var EnterStep = 0; var DoorOpenIY = DoorOpen_mc._y; var DoorCloseY = 350; var HitDoorFlag = false; var hitDoorNum = 0; var crntBld = 0; var crntBldi = 0; var outHomeFlag = false; var VidNums = new Array(25); var memPlHdTim = 0; var ccsec = 0; var toLasLvl = true; var totalLvlBt = 0; var RoomAct_mc = new MovieClip(); RoomAct_mc = RoomSt_mc; var OldGN = GN; var GrlTQ = 12; var VidNames = new Array(20); VidNames[1] = "NancyH01"; VidNames[2] = "SarkaH01"; VidNames[3] = "TriciaH01"; VidNames[4] = "SarikaH01"; VidNames[5] = "JillianH01"; VidNames[6] = "DoraH01"; VidNames[7] = "MonikaH01"; VidNames[8] = "EstonikaH01"; VidNames[9] = "MerryPieH01"; VidNames[10] = "TinaKayH02"; VidNames[11] = "BiancaH01"; VidNames[12] = "ViolaHH01"; var ViolaSurp = "ViolaBonus01"; var pressInside = new Array(5); pressInside[1] = pressInside1_mc; pressInside[2] = pressInside2_mc; pressInside[3] = pressInside3_mc; var prsNum = 0; var itemsQ = GrlsQ; var Items = new Array(20); Items[1] = GirlPic01BNancyA_mc; Items[2] = GirlPic02BSarka_mc; Items[3] = GirlPic03BTricia_mc; Items[4] = GirlPic04BSarika_mc; Items[5] = GirlPic05BJillian_mc; Items[6] = GirlPic06BDora_mc; Items[7] = GirlPic07BMonika_mc; Items[8] = GirlPic08BEstonika_mc; Items[9] = GirlPic09BMerry_mc; Items[10] = GirlPic10BTina_mc; Items[11] = GirlPic11BBianca_mc; Items[12] = GirlPic12BViola_mc; var Smitems = new Array(20); var Smitems01 = new Array(20); Smitems01[1] = pressInside1_mc.GirlPic01sNancyA_mc; Smitems01[2] = pressInside1_mc.GirlPic02sSarka_mc; Smitems01[3] = pressInside1_mc.GirlPic03sTricia_mc; Smitems01[4] = pressInside1_mc.GirlPic04sSarika_mc; Smitems01[5] = pressInside1_mc.GirlPic05sJillian_mc; Smitems01[6] = pressInside1_mc.GirlPic06sDora_mc; Smitems01[7] = pressInside1_mc.GirlPic07sMonika_mc; Smitems01[8] = pressInside1_mc.GirlPic08sEstonika_mc; Smitems01[9] = pressInside1_mc.GirlPic09sMerry_mc; Smitems01[10] = pressInside1_mc.GirlPic10sTina_mc; Smitems01[11] = pressInside1_mc.GirlPic11sBianca_mc; Smitems01[12] = pressInside1_mc.GirlPic12sViola_mc; var Smitems02 = new Array(20); Smitems02[1] = pressInside2_mc.GirlPic01sNancyA_mc; Smitems02[2] = pressInside2_mc.GirlPic02sSarka_mc; Smitems02[3] = pressInside2_mc.GirlPic03sTricia_mc; Smitems02[4] = pressInside2_mc.GirlPic04sSarika_mc; Smitems02[5] = pressInside2_mc.GirlPic05sJillian_mc; Smitems02[6] = pressInside2_mc.GirlPic06sDora_mc; Smitems02[7] = pressInside2_mc.GirlPic07sMonika_mc; Smitems02[8] = pressInside2_mc.GirlPic08sEstonika_mc; Smitems02[9] = pressInside2_mc.GirlPic09sMerry_mc; Smitems02[10] = pressInside2_mc.GirlPic10sTina_mc; Smitems02[11] = pressInside2_mc.GirlPic11sBianca_mc; Smitems02[12] = pressInside2_mc.GirlPic12sViola_mc; var Smitems03 = new Array(20); Smitems03[1] = pressInside3_mc.GirlPic01sNancyA_mc; Smitems03[2] = pressInside3_mc.GirlPic02sSarka_mc; Smitems03[3] = pressInside3_mc.GirlPic03sTricia_mc; Smitems03[4] = pressInside3_mc.GirlPic04sSarika_mc; Smitems03[5] = pressInside3_mc.GirlPic05sJillian_mc; Smitems03[6] = pressInside3_mc.GirlPic06sDora_mc; Smitems03[7] = pressInside3_mc.GirlPic07sMonika_mc; Smitems03[8] = pressInside3_mc.GirlPic08sEstonika_mc; Smitems03[9] = pressInside3_mc.GirlPic09sMerry_mc; Smitems03[10] = pressInside3_mc.GirlPic10sTina_mc; Smitems03[11] = pressInside3_mc.GirlPic11sBianca_mc; Smitems03[12] = pressInside3_mc.GirlPic12sViola_mc; var itemFlag = 0; var BigItemFlag = 0; var itCartX = (ShopCart_mc._x + 70); var itCartY = (ShopCart_mc._y - 5); var boughtQ = 0; var PointToGlobal = new Object(); var PDX; var PDY; var bgItemY = 350; var BoughtIt = new Array(20); var tmpBout = new Array(20); var girlEstimate = 0; var wtGEs = 0; var wtSpk = 0; var chIt = 0; var MemItX = 0; var MemItY = 0; var strpCnt = 0; var vstd = 0; var nowBuy = 0; var FrstBuyFlag = true; var MoneyFlag = 0; var notEnoughFlag = 0; var WinViola = false; var ViolaGN = 12; var CongrY = Congrs_mc._y; var congrDwn = 520; var grlTxts = new Array(25); grlTxts[1] = "Hi! I'm sure, you are my fan. And of course you have my photo with you? Show it to me, and watch my strip."; grlTxts[2] = "O! You're my real fan! You have my photo! - You may watch my show"; grlTxts[3] = "Fuck! You think, that this pig is me?! Fuck you! Go away!"; my_flvPb._visible = false; SoundOn_btn._visible = false; Orders_btn._visible = false; Testdata_mc._visible = false; help_mc._visible = false; initSet(); stop(); var myListener = new Object(); myListener.onKeyDown = function () { var _local1; if (!winFlag) { switch (Key.getCode()) { case 37 : if (!Banneddir[3]) { Dir = 3; dirFlag[Dir] = true; Banneddir[1] = false; moveFlag = true; _local1 = 1; while (_local1 <= 4) { Banneddir[_local1] = false; _local1++; } } break; case 38 : if (!Banneddir[4]) { Dir = 4; dirFlag[Dir] = true; Banneddir[2] = false; moveFlag = true; _local1 = 1; while (_local1 <= 4) { Banneddir[_local1] = false; _local1++; } } break; case 39 : if (!Banneddir[1]) { Dir = 1; dirFlag[Dir] = true; Banneddir[3] = false; moveFlag = true; _local1 = 1; while (_local1 <= 4) { Banneddir[_local1] = false; _local1++; } } break; case 40 : if (!Banneddir[2]) { Dir = 2; dirFlag[Dir] = true; Banneddir[4] = false; moveFlag = true; _local1 = 1; while (_local1 <= 4) { Banneddir[_local1] = false; _local1++; } } break; case 32 : if (winFlag) { break; } moveFlag = false; if (!Vitrina_mc._visible) { if (EnterStep < 1) { SpacePressed = true; } } if (!(Vitrina_mc._visible && (Vitrina_mc._xscale == 600))) { break; } cn = 0; } } }; myListener.onKeyUp = function () { switch (Key.getCode()) { case 37 : dirFlag[3] = false; break; case 38 : dirFlag[4] = false; break; case 39 : dirFlag[1] = false; break; case 40 : dirFlag[2] = false; break; case 32 : if (winFlag) { break; } SpacePressed = false; } if ((((!dirFlag[1]) && (!dirFlag[2])) && (!dirFlag[3])) && (!dirFlag[4])) { moveFlag = false; BoyDirs[Dir].gotoAndStop("stand0"); } }; Key.addListener(myListener); countryLog_mc.onEnterFrame = function () { if (!winFlag) { if (EnterStep == 0) { } if (EnterStep == 0.5) { if (DoorOpen_mc._y < DoorCloseY) { DoorOpen_mc._y = DoorOpen_mc._y + 16; } j = 1; while (j <= BldQ) { if (Builds[j].Hit_btn._visible) { Builds[j].Hit_btn._visible = false; } j++; } } if (EnterStep == 1) { DoorOpen_mc._visible = false; DoorOpen_mc._y = DoorOpenIY; DarkFon_mc._visible = true; RoomAct_mc._visible = true; if (DarkFon_mc._alpha > 0) { DarkFon_mc._alpha = DarkFon_mc._alpha - 4; } else { DarkFon_mc._alpha = 0; DarkFon_mc._visible = false; DarkFon_mc._alpha = 100; if (WinViola) { if (GN == ViolaGN) { MetaDatOK = false; videoFlvAddr = ("http://game-videos.info/Vids/BJC3/" + ViolaSurp) + ".flv"; my_flvPb.load(videoFlvAddr); Builds[crntBldi].LVL = 1; LEVEL = 1; MorePlay_btn._visible = true; MoreHer_btn._visible = true; } } my_flvPb._visible = true; my_flvPb.play(); if (Builds[crntBldi].vstd == 0) { Builds[crntBldi].vstd = 1; vstd++; } Visited_txt.text = vstd; LEVEL = Builds[crntBldi].LVL; LevJumpFlag = true; if (Builds[crntBldi].LVL >= VicL) { } memPlHdTim = my_flvPb.playheadTime; ExitBJ_btn._visible = true; LogoiStrip_btn._visible = true; if (Builds[crntBldi].LVL >= VicL) { MoreHer_btn._visible = true; } girlEstimate = 0; EnterStep = 2; j = 1; while (j <= BldQ) { Builds[j].Hit_btn._visible = false; j++; } } } if (EnterStep == 2) { if (Math.abs(my_flvPb.__get__playheadTime() - memPlHdTim) > 0.5) { RoomAct_mc.BackWall_mc._visible = false; if (Builds[crntBldi].vstd == 1) { Builds[crntBldi].vstd = 2; if (!WinViola) { girlSpeak_mc.speach_txt.text = grlTxts[1]; girlSpeak_mc._visible = true; } NotEnoughMon_mc._visible = false; CardBan_mc._visible = false; MoneyFlag = 0; notEnoughFlag = 0; } } if (Builds[crntBldi].LVL >= VicL) { MoreHer_btn._visible = true; } j = 1; while (j <= itemsQ) { if (Items[j].buy == 4) { Items[j].dx = (200 - Items[j]._x) / 25; Items[j].dy = (300 - Items[j]._y) / 25; MemItX = Items[j]._x; MemItY = Items[j]._y; Items[j].buy = 5; girlEstimate = 1; chIt = j; } if (Items[j].buy == 5) { if (Items[j]._y > 300) { Items[j]._x = Items[j]._x + Items[j].dx; Items[j]._y = Items[j]._y + Items[j].dy; if (Items[j]._xscale < 100) { Items[j]._xscale = Items[j]._xscale + 5; Items[j]._yscale = Items[j]._xscale; } } else { Items[j]._x = 200; Items[j]._y = 300; Items[j]._xscale = 100; Items[j]._yscale = Items[j]._xscale; Items[j].buy = 6; girlEstimate = 2; wtGEs = 0; } } j++; } if (girlEstimate == 2) { wtGEs++; if (wtGEs >= 18) { wtGEs = 0; girlEstimate = 3; } } if (girlEstimate == 3) { if (chIt == GN) { Items[chIt].dx = (950 - Items[chIt]._x) / 25; Items[chIt].dy = (200 - Items[chIt]._y) / 25; Items[chIt].buy = 7; girlEstimate = 10; girlSpeak_mc.speach_txt.text = grlTxts[2]; girlSpeak_mc._visible = true; MoneyFlag = 0; notEnoughFlag = 0; NotEnoughMon_mc._visible = false; CardBan_mc._visible = false; } else { Items[chIt].dx = (MemItX - Items[chIt]._x) / 25; Items[chIt].dy = (MemItY - Items[chIt]._y) / 25; Items[chIt].buy = 10; girlEstimate = 0; girlSpeak_mc.speach_txt.text = grlTxts[3]; girlSpeak_mc._visible = true; LoseSnd_mc.play(); } } if (Items[chIt].buy == 7) { if (Items[chIt]._x < 950) { Items[chIt]._x = Items[chIt]._x + Items[chIt].dx; Items[chIt]._y = Items[chIt]._y + Items[chIt].dy; } else { Items[chIt]._x = 950; Items[chIt]._y = 200; Items[chIt]._visible = false; Items[chIt].buy = 8; p = 1; while (p <= boughtQ) { tmpBout[p] = BoughtIt[p]; p++; } q = 1; p = 1; while (p <= boughtQ) { if (BoughtIt[p].buy < 8) { BoughtIt[q] = tmpBout[p]; BoughtIt[q]._x = (ShopCart_mc._x + 70) + (62 * (q - 1)); q++; } p++; } boughtQ = boughtQ - 1; wtSpk++; strpCnt++; won_txt.text = strpCnt; soundOK_mc.play(); LEVEL = VicL; Builds[crntBldi].LVL = VicL; LevJumpFlag = true; if (strpCnt >= GrlsQ) { Congrs_mc._visible = true; WinViola = true; } } } if (Items[chIt].buy == 10) { if (Items[chIt]._y < MemItY) { Items[chIt]._x = Items[chIt]._x + Items[chIt].dx; Items[chIt]._y = Items[chIt]._y + Items[chIt].dy; if (Items[chIt]._xscale > 27) { Items[chIt]._xscale = Items[chIt]._xscale - 5; Items[chIt]._yscale = Items[chIt]._xscale; } } else { Items[chIt]._x = MemItX; Items[chIt]._y = MemItY; Items[chIt]._xscale = 27; Items[chIt]._yscale = Items[chIt]._xscale; Items[chIt].buy = 3; Dir = 2; } } if (girlEstimate == 10) { if (wtSpk > 0) { wtSpk++; if (wtSpk >= 60) { wtSpk = 0; girlSpeak_mc.speach_txt.text = ""; girlSpeak_mc._visible = false; } } } if (Dir == 2) { RoomAct_mc.BackWall_mc._visible = true; RoomAct_mc._visible = false; DarkFon_mc._visible = true; outHomeFlag = true; Katz_mc._visible = true; my_flvPb._visible = false; my_flvPb.pause(); Dir = 0; ExitBJ_btn._visible = false; MoreHer_btn._visible = false; LogoiStrip_btn._visible = false; ShopCart_mc._visible = false; if (Builds[crntBldi].vstd == 2) { Builds[crntBldi].vstd = 3; girlSpeak_mc.speach_txt.text = ""; girlSpeak_mc._visible = false; } j = 1; while (j <= boughtQ) { BoughtIt[j]._visible = false; j++; } EnterStep = 2.5; } } if (EnterStep == 2.5) { if (outHomeFlag) { if (DarkFon_mc._alpha > 0) { DarkFon_mc._alpha = DarkFon_mc._alpha - 4; } else { DarkFon_mc._alpha = 0; DarkFon_mc._visible = false; DarkFon_mc._alpha = 100; outHomeFlag = false; GN = 0; crntBld = 0; crntBldi = 0; District_mc._x = CurntX; District_mc._y = CurntY; District_mc._visible = true; Katz_mc._visible = true; girlSpeak_mc.speach_txt.text = ""; girlSpeak_mc._visible = false; RoomAct_mc.BackWall_mc._visible = true; PercntBar_mc._visible = false; EnterStep = 0; } } } if (EnterStep == 10) { j = 1; while (j <= BldQ) { if (Builds[j].Hit_btn._visible) { Builds[j].Hit_btn._visible = false; } j++; } j = 1; while (j <= itemsQ) { Items[j]._visible = false; if (Items[j].buy == 0) { Smitems[j]._visible = true; Items[j].raise = 0; Items[j].buy = 0; } else { Smitems[j]._visible = false; } j++; } nowBuy = 0; } if (EnterStep == 11) { DoorPress_mc._visible = false; DarkFon_mc._visible = true; pressInside[prsNum]._visible = true; j = 1; while (j <= itemsQ) { if (Items[j].buy == 0) { Smitems[j]._visible = true; } else { Smitems[j]._visible = false; } j++; } if (DarkFon_mc._alpha > 0) { DarkFon_mc._alpha = DarkFon_mc._alpha - 4; } else { DarkFon_mc._alpha = 0; DarkFon_mc._visible = false; DarkFon_mc._alpha = 100; ExitBJ_btn._visible = true; itemFlag = 0; BigItemFlag = 0; EnterStep = 12; } } if (EnterStep == 12) { if (itemFlag > 0) { Smitems[itemFlag]._visible = false; PointToGlobal.x = Smitems[itemFlag]._x; PointToGlobal.y = Smitems[itemFlag]._y; pressInside[prsNum].localToGlobal(PointToGlobal); PDX = PointToGlobal.x; PDY = PointToGlobal.y; Items[itemFlag]._x = PDX; Items[itemFlag]._y = PDY; Items[itemFlag]._xscale = 27; Items[itemFlag]._yscale = Items[itemFlag]._xscale; Items[itemFlag].raise = 1; Items[itemFlag]._visible = true; itemFlag = 0; } j = 1; while (j <= itemsQ) { if (Items[j].raise == 1) { if (Items[j]._xscale < 100) { Items[j]._xscale = Items[j]._xscale + 5; Items[j]._yscale = Items[j]._xscale; if (Items[j]._y > bgItemY) { Items[j]._y = Items[j]._y - 15; } if (Items[j]._x < 140) { Items[j]._x = Items[j]._x + 10; } if (Items[j]._x > 650) { Items[j]._x = Items[j]._x - 10; } } else { Items[j]._xscale = 100; Items[j]._yscale = Items[j]._xscale; Items[j].raise = 2; if (FrstBuyFlag) { ClickToBuy_mc._x = Items[j]._x + 100; ClickToBuy_mc._y = Items[j]._y; if (ClickToBuy_mc._x > 680) { ClickToBuy_mc._x = 650; } ClickToBuy_mc._visible = true; FrstBuyFlag = false; } } } j++; } if (MoneyFlag <= 1) { j = 1; while (j <= itemsQ) { if (Items[j].buy == 1) { Items[j].itCartX = (ShopCart_mc._x + 70) + (62 * boughtQ); Items[j].dx = (Items[j].itCartX - Items[j]._x) / 25; Items[j].dy = (itCartY - Items[j]._y) / 25; Items[j].buy = 2; nowBuy = j; ShopCart_mc._visible = true; ClickToBuy_mc._visible = false; p = 1; while (p <= boughtQ) { BoughtIt[p]._visible = true; p++; } p = 1; while (p <= itemsQ) { if (Items[p].raise == 2) { if (Items[p].buy == 0) { Items[p]._visible = false; Smitems[p]._visible = true; Items[p].raise = 0; } } p++; } boughtQ++; PaySound_mc.play(); MoneyFlag = 1; notEnoughFlag = 1; CardBan_mc._visible = true; } if (Items[j].buy == 2) { if (!Items[j].hitTest(Items[j].itCartX, itCartY, true)) { Items[j]._x = Items[j]._x + Items[j].dx; Items[j]._y = Items[j]._y + Items[j].dy; if (Items[j]._xscale > 27) { Items[j]._xscale = Items[j]._xscale - 5; Items[j]._yscale = Items[j]._xscale; } } else { Items[j]._x = Items[j].itCartX; Items[j]._y = itCartY; Items[j]._xscale = 27; Items[j]._yscale = Items[j]._xscale; Items[j].buy = 3; MoneyFlag = 2; BoughtIt[boughtQ] = Items[j]; } } j++; } } else { j = 1; while (j <= itemsQ) { if (Items[j].buy == 1) { NotEnoughMon_mc._visible = true; notEnoughFlag++; bumpSnd_mc.play(); Items[j].buy = 0; } j++; } } if (Items[nowBuy].buy == 2) { if (Dir == 2) { Dir = 0; } } if (notEnoughFlag >= 3) { if (MoneyFlag == 2) { Dir = 2; } } if (Dir == 2) { pressInside[prsNum]._visible = false; DarkFon_mc._visible = true; outHomeFlag = true; Katz_mc._visible = true; Dir = 0; notEnoughFlag = 1; ExitBJ_btn._visible = false; j = 1; while (j <= itemsQ) { Smitems[j]._visible = false; j++; } j = 1; while (j <= itemsQ) { Items[j]._visible = false; if (Items[j].raise == 2) { if (Items[j].buy == 0) { Items[j].raise = 0; } } j++; } ShopCart_mc._visible = false; j = 1; while (j <= boughtQ) { BoughtIt[j]._visible = false; j++; } EnterStep = 13; } } if (EnterStep == 13) { if (outHomeFlag) { if (DarkFon_mc._alpha > 0) { DarkFon_mc._alpha = DarkFon_mc._alpha - 4; } else { DarkFon_mc._alpha = 0; DarkFon_mc._visible = false; DarkFon_mc._alpha = 100; outHomeFlag = false; GN = 0; crntBld = 0; crntBldi = 0; District_mc._x = CurntX; District_mc._y = CurntY; District_mc._visible = true; Katz_mc._visible = true; EnterStep = 0; } } } } }; Katz_mc.onEnterFrame = function () { prevY2 = prevY; prevX = District_mc._x; prevY = District_mc._y; if (EnterStep == 0) { if (moveFlag) { switch (Dir) { case 1 : District_mc._x = District_mc._x - speed; break; case 2 : District_mc._y = District_mc._y - speed; break; case 3 : District_mc._x = District_mc._x + speed; break; case 4 : District_mc._y = District_mc._y + speed; } if (Dir != 0) { i = 1; while (i <= 4) { BoyDirs[i]._visible = false; i++; } BoyDirs[Dir]._visible = true; BoyDirs[Dir].play(); } } } if (District_mc.BordUp_mc.hitTest(Katz_mc.Contact_mc)) { District_mc._y = (District_mc._y - speed) - 1; Banneddir[4] = true; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } if (District_mc.BordDn_mc.hitTest(Katz_mc.Contact_mc)) { District_mc._y = (District_mc._y + speed) + 1; Banneddir[2] = true; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } if (District_mc.BordLf_mc.hitTest(Katz_mc.Contact_mc)) { District_mc._x = (District_mc._x - speed) - 1; Banneddir[3] = true; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } if (District_mc.BordRt_mc.hitTest(Katz_mc.Contact_mc)) { District_mc._x = (District_mc._x + speed) + 1; Banneddir[1] = true; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } i = 1; while (i <= BldQ) { if (Builds[i].hitTest(Katz_mc.Contact_mc)) { myPoint1.x = Katz_mc.Contact_mc._x; myPoint1.y = Katz_mc.Contact_mc._y; Katz_mc.localToGlobal(myPoint1); ContactX = myPoint1.x; ContactY = myPoint1.y; myPoint1.x = Builds[i]._x; myPoint1.y = Builds[i]._y; District_mc.localToGlobal(myPoint1); BordX = myPoint1.x; BordY = myPoint1.y; if (ContactY < BordY) { if (Dir == 2) { Banneddir[2] = true; } if (Banneddir[2]) { District_mc._y = (District_mc._y + speed) + 1; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } } if (ContactY > BordY) { if (Dir == 4) { Banneddir[Dir] = true; } if (Banneddir[4]) { District_mc._y = (District_mc._y - speed) - 1; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } } if (ContactX < BordX) { if (Dir == 1) { Banneddir[Dir] = true; } if (Banneddir[1]) { District_mc._x = (District_mc._x + speed) + 1; Banneddir[Dir] = true; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } } if (ContactX > BordX) { if (Dir == 3) { Banneddir[Dir] = true; } if (Banneddir[3]) { District_mc._x = (District_mc._x - speed) - 1; Banneddir[Dir] = true; BoyDirs[Dir].gotoAndStop("stand0"); Dir = 0; } } } i++; } PCnt = 0; testX = 0; testY = 0; CurntX = District_mc._x; CurntY = District_mc._y; }; Katz_mc.HeadBoy_mc.onEnterFrame = function () { if (EnterStep == 0) { i = 1; while (i <= BldQ) { if (this.hitTest(Builds[i].Hit_btn)) { Builds[i].Hit_btn._visible = true; if (!moveFlag) { j = 1; while (j <= 4) { BoyDirs[j]._visible = false; j++; } BoyDirs[4]._visible = true; BoyDirs[4].gotoAndStop("stand0"); } if (HitDoorFlag) { if (Builds[i].Hit_btn._visible) { SpacePressed = true; } HitDoorFlag = false; } if (SpacePressed) { crntBld = Builds[i].NUM; crntBldi = i; Katz_mc._visible = false; SpacePressed = false; DarkFon_mc._alpha = 100; DarkFon_mc._visible = false; GN = Builds[i].GN; if (GN > 0) { OldGN = GN; GirlID = girlsIDs[GN]; GVidN = VidNames[GN]; videoFlvAddr = ("http://game-videos.info/Vids/BJC3/" + GVidN) + ".flv"; MetaDatOK = false; my_flvPb.load(videoFlvAddr); DoorOpen_mc._y = DoorOpenIY; DoorOpen_mc._visible = true; DoorOpen_mc.play(); EnterStep = 0.5; } else { prsNum = Builds[i].PRS; DoorPress_mc._y = DoorOpenIY; DoorPress_mc._visible = true; DoorPress_mc.play(); EnterStep = 10; } } } else { Builds[i].Hit_btn._visible = false; } i++; } } }; Congrs_mc.onRelease = function () { if (this._visible) { this._visible = false; } }; Congrs_mc.onEnterFrame = function () { if (this._visible) { if (this._y < congrDwn) { this._y = this._y + 2; } else { this._y = congrDwn; } } }; END_btn.onRelease = function () { Key.removeListener(myListener); getURL ("http://www.hilostripper.com/Live/connectStrip.php", "_blank"); gotoAndPlay ("introinit"); }; Help_btn.onRelease = function () { help_mc._visible = !help_mc._visible; }; help_mc.onRelease = function () { this._visible = false; }; MorePlay_btn.onRelease = function () { Key.removeListener(myListener); gotoAndPlay ("introinit"); }; SoundOff_btn.onRelease = function () { SoundOn_btn._visible = true; this._visible = false; }; SoundOn_btn.onRelease = function () { SoundOff_btn._visible = true; this._visible = false; }; MoreGames_btn.onRelease = function () { getURL ("http://www.hilostripper.com/Live/connectStrip.php", "_blank"); }; MoreHer_btn.onRelease = function () { getURL ((("http://istri.it/?p=28&s=" + iStripID) + "&pp=1&v=0&g=m") + GirlID, "_blank"); }; LogoiStrip_btn.onRelease = function () { getURL (("http://istri.it/?p=28&s=" + iStripID) + "&pp=1&v=2", "_blank"); }; ExitBJ_btn.onRelease = function () { if (this._visible) { if ((EnterStep == 2) || (EnterStep == 12)) { Dir = 2; } } }; ShopCart_btn.onRelease = function () { var _local1; if (ShopCart_mc._visible) { ShopCart_mc._visible = false; _local1 = 1; while (_local1 <= boughtQ) { BoughtIt[_local1]._visible = false; _local1++; } } else { ShopCart_mc._visible = true; _local1 = 1; while (_local1 <= boughtQ) { BoughtIt[_local1]._visible = true; _local1++; } if (Builds[crntBldi].vstd == 2) { Builds[crntBldi].vstd = 3; girlSpeak_mc.speach_txt.text = ""; girlSpeak_mc._visible = false; } } }; Test_btn.onRelease = function () { Testdata_mc._visible = !Testdata_mc._visible; }; PercntBar_mc._visible = false; if (FirstLaunch) { var my_flvPb; } var listenerObject2 = new Object(); listenerObject2.metadataReceived = function (eventObject) { var _local1 = 0; FLVwidth = my_flvPb.__get__metadata().width; FLVheight = my_flvPb.__get__metadata().height; FLVBytesTotal = my_flvPb.bytesTotal; my_flvPb.__set__width(FLVwidth); my_flvPb.__set__height(FLVheight); CueStr = ""; while (_local1 < my_flvPb.__get__metadata().cuePoints.length) { CueNames[_local1 + 1] = my_flvPb.__get__metadata().cuePoints[_local1].name; CueTimes[_local1 + 1] = my_flvPb.__get__metadata().cuePoints[_local1].time; CueStr = (((CueStr + "\n ") + CueNames[_local1 + 1]) + " ") + CueTimes[_local1 + 1]; _local1++; } VictoryLevel = _local1 - 1; Last_i = _local1; VideoTimeTotal = CueTimes[_local1]; Testdata_mc.cuesPts_txt.text = CueStr; if (LoadOK) { Play_btn._visible = true; } MetaDatOK = true; _local1 = 1; while (_local1 <= Last_i) { CuePercent[_local1] = (CueTimes[_local1] / VideoTimeTotal) * 100; CueBytes[_local1] = Math.round((FLVBytesTotal * CuePercent[_local1]) / 100); _local1++; } Testdata_mc.ID_txt.text = GN; }; my_flvPb.addEventListener("metadataReceived", listenerObject2); X_start = PercntBar_mc.barMask_mc._x; var listenerObject1 = new Object(); listenerObject1.cuePoint = function (eventObject) { Testdata_mc.cues_txt.text = (("Cue: " + eventObject.info.time) + " ") + eventObject.info.name; if (eventObject.info.time >= CueTimes[LEVEL + 1]) { my_flvPb.seekToNavCuePoint(CueTimes[LEVEL]); } }; my_flvPb.addEventListener("cuePoint", listenerObject1); FLVlog_mc.onEnterFrame = function () { if (LevChngFlag) { LevChngFlag = false; my_flvPb.seekToNavCuePoint(CueTimes[LEVEL]); Testdata_mc.S_txt.text = "S " + CueTimes[LEVEL]; Testdata_mc.E_txt.text = "E " + CueTimes[LEVEL + 1]; } TimStr = my_flvPb.__get__playheadTime().toString(); TimStr = TimStr.substring(0, 5); Testdata_mc.FLVtime_txt.text = "T " + TimStr; Testdata_mc.Levl_txt.text = "LVL " + LEVEL; }; var approxAdd = 800000; PercntBar_mc.onEnterFrame = function () { Testdata_mc.levJump_txt.text = LevJumpFlag; if (LevJumpFlag) { this._visible = true; prcLoaded = Math.round((my_flvPb.__get__bytesLoaded() / (CueBytes[LEVEL] + approxAdd)) * 100); if (prcLoaded < 100) { PercntBar_mc.prcnt_txt.text = ("VIDEO STREAM LOADING " + prcLoaded) + "%"; PercntBar_mc.barMask_mc._x = X_start + ((PercntBar_mc.barMask_mc._width / 100) * prcLoaded); if (LevJumpFlag) { Next_btn._visible = false; } } else { PercntBar_mc.prcnt_txt.text = "VIDEO STREAM LOADED 100%"; PercntBar_mc.barMask_mc._x = X_start + ((PercntBar_mc.barMask_mc._width / 100) * 100); if (LevJumpFlag) { LevJumpFlag = false; if (LEVEL < VictoryLevel) { LevChngFlag = true; this._visible = false; } if (LEVEL == VictoryLevel) { if (prcLoaded >= 100) { this._visible = false; LevChngFlag = true; } } } } } }; pressInside1_mc.GirlPic01sNancyA_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 1; } }; pressInside1_mc.GirlPic02sSarka_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 2; } }; pressInside1_mc.GirlPic03sTricia_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 3; } }; pressInside1_mc.GirlPic04sSarika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 4; } }; pressInside1_mc.GirlPic05sJillian_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 5; } }; pressInside1_mc.GirlPic06sDora_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 6; } }; pressInside1_mc.GirlPic07sMonika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 7; } }; pressInside1_mc.GirlPic08sEstonika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 8; } }; pressInside1_mc.GirlPic09sMerry_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 9; } }; pressInside1_mc.GirlPic10sTina_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 10; } }; pressInside1_mc.GirlPic11sBianca_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 11; } }; pressInside1_mc.GirlPic12sViola_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 12; } }; pressInside2_mc.GirlPic01sNancyA_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 1; } }; pressInside2_mc.GirlPic02sSarka_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 2; } }; pressInside2_mc.GirlPic03sTricia_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 3; } }; pressInside2_mc.GirlPic04sSarika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 4; } }; pressInside2_mc.GirlPic05sJillian_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 5; } }; pressInside2_mc.GirlPic06sDora_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 6; } }; pressInside2_mc.GirlPic07sMonika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 7; } }; pressInside2_mc.GirlPic08sEstonika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 8; } }; pressInside2_mc.GirlPic09sMerry_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 9; } }; pressInside2_mc.GirlPic10sTina_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 10; } }; pressInside2_mc.GirlPic11sBianca_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 11; } }; pressInside2_mc.GirlPic12sViola_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 12; } }; pressInside3_mc.GirlPic01sNancyA_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 1; } }; pressInside3_mc.GirlPic02sSarka_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 2; } }; pressInside3_mc.GirlPic03sTricia_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 3; } }; pressInside3_mc.GirlPic04sSarika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 4; } }; pressInside3_mc.GirlPic05sJillian_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 5; } }; pressInside3_mc.GirlPic06sDora_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 6; } }; pressInside3_mc.GirlPic07sMonika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 7; } }; pressInside3_mc.GirlPic08sEstonika_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 8; } }; pressInside3_mc.GirlPic09sMerry_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 9; } }; pressInside3_mc.GirlPic10sTina_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 10; } }; pressInside3_mc.GirlPic11sBianca_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 11; } }; pressInside3_mc.GirlPic12sViola_mc.onRelease = function () { if (EnterStep == 12) { itemFlag = 12; } }; GirlPic01BNancyA_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic02BSarka_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic03BTricia_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic04BSarika_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic05BJillian_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic06BDora_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic07BMonika_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic08BEstonika_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic09BMerry_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic10BTina_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic11BBianca_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } }; GirlPic12BViola_mc.onRelease = function () { if (EnterStep == 12) { if (this.buy == 0) { this.buy = 1; } } if (EnterStep == 2) { if (this.buy == 3) { if (girlEstimate == 0) { this.buy = 4; } } } };
Instance of Symbol 94 MovieClip [FLVPlayback] "my_flvPb" in Frame 2
//component parameters onClipEvent (construct) { autoPlay = true; autoRewind = true; autoSize = false; bufferTime = 0.1; contentPath = ""; cuePoints = ["t", 0, "n", "start1", "t", 2, "d", 0, "p", 0, "t", 20000, "n", "jump1", "t", 2, "d", 0, "p", 0, "t", 25000, "n", "jumpTo", "t", 2, "d", 0, "p", 0, "t", 55000, "n", "end1", "t", 2, "d", 0, "p", 0]; isLive = false; maintainAspectRatio = true; skin = ""; skinAutoHide = false; totalTime = 0; version_1_0_1 = ""; volume = 100; }
Instance of Symbol 80 MovieClip "Hit_btn" in Symbol 85 MovieClip [EmptyBld] Frame 1
on (release) { _root.HitDoorFlag = true; _root.hitDoorNum = this.BldNum; }
Symbol 90 MovieClip [VideoPlayer] Frame 1
#initclip 12 Object.registerClass("VideoPlayer", mx.video.VideoPlayer); #endinitclip
Symbol 94 MovieClip [FLVPlayback] Frame 1
#initclip 13 Object.registerClass("FLVPlayback", mx.video.FLVPlayback); #endinitclip stop();
Symbol 174 MovieClip Frame 1
FLVbar_mc.setMask(barMask_mc);
Symbol 86 MovieClip [__Packages.mx.video.FLVPlayback] Frame 0
class mx.video.FLVPlayback extends MovieClip { var _autoPlay, _autoRewind, _autoSize, _bufferTime, _contentPath, _cuePoints, _idleTimeout, _isLive, _aspectRatio, _seekToPrevOffset, _playheadUpdateInterval, _progressInterval, _totalTime, _transform, _volume, _skinAutoHide, _bufferingBarHides, _origHeight, _prevHeight, __height, _height, _origWidth, _prevWidth, __width, _width, _scaleX, _scaleY, _xscale, _yscale, _preSeekTime, _firstStreamReady, _firstStreamShown, _activeVP, _visibleVP, _topVP, _vp, _vpState, _cpMgr, boundingBox_mc, preview_mc, dispatchEvent, _uiMgr, _bufferingBar, _backButton, __get__cuePoints, _forwardButton, _muteButton, _pauseButton, _playButton, _playPauseButton, _seekBar, _seekBarInterval, _seekBarScrubTolerance, _skin, _stopButton, _visible, _volumeBar, _volumeBarInterval, _volumeBarScrubTolerance, _x, _y, attachMovie, createEmptyMovieClip; function FLVPlayback () { super(); mx.events.EventDispatcher.initialize(this); if (_autoPlay == undefined) { _autoPlay = true; } if (_autoRewind == undefined) { _autoRewind = true; } if (_autoSize == undefined) { _autoSize = false; } if (_bufferTime == undefined) { _bufferTime = 0.1; } if (_contentPath == undefined) { _contentPath = ""; } if (_cuePoints == undefined) { _cuePoints = null; } if (_idleTimeout == undefined) { _idleTimeout = mx.video.VideoPlayer.DEFAULT_IDLE_TIMEOUT_INTERVAL; } if (_isLive == undefined) { _isLive = false; } if (_aspectRatio == undefined) { _aspectRatio = true; } if (_seekToPrevOffset == undefined) { _seekToPrevOffset = SEEK_TO_PREV_OFFSET_DEFAULT; } if (_playheadUpdateInterval == undefined) { _playheadUpdateInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_PROGRESS_INTERVAL; } if (_progressInterval == undefined) { _progressInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_TIME_INTERVAL; } if (_totalTime == undefined) { _totalTime = 0; } if (_transform == undefined) { _transform = null; } if (_volume == undefined) { _volume = 100; } if (_skinAutoHide == undefined) { _skinAutoHide = false; } if (_bufferingBarHides == undefined) { _bufferingBarHides = false; } _origHeight = (_prevHeight = (__height = _height)); _origWidth = (_prevWidth = (__width = _width)); _scaleX = 100; _scaleY = 100; _xscale = 100; _yscale = 100; _preSeekTime = -1; _firstStreamReady = false; _firstStreamShown = false; createUIManager(); _activeVP = 0; _visibleVP = 0; _topVP = 0; _vp = new Array(); _vpState = new Array(); _cpMgr = new Array(); createVideoPlayer(0); _vp[0].visible = false; _vp[0].volume = 0; boundingBox_mc._visible = false; boundingBox_mc.unloadMovie(); delete boundingBox_mc; if (_global.isLivePreview) { createLivePreviewMovieClip(); setSize(__width, __height); } _cpMgr[0].processCuePointsProperty(_cuePoints); delete _cuePoints; _cuePoints = null; } function setSize(w, h) { if (_global.isLivePreview) { if (preview_mc == undefined) { createLivePreviewMovieClip(); } preview_mc.box_mc._width = w; preview_mc.box_mc._height = h; if ((preview_mc.box_mc._width < preview_mc.icon_mc._width) || (preview_mc.box_mc._height < preview_mc.icon_mc._height)) { preview_mc.icon_mc._visible = false; } else { preview_mc.icon_mc._visible = true; preview_mc.icon_mc._x = (preview_mc.box_mc._width - preview_mc.icon_mc._width) / 2; preview_mc.icon_mc._y = (preview_mc.box_mc._height - preview_mc.icon_mc._height) / 2; } } if ((w == width) && (h == height)) { return(undefined); } _prevWidth = (__width = w); _prevHeight = (__height = h); var _local3 = 0; while (_local3 < _vp.length) { if (_vp[_local3] != undefined) { _vp[_local3].setSize(w, h); } _local3++; } dispatchEvent({type:"resize", x:x, y:y, width:w, height:h}); } function setScale(xs, ys) { if ((xs == scaleX) && (ys == scaleY)) { return(undefined); } _scaleX = xs; _scaleY = ys; var _local2 = 0; while (_local2 < _vp.length) { if (_vp[_local2] != undefined) { _vp[_local2].setSize((_origWidth * xs) / 100, (_origHeight * ys) / 100); } _local2++; } dispatchEvent({type:"resize", x:x, y:y, width:width, height:height}); } function handleEvent(e) { var _local3 = e.state; if (((e.state != undefined) && (e.target._name == _visibleVP)) && (scrubbing)) { _local3 = SEEKING; } if (e.type == "metadataReceived") { _cpMgr[e.target._name].processFLVCuePoints(e.info.cuePoints); dispatchEvent({type:e.type, info:e.info, vp:e.target._name}); } else if (e.type == "cuePoint") { if (_cpMgr[e.target._name].isFLVCuePointEnabled(e.info)) { dispatchEvent({type:e.type, info:e.info, vp:e.target._name}); } } else if (e.type == "rewind") { dispatchEvent({type:e.type, auto:true, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); _cpMgr[e.target._name].resetASCuePointIndex(e.playheadTime); } else if (e.type == "resize") { dispatchEvent({type:e.type, x:x, y:y, width:width, height:height, auto:true, vp:e.target._name}); _prevWidth = __width; _prevHeight = __height; } else if (e.type == "playheadUpdate") { dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); if ((_preSeekTime >= 0) && (e.target.state != SEEKING)) { var _local5 = _preSeekTime; _preSeekTime = -1; _cpMgr[e.target._name].resetASCuePointIndex(e.playheadTime); dispatchEvent({type:"seek", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); if (_local5 < e.playheadTime) { dispatchEvent({type:"fastForward", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } else if (_local5 > e.playheadTime) { dispatchEvent({type:"rewind", auto:false, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } } _cpMgr[e.target._name].dispatchASCuePoints(); } else if (e.type == "stateChange") { var _local4 = e.target._name; if ((_local4 == _visibleVP) && (scrubbing)) { return(undefined); } if (e.state == mx.video.VideoPlayer.RESIZING) { return(undefined); } if (((_vpState[_local4].prevState == LOADING) && (_vpState[_local4].autoPlay)) && (e.state == STOPPED)) { return(undefined); } _vpState[_local4].prevState = e.state; dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); if (_vp[e.target._name].state != _local3) { return(undefined); } switch (_local3) { case BUFFERING : dispatchEvent({type:"buffering", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); break; case PAUSED : dispatchEvent({type:"paused", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); break; case PLAYING : dispatchEvent({type:"playing", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); break; case STOPPED : dispatchEvent({type:"stopped", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } } else if (e.type == "progress") { dispatchEvent({type:e.type, bytesLoaded:e.bytesLoaded, bytesTotal:e.bytesTotal, vp:e.target._name}); } else if (e.type == "ready") { var _local4 = e.target._name; if (!_firstStreamReady) { if (_local4 == _visibleVP) { _firstStreamReady = true; if (_uiMgr.__get__skinReady() && (!_firstStreamShown)) { _uiMgr.__set__visible(true); showFirstStream(); } } } else if ((_firstStreamShown && (_local3 == STOPPED)) && _vpState[_local4].autoPlay) { _vp[_local4].play(); } dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } else if ((e.type == "close") || (e.type == "complete")) { dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } } function load(contentPath, totalTime, isLive) { if (_vp[_activeVP] == undefined) { return(undefined); } if (((contentPath == undefined) || (contentPath == null)) || (contentPath == "")) { return(undefined); } autoPlay = (false); if (totalTime != undefined) { this.totalTime = (totalTime); } if (isLive != undefined) { this.isLive = (isLive); } this.contentPath = (contentPath); } function play(contentPath, totalTime, isLive) { if (_vp[_activeVP] == undefined) { return(undefined); } if (contentPath == undefined) { _vp[_activeVP].play(); } else { autoPlay = (true); if (totalTime != undefined) { this.totalTime = (totalTime); } if (isLive != undefined) { this.isLive = (isLive); } this.contentPath = (contentPath); } } function pause() { if (_vp[_activeVP] == undefined) { return(undefined); } _vp[_activeVP].pause(); } function stop() { if (_vp[_activeVP] == undefined) { return(undefined); } _vp[_activeVP].stop(); } function seek(time) { if (_vp[_activeVP] == undefined) { return(undefined); } _preSeekTime = playheadTime; _vp[_activeVP].seek(time); } function seekSeconds(time) { seek(time); } function seekPercent(percent) { if (_vp[_activeVP] == undefined) { return(undefined); } if (((((percent < 0) || (percent > 100)) || (_vp[_activeVP].totalTime == undefined)) || (_vp[_activeVP].totalTime == null)) || (_vp[_activeVP].totalTime <= 0)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } seek((_vp[_activeVP].totalTime * percent) / 100); } function get playheadPercentage() { if (((_vp[_activeVP].totalTime == undefined) || (_vp[_activeVP].totalTime == null)) || (_vp[_activeVP].totalTime <= 0)) { return(undefined); } return((_vp[_activeVP].playheadTime / _vp[_activeVP].totalTime) * 100); } function set playheadPercentage(percent) { seekPercent(percent); //return(playheadPercentage); } function seekToNavCuePoint(timeNameOrCuePoint) { var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } if (((_local3.name == null) || (_local3.name == undefined)) || (typeof(_local3.name) != "string")) { seekToNextNavCuePoint(_local3.time); return(undefined); } if (isNaN(_local3.time)) { _local3.time = 0; } var _local2 = findNearestCuePoint(timeNameOrCuePoint, NAVIGATION); while ((_local2 != null) && ((_local2.time < _local3.time) || (!isFLVCuePointEnabled(_local2)))) { _local2 = findNextCuePointWithName(_local2); } if (_local2 == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } seek(_local2.time); } function seekToNextNavCuePoint(time) { if (_vp[_activeVP] == undefined) { return(undefined); } if (isNaN(time) || (time < 0)) { time = _vp[_activeVP].playheadTime + 0.001; } var _local3; _local3 = findNearestCuePoint(time, NAVIGATION); if (_local3 == null) { seek(_vp[_activeVP].totalTime); return(undefined); } var _local2 = _local3.index; if (_local3.time < time) { _local2++; } while ((_local2 < _local3.array.length) && (!isFLVCuePointEnabled(_local3.array[_local2]))) { _local2++; } if (_local2 >= _local3.array.length) { var _local5 = _vp[_activeVP].totalTime; if (_local3.array[_local3.array.length - 1].time > _local5) { _local5 = _local3.array[_local3.array.length - 1]; } seek(_local5); } else { seek(_local3.array[_local2].time); } } function seekToPrevNavCuePoint(time) { if (_vp[_activeVP] == undefined) { return(undefined); } if (isNaN(time) || (time < 0)) { time = _vp[_activeVP].playheadTime; } var _local3 = findNearestCuePoint(time, NAVIGATION); if (_local3 == null) { seek(0); return(undefined); } var _local2 = _local3.index; while ((_local2 >= 0) && ((!isFLVCuePointEnabled(_local3.array[_local2])) || (_local3.array[_local2].time >= (time - _seekToPrevOffset)))) { _local2--; } if (_local2 < 0) { seek(0); } else { seek(_local3.array[_local2].time); } } function addASCuePoint(timeOrCuePoint, name, parameters) { return(_cpMgr[_activeVP].addASCuePoint(timeOrCuePoint, name, parameters)); } function removeASCuePoint(timeNameOrCuePoint) { return(_cpMgr[_activeVP].removeASCuePoint(timeNameOrCuePoint)); } function findCuePoint(timeNameOrCuePoint, type) { switch (type) { case "event" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].eventCuePoints, false, timeNameOrCuePoint)); case "navigation" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].navCuePoints, false, timeNameOrCuePoint)); case "flv" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].flvCuePoints, false, timeNameOrCuePoint)); case "actionscript" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].asCuePoints, false, timeNameOrCuePoint)); case "all" : } return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].allCuePoints, false, timeNameOrCuePoint)); } function findNearestCuePoint(timeNameOrCuePoint, type) { switch (type) { case "event" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].eventCuePoints, true, timeNameOrCuePoint)); case "navigation" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].navCuePoints, true, timeNameOrCuePoint)); case "flv" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].flvCuePoints, true, timeNameOrCuePoint)); case "actionscript" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].asCuePoints, true, timeNameOrCuePoint)); case "all" : } return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].allCuePoints, true, timeNameOrCuePoint)); } function findNextCuePointWithName(cuePoint) { return(_cpMgr[_activeVP].getNextCuePointWithName(cuePoint)); } function setFLVCuePointEnabled(enabled, timeNameOrCuePoint) { return(_cpMgr[_activeVP].setFLVCuePointEnabled(enabled, timeNameOrCuePoint)); } function isFLVCuePointEnabled(timeNameOrCuePoint) { return(_cpMgr[_activeVP].isFLVCuePointEnabled(timeNameOrCuePoint)); } function getNextHighestDepth() { var _local2 = super.getNextHighestDepth(); return(((_local2 < 1000) ? 1000 : (_local2))); } function bringVideoPlayerToFront(index) { if ((index == _topVP) || (_vp[index] == undefined)) { return(undefined); } _vp[_topVP].swapDepths(_vp[index].getDepth()); _topVP = index; } function getVideoPlayer(index) { return(_vp[index]); } function closeVideoPlayer(index) { if (_vp[index] == undefined) { return(undefined); } if (index == 0) { throw new mx.video.VideoError(mx.video.VideoError.DELETE_DEFAULT_PLAYER); } if (_visibleVP == index) { visibleVideoPlayerIndex = (0); } if (_activeVP == index) { activeVideoPlayerIndex = (0); } _vp[index].close(); _vp[index].unloadMovie(); delete _vp[index]; _vp[index] = undefined; } function get activeVideoPlayerIndex() { return(_activeVP); } function set activeVideoPlayerIndex(i) { if (_activeVP == i) { return; } if (_vp[_activeVP].onEnterFrame != undefined) { doContentPathConnect(); } _activeVP = i; if (_vp[_activeVP] == undefined) { createVideoPlayer(_activeVP); _vp[_activeVP].visible = false; _vp[_activeVP].volume = 0; } //return(activeVideoPlayerIndex); } function get autoPlay() { if (_vpState[_activeVP] == undefined) { return(_autoPlay); } return(_vpState[_activeVP].autoPlay); } function set autoPlay(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _autoPlay = flag; } _vpState[_activeVP].autoPlay = flag; //return(autoPlay); } function get autoRewind() { if (_vp[_activeVP] == undefined) { return(_autoRewind); } return(_vp[_activeVP].autoRewind); } function set autoRewind(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _autoRewind = flag; } _vp[_activeVP].autoRewind = flag; //return(autoRewind); } function get autoSize() { if (_vp[_activeVP] == undefined) { return(_autoSize); } return(_vp[_activeVP].autoSize); } function set autoSize(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _autoSize = flag; } _vp[_activeVP].autoSize = flag; //return(autoSize); } function get bitrate() { return(ncMgr.getBitrate()); } function set bitrate(b) { ncMgr.setBitrate(b); //return(bitrate); } function get buffering() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == BUFFERING); } function get bufferingBar() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _bufferingBar = _uiMgr.getControl(mx.video.UIManager.BUFFERING_BAR); } return(_bufferingBar); } function set bufferingBar(s) { _bufferingBar = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.BUFFERING_BAR, s); } //return(bufferingBar); } function get bufferingBarHidesAndDisablesOthers() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _bufferingBarHides = _uiMgr.bufferingBarHidesAndDisablesOthers; } return(_bufferingBarHides); } function set bufferingBarHidesAndDisablesOthers(b) { _bufferingBarHides = b; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__bufferingBarHidesAndDisablesOthers(b); } //return(bufferingBarHidesAndDisablesOthers); } function get backButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _backButton = _uiMgr.getControl(mx.video.UIManager.BACK_BUTTON); } return(_backButton); } function set backButton(s) { _backButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.BACK_BUTTON, s); } //return(backButton); } function get bufferTime() { if (_vp[_activeVP] == undefined) { return(_bufferTime); } return(_vp[_activeVP].bufferTime); } function set bufferTime(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _bufferTime = aTime; } _vp[_activeVP].bufferTime = aTime; //return(bufferTime); } function get bytesLoaded() { return(_vp[_activeVP].bytesLoaded); } function get bytesTotal() { return(_vp[_activeVP].bytesTotal); } function get contentPath() { if ((_vp[_activeVP] == undefined) || (_vp[_activeVP].onEnterFrame != undefined)) { return(_contentPath); } return(_vp[_activeVP].url); } function set contentPath(url) { if (_global.isLivePreview) { return; } if (_vp[_activeVP] == undefined) { if (url == _contentPath) { return; } _contentPath = url; } else { if (_vp[_activeVP].url == url) { return; } _vpState[_activeVP].minProgressPercent = undefined; if (_vp[_activeVP].onEnterFrame != undefined) { delete _vp[_activeVP].onEnterFrame; _vp[_activeVP].onEnterFrame = undefined; } _cpMgr[_activeVP].reset(); if (_vpState[_activeVP].autoPlay && (_firstStreamShown)) { _vp[_activeVP].play(url, _vpState[_activeVP].isLive, _vpState[_activeVP].totalTime); } else { _vp[_activeVP].load(url, _vpState[_activeVP].isLive, _vpState[_activeVP].totalTime); } _vpState[_activeVP].isLiveSet = false; _vpState[_activeVP].totalTimeSet = false; } //return(contentPath); } function set cuePoints(cp) { if (_cuePoints != undefined) { return; } _cuePoints = cp; //return(__get__cuePoints()); } function get forwardButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _forwardButton = _uiMgr.getControl(mx.video.UIManager.FORWARD_BUTTON); } return(_forwardButton); } function set forwardButton(s) { _forwardButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.FORWARD_BUTTON, s); } //return(forwardButton); } function get height() { if (_global.isLivePreview) { return(__height); } if (_vp[_visibleVP] != undefined) { __height = _vp[_visibleVP].height; } return(__height); } function set height(h) { setSize(width, h); //return(height); } function get idleTimeout() { if (_vp[_activeVP] == undefined) { return(_idleTimeout); } return(_vp[_activeVP].idleTimeout); } function set idleTimeout(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _idleTimeout = aTime; } _vp[_activeVP].idleTimeout = aTime; //return(idleTimeout); } function get isRTMP() { if (_global.isLivePreview) { return(true); } if (_vp[_activeVP] == undefined) { return(undefined); } return(_vp[_activeVP].isRTMP); } function get isLive() { if (_vp[_activeVP] == undefined) { return(_isLive); } if (_vpState[_activeVP].isLiveSet) { return(_vpState[_activeVP].isLive); } return(_vp[_activeVP].isLive); } function set isLive(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _isLive = flag; } _vpState[_activeVP].isLive = flag; _vpState[_activeVP].isLiveSet = true; //return(isLive); } function get maintainAspectRatio() { if (_vp[_activeVP] == undefined) { return(_aspectRatio); } return(_vp[_activeVP].maintainAspectRatio); } function set maintainAspectRatio(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _aspectRatio = flag; } _vp[_activeVP].maintainAspectRatio = flag; //return(maintainAspectRatio); } function get metadata() { if (_vp[_activeVP] == undefined) { return(null); } return(_vp[_activeVP].metadata); } function get metadataLoaded() { if (_vp[_activeVP] == undefined) { return(false); } return(_cpMgr[_activeVP].metadataLoaded); } function get muteButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _muteButton = _uiMgr.getControl(mx.video.UIManager.MUTE_BUTTON); } return(_muteButton); } function set muteButton(s) { _muteButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.MUTE_BUTTON, s); } //return(muteButton); } function get ncMgr() { if (_vp[_activeVP] == undefined) { return(null); } return(_vp[_activeVP].ncMgr); } function get pauseButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _pauseButton = _uiMgr.getControl(mx.video.UIManager.PAUSE_BUTTON); } return(_pauseButton); } function set pauseButton(s) { _pauseButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.PAUSE_BUTTON, s); } //return(pauseButton); } function get paused() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == PAUSED); } function get playButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _playButton = _uiMgr.getControl(mx.video.UIManager.PLAY_BUTTON); } return(_playButton); } function set playButton(s) { _playButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.PLAY_BUTTON, s); } //return(playButton); } function get playheadTime() { if (_vp[_activeVP] == undefined) { return(0); } return(_vp[_activeVP].playheadTime); } function set playheadTime(position) { seek(position); //return(playheadTime); } function get playheadUpdateInterval() { if (_vp[_activeVP] == undefined) { return(_playheadUpdateInterval); } return(_vp[_activeVP].playheadUpdateInterval); } function set playheadUpdateInterval(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _playheadUpdateInterval = aTime; } _cpMgr[_activeVP].playheadUpdateInterval = aTime; _vp[_activeVP].playheadUpdateInterval = aTime; //return(playheadUpdateInterval); } function get playing() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == PLAYING); } function get playPauseButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _playPauseButton = _uiMgr.getControl(mx.video.UIManager.PLAY_PAUSE_BUTTON); } return(_playPauseButton); } function set playPauseButton(s) { _playPauseButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.PLAY_PAUSE_BUTTON, s); } //return(playPauseButton); } function get preferredHeight() { if (_vp[_activeVP] == undefined) { return(0); } return(_vp[_activeVP].videoHeight); } function get preferredWidth() { if (_vp[_activeVP] == undefined) { return(0); } return(_vp[_activeVP].videoWidth); } function get progressInterval() { if (_vp[_activeVP] == undefined) { return(_progressInterval); } return(_vp[_activeVP].progressInterval); } function set progressInterval(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _progressInterval = aTime; } _vp[_activeVP].progressInterval = aTime; //return(progressInterval); } function get scaleX() { if (_vp[_visibleVP] != undefined) { _scaleX = (_vp[_visibleVP].width / _origWidth) * 100; } return(_scaleX); } function set scaleX(xs) { setScale(xs, scaleY); //return(scaleX); } function get scaleY() { if (_vp[_visibleVP] != undefined) { _scaleY = (_vp[_visibleVP].height / _origHeight) * 100; } return(_scaleY); } function set scaleY(ys) { setScale(scaleX, ys); //return(scaleY); } function get scrubbing() { var _local2 = seekBar; if ((_local2 == undefined) || (_local2.isDragging == undefined)) { return(false); } return(_local2.isDragging); } function get seekBar() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _seekBar = _uiMgr.getControl(mx.video.UIManager.SEEK_BAR); } return(_seekBar); } function set seekBar(s) { _seekBar = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.SEEK_BAR, s); } //return(seekBar); } function get seekBarInterval() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _seekBarInterval = _uiMgr.seekBarInterval; } return(_seekBarInterval); } function set seekBarInterval(s) { _seekBarInterval = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__seekBarInterval(_seekBarInterval); } //return(seekBarInterval); } function get seekBarScrubTolerance() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _seekBarScrubTolerance = _uiMgr.seekBarScrubTolerance; } return(_seekBarScrubTolerance); } function set seekBarScrubTolerance(s) { _seekBarScrubTolerance = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__seekBarScrubTolerance(_seekBarScrubTolerance); } //return(seekBarScrubTolerance); } function get seekToPrevOffset() { return(_seekToPrevOffset); } function set seekToPrevOffset(s) { _seekToPrevOffset = s; //return(seekToPrevOffset); } function get skin() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _skin = _uiMgr.skin; } return(_skin); } function set skin(s) { _skin = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__skin(s); } //return(skin); } function get skinAutoHide() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _skinAutoHide = _uiMgr.skinAutoHide; } return(_skinAutoHide); } function set skinAutoHide(b) { if (_global.isLivePreview) { return; } _skinAutoHide = b; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__skinAutoHide(b); } //return(skinAutoHide); } function get transform() { return(_transform); } function set transform(s) { _transform = s; if (_vp[_activeVP] != undefined) { _vp[_activeVP].transform = _transform; } //return(transform); } function get state() { if (_global.isLivePreview) { return(STOPPED); } if (_vp[_activeVP] == undefined) { return(DISCONNECTED); } if ((_activeVP == _visibleVP) && (scrubbing)) { return(SEEKING); } var _local3 = _vp[_activeVP].state; if (_local3 == mx.video.VideoPlayer.RESIZING) { return(LOADING); } if (((_vpState[_activeVP].prevState == LOADING) && (_vpState[_activeVP].autoPlay)) && (_local3 == STOPPED)) { return(LOADING); } return(_local3); } function get stateResponsive() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].stateResponsive); } function get stopButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _stopButton = _uiMgr.getControl(mx.video.UIManager.STOP_BUTTON); } return(_stopButton); } function set stopButton(s) { _stopButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.STOP_BUTTON, s); } //return(stopButton); } function get stopped() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == STOPPED); } function get totalTime() { if (_global.isLivePreview) { return(1); } if (_vp[_activeVP] == undefined) { return(_totalTime); } if (_vpState[_activeVP].totalTimeSet) { return(_vpState[_activeVP].totalTime); } return(_vp[_activeVP].totalTime); } function set totalTime(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _totalTime = aTime; } _vpState[_activeVP].totalTime = aTime; _vpState[_activeVP].totalTimeSet = true; //return(totalTime); } function get version_1_0_1() { return(""); } function set version_1_0_1(v) { //return(version_1_0_1); } function get visible() { return(_visible); } function set visible(v) { _visible = v; //return(visible); } function get visibleVideoPlayerIndex() { return(_visibleVP); } function set visibleVideoPlayerIndex(i) { if (_visibleVP == i) { return; } var _local2 = _visibleVP; if (_vp[i] == undefined) { createVideoPlayer(i); } var _local5 = (_vp[i].height != _vp[_visibleVP].height) || (_vp[i].width != _vp[_visibleVP].width); _vp[_visibleVP].visible = false; _vp[_visibleVP].volume = 0; _visibleVP = i; if (_firstStreamShown) { _uiMgr.setupSkinAutoHide(_local2); _vp[_visibleVP].visible = true; if (!scrubbing) { _vp[_visibleVP].volume = _volume; } } else if ((_vp[_visibleVP].stateResponsive && (_vp[_visibleVP].state != DISCONNECTED)) && (_uiMgr.__get__skinReady())) { _uiMgr.__set__visible(true); _uiMgr.setupSkinAutoHide(_local2); _firstStreamReady = true; showFirstStream(); } if ((_vp[_local2].height != _vp[_visibleVP].height) || (_vp[_local2].width != _vp[_visibleVP].width)) { dispatchEvent({type:"resize", x:x, y:y, width:width, height:height, auto:false, vp:_visibleVP}); } _uiMgr.handleEvent({type:"stateChange", state:_vp[_visibleVP].state, vp:_visibleVP}); _uiMgr.handleEvent({type:"playheadUpdate", playheadTime:_vp[_visibleVP].playheadTime, vp:_visibleVP}); if (_vp[_visibleVP].isRTMP) { _uiMgr.handleEvent({type:"ready", vp:_visibleVP}); } else { _uiMgr.handleEvent({type:"progress", bytesLoaded:_vp[_visibleVP].bytesLoaded, bytesTotal:_vp[_visibleVP].bytesTotal, vp:_visibleVP}); } //return(visibleVideoPlayerIndex); } function get volume() { return(_volume); } function set volume(aVol) { if (_volume == aVol) { return; } _volume = aVol; if (!scrubbing) { _vp[_visibleVP].volume = _volume; } dispatchEvent({type:"volumeUpdate", volume:aVol}); //return(volume); } function get volumeBar() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _volumeBar = _uiMgr.getControl(mx.video.UIManager.VOLUME_BAR); } return(_volumeBar); } function set volumeBar(s) { _volumeBar = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.VOLUME_BAR, s); } //return(volumeBar); } function get volumeBarInterval() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _volumeBarInterval = _uiMgr.volumeBarInterval; } return(_volumeBarInterval); } function set volumeBarInterval(s) { _volumeBarInterval = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__volumeBarInterval(_volumeBarInterval); } //return(volumeBarInterval); } function get volumeBarScrubTolerance() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _volumeBarScrubTolerance = _uiMgr.volumeBarScrubTolerance; } return(_volumeBarScrubTolerance); } function set volumeBarScrubTolerance(s) { _volumeBarScrubTolerance = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__volumeBarScrubTolerance(_volumeBarScrubTolerance); } //return(volumeBarScrubTolerance); } function get width() { if (_global.isLivePreview) { return(__width); } if (_vp[_visibleVP] != undefined) { __width = _vp[_visibleVP].width; } return(__width); } function set width(w) { setSize(w, height); //return(width); } function get x() { return(_x); } function set x(xpos) { _x = xpos; //return(x); } function get y() { return(_y); } function set y(ypos) { _y = ypos; //return(y); } function createVideoPlayer(index) { if (_global.isLivePreview) { return(undefined); } var _local4 = width; var _local5 = height; _vp[index] = mx.video.VideoPlayer(attachMovie("VideoPlayer", String(index), VP_DEPTH_OFFSET + index)); _vp[index].setSize(_local4, _local5); _topVP = index; _vp[index].autoRewind = _autoRewind; _vp[index].autoSize = _autoSize; _vp[index].bufferTime = _bufferTime; _vp[index].idleTimeout = _idleTimeout; _vp[index].maintainAspectRatio = _aspectRatio; _vp[index].playheadUpdateInterval = _playheadUpdateInterval; _vp[index].progressInterval = _progressInterval; _vp[index].transform = _transform; _vp[index].volume = _volume; if (index == 0) { _vpState[index] = {id:index, isLive:_isLive, isLiveSet:true, totalTime:_totalTime, totalTimeSet:true, autoPlay:_autoPlay}; if (((_contentPath != null) && (_contentPath != undefined)) && (_contentPath != "")) { _vp[index].onEnterFrame = mx.utils.Delegate.create(this, doContentPathConnect); } } else { _vpState[index] = {id:index, isLive:false, isLiveSet:true, totalTime:0, totalTimeSet:true, autoPlay:false}; } _vp[index].addEventListener("resize", this); _vp[index].addEventListener("close", this); _vp[index].addEventListener("complete", this); _vp[index].addEventListener("cuePoint", this); _vp[index].addEventListener("playheadUpdate", this); _vp[index].addEventListener("progress", this); _vp[index].addEventListener("metadataReceived", this); _vp[index].addEventListener("stateChange", this); _vp[index].addEventListener("ready", this); _vp[index].addEventListener("rewind", this); _cpMgr[index] = new mx.video.CuePointManager(this, index); _cpMgr[index].playheadUpdateInterval = _playheadUpdateInterval; } function createUIManager() { _uiMgr = new mx.video.UIManager(this); _uiMgr.__set__visible(false); if ((_backButton != undefined) && (_backButton != null)) { _uiMgr.setControl(mx.video.UIManager.BACK_BUTTON, _backButton); } if ((_bufferingBar != undefined) && (_bufferingBar != null)) { _uiMgr.setControl(mx.video.UIManager.BUFFERING_BAR, _bufferingBar); } _uiMgr.__set__bufferingBarHidesAndDisablesOthers(_bufferingBarHides); if ((_forwardButton != undefined) && (_forwardButton != null)) { _uiMgr.setControl(mx.video.UIManager.FORWARD_BUTTON, _forwardButton); } if ((_pauseButton != undefined) && (_pauseButton != null)) { _uiMgr.setControl(mx.video.UIManager.PAUSE_BUTTON, _pauseButton); } if ((_playButton != undefined) && (_playButton != null)) { _uiMgr.setControl(mx.video.UIManager.PLAY_BUTTON, _playButton); } if ((_playPauseButton != undefined) && (_playPauseButton != null)) { _uiMgr.setControl(mx.video.UIManager.PLAY_PAUSE_BUTTON, _playPauseButton); } if ((_stopButton != undefined) && (_stopButton != null)) { _uiMgr.setControl(mx.video.UIManager.STOP_BUTTON, _stopButton); } if ((_seekBar != undefined) && (_seekBar != null)) { _uiMgr.setControl(mx.video.UIManager.SEEK_BAR, _seekBar); } if ((_seekBarInterval != undefined) && (_seekBarInterval != null)) { _uiMgr.__set__seekBarInterval(_seekBarInterval); } if ((_seekBarScrubTolerance != undefined) && (_seekBarScrubTolerance != null)) { _uiMgr.__set__seekBarScrubTolerance(_seekBarScrubTolerance); } if ((_skin != undefined) && (_skin != null)) { _uiMgr.__set__skin(_skin); } if ((_skinAutoHide != undefined) && (_skinAutoHide != null)) { _uiMgr.__set__skinAutoHide(_skinAutoHide); } if ((_muteButton != undefined) && (_muteButton != null)) { _uiMgr.setControl(mx.video.UIManager.MUTE_BUTTON, _muteButton); } if ((_volumeBar != undefined) && (_volumeBar != null)) { _uiMgr.setControl(mx.video.UIManager.VOLUME_BAR, _volumeBar); } if ((_volumeBarInterval != undefined) && (_volumeBarInterval != null)) { _uiMgr.__set__volumeBarInterval(_volumeBarInterval); } if ((_volumeBarScrubTolerance != undefined) && (_volumeBarScrubTolerance != null)) { _uiMgr.__set__volumeBarScrubTolerance(_volumeBarScrubTolerance); } } function createLivePreviewMovieClip() { preview_mc = createEmptyMovieClip("preview_mc", 10); preview_mc.createEmptyMovieClip("box_mc", 10); preview_mc.box_mc.beginFill(0); preview_mc.box_mc.moveTo(0, 0); preview_mc.box_mc.lineTo(0, 100); preview_mc.box_mc.lineTo(100, 100); preview_mc.box_mc.lineTo(100, 0); preview_mc.box_mc.lineTo(0, 0); preview_mc.box_mc.endFill(); preview_mc.attachMovie("Icon", "icon_mc", 20); } function doContentPathConnect() { delete _vp[0].onEnterFrame; _vp[0].onEnterFrame = undefined; if (_global.isLivePreview) { return(undefined); } if (_vpState[0].autoPlay && (_firstStreamShown)) { _vp[0].play(_contentPath, _isLive, _totalTime); } else { _vp[0].load(_contentPath, _isLive, _totalTime); } _vpState[0].isLiveSet = false; _vpState[0].totalTimeSet = false; } function showFirstStream() { _firstStreamShown = true; _vp[_visibleVP].visible = true; if (!scrubbing) { _vp[_visibleVP].volume = _volume; } var _local2 = 0; while (_local2 < _vp.length) { if (((_vp[_local2] != undefined) && (_vp[_local2].state == STOPPED)) && (_vpState[_local2].autoPlay)) { _vp[_local2].play(); } _local2++; } } function _scrubStart() { var _local2 = playheadTime; _vp[_visibleVP].volume = 0; dispatchEvent({type:"stateChange", state:SEEKING, playheadTime:_local2, vp:_visibleVP}); dispatchEvent({type:"scrubStart", state:SEEKING, playheadTime:_local2}); } function _scrubFinish() { var _local3 = playheadTime; var _local2 = state; _vp[_visibleVP].volume = _volume; if (_local2 != SEEKING) { dispatchEvent({type:"stateChange", state:_local2, playheadTime:_local3, vp:_visibleVP}); } dispatchEvent({type:"scrubFinish", state:_local2, playheadTime:_local3}); } function skinError(message) { if (_firstStreamReady && (!_firstStreamShown)) { showFirstStream(); } dispatchEvent({type:"skinError", message:message}); } function skinLoaded() { if (_firstStreamReady) { _uiMgr.__set__visible(true); if (!_firstStreamShown) { showFirstStream(); } } else if (((_contentPath == undefined) || (_contentPath == null)) || (_contentPath == "")) { _uiMgr.__set__visible(true); } dispatchEvent({type:"skinLoaded"}); } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; static var DISCONNECTED = "disconnected"; static var STOPPED = "stopped"; static var PLAYING = "playing"; static var PAUSED = "paused"; static var BUFFERING = "buffering"; static var LOADING = "loading"; static var CONNECTION_ERROR = "connectionError"; static var REWINDING = "rewinding"; static var SEEKING = "seeking"; static var ALL = "all"; static var EVENT = "event"; static var NAVIGATION = "navigation"; static var FLV = "flv"; static var ACTIONSCRIPT = "actionscript"; static var VP_DEPTH_OFFSET = 100; static var SEEK_TO_PREV_OFFSET_DEFAULT = 1; }
Symbol 99 MovieClip [__Packages.mx.video.UIManager] Frame 0
class mx.video.UIManager { var _vc, _skin, _skinAutoHide, _skinReady, __visible, _bufferingBarHides, _controlsEnabled, _lastScrubPos, _lastVolumePos, cachedSoundLevel, _isMuted, controls, customClips, skin_mc, skinLoader, layout_mc, border_mc, _seekBarIntervalID, _seekBarInterval, _seekBarScrubTolerance, _volumeBarIntervalID, _volumeBarInterval, _volumeBarScrubTolerance, _bufferingDelayIntervalID, _bufferingDelayInterval, _bufferingOn, _skinAutoHideIntervalID, _progressPercent, placeholderLeft, placeholderRight, placeholderTop, placeholderBottom, videoLeft, videoRight, videoTop, videoBottom, _playAfterScrub; function UIManager (vc) { _vc = vc; _skin = undefined; _skinAutoHide = false; _skinReady = true; __visible = true; _bufferingBarHides = false; _controlsEnabled = true; _lastScrubPos = 0; _lastVolumePos = 0; cachedSoundLevel = _vc.volume; _isMuted = false; controls = new Array(); customClips = undefined; skin_mc = undefined; skinLoader = undefined; layout_mc = undefined; border_mc = undefined; _seekBarIntervalID = 0; _seekBarInterval = SEEK_BAR_INTERVAL_DEFAULT; _seekBarScrubTolerance = SEEK_BAR_SCRUB_TOLERANCE_DEFAULT; _volumeBarIntervalID = 0; _volumeBarInterval = VOLUME_BAR_INTERVAL_DEFAULT; _volumeBarScrubTolerance = VOLUME_BAR_SCRUB_TOLERANCE_DEFAULT; _bufferingDelayIntervalID = 0; _bufferingDelayInterval = BUFFERING_DELAY_INTERVAL_DEFAULT; _bufferingOn = false; _skinAutoHideIntervalID = 0; _vc.addEventListener("metadataReceived", this); _vc.addEventListener("playheadUpdate", this); _vc.addEventListener("progress", this); _vc.addEventListener("stateChange", this); _vc.addEventListener("ready", this); _vc.addEventListener("resize", this); _vc.addEventListener("volumeUpdate", this); } function handleEvent(e) { if ((e.vp != undefined) && (e.vp != _vc.__get__visibleVideoPlayerIndex())) { return(undefined); } var _local9 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); if (e.type == "stateChange") { if (e.state == mx.video.FLVPlayback.BUFFERING) { if (!_bufferingOn) { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = setInterval(this, "doBufferingDelay", _bufferingDelayInterval); } } else { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = 0; _bufferingOn = false; } if (e.state == mx.video.FLVPlayback.LOADING) { _progressPercent = (_vc.getVideoPlayer(e.vp).__get__isRTMP() ? 100 : 0); var _local2 = SEEK_BAR; while (_local2 <= VOLUME_BAR) { var _local4 = controls[_local2]; if (_local4.progress_mc != undefined) { positionBar(_local4, "progress", _progressPercent); } _local2++; } } var _local2 = 0; while (_local2 < NUM_CONTROLS) { if (controls[_local2] == undefined) { } else { setEnabledAndVisibleForState(_local2, e.state); if (_local2 < NUM_BUTTONS) { skinButtonControl(controls[_local2]); } } _local2++; } } else if ((e.type == "ready") || (e.type == "metadataReceived")) { var _local2 = 0; while (_local2 < NUM_CONTROLS) { if (controls[_local2] == undefined) { } else { setEnabledAndVisibleForState(_local2, _vc.__get__state()); if (_local2 < NUM_BUTTONS) { skinButtonControl(controls[_local2]); } } _local2++; } if (_vc.getVideoPlayer(e.vp).__get__isRTMP()) { _progressPercent = 100; _local2 = SEEK_BAR; while (_local2 <= VOLUME_BAR) { var _local4 = controls[_local2]; if (_local4.progress_mc != undefined) { positionBar(_local4, "progress", _progressPercent); } _local2++; } } } else if (e.type == "resize") { layoutSkin(); setupSkinAutoHide(); } else if (e.type == "volumeUpdate") { if (_isMuted && (e.volume > 0)) { _isMuted = false; setEnabledAndVisibleForState(MUTE_OFF_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_OFF_BUTTON]); setEnabledAndVisibleForState(MUTE_ON_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_ON_BUTTON]); } var _local5 = controls[VOLUME_BAR]; _local5.percentage = (_isMuted ? (cachedSoundLevel) : (e.volume)); if (_local5.percentage < 0) { _local5.percentage = 0; } else if (_local5.percentage > 100) { _local5.percentage = 100; } positionHandle(VOLUME_BAR); } else if ((e.type == "playheadUpdate") && (controls[SEEK_BAR] != undefined)) { if ((!_vc.__get__isLive()) && (_vc.__get__totalTime() > 0)) { var _local6 = (e.playheadTime / _vc.__get__totalTime()) * 100; if (_local6 < 0) { _local6 = 0; } else if (_local6 > 100) { _local6 = 100; } var _local10 = controls[SEEK_BAR]; _local10.percentage = _local6; positionHandle(SEEK_BAR); } } else if (e.type == "progress") { _progressPercent = ((e.bytesTotal <= 0) ? 100 : ((e.bytesLoaded / e.bytesTotal) * 100)); var _local7 = _vc._vpState[e.vp].minProgressPercent; if ((!isNaN(_local7)) && (_local7 > _progressPercent)) { _progressPercent = _local7; } if (_vc.__get__totalTime() > 0) { var _local8 = (_vc.__get__playheadTime() / _vc.__get__totalTime()) * 100; if (_local8 > _progressPercent) { _progressPercent = _local8; _vc._vpState[e.vp].minProgressPercent = _progressPercent; } } var _local2 = SEEK_BAR; while (_local2 <= VOLUME_BAR) { var _local4 = controls[_local2]; if (_local4.progress_mc != undefined) { positionBar(_local4, "progress", _progressPercent); } _local2++; } } _vc.__set__activeVideoPlayerIndex(_local9); } function get bufferingBarHidesAndDisablesOthers() { return(_bufferingBarHides); } function set bufferingBarHidesAndDisablesOthers(b) { _bufferingBarHides = b; //return(bufferingBarHidesAndDisablesOthers); } function get controlsEnabled() { return(_controlsEnabled); } function set controlsEnabled(flag) { if (_controlsEnabled == flag) { return; } _controlsEnabled = flag; var _local2 = 0; while (_local2 < NUM_BUTTONS) { if (controls[_local2] == undefined) { } else { controls[_local2].releaseCapture(); controls[_local2].enabled = _controlsEnabled && (controls[_local2].myEnabled); skinButtonControl(controls[_local2]); } _local2++; } //return(controlsEnabled); } function get skin() { return(_skin); } function set skin(s) { if (s == _skin) { return; } if (_skin != undefined) { removeSkin(); } _skin = s; _skinReady = ((_skin == undefined) || (_skin == null)) || (_skin == ""); if (!_skinReady) { downloadSkin(); } //return(skin); } function get skinAutoHide() { return(_skinAutoHide); } function set skinAutoHide(b) { if (b == _skinAutoHide) { return; } _skinAutoHide = b; setupSkinAutoHide(); //return(skinAutoHide); } function get skinReady() { return(_skinReady); } function get seekBarInterval() { return(_seekBarInterval); } function set seekBarInterval(s) { if (_seekBarInterval == s) { return; } _seekBarInterval = s; if (_seekBarIntervalID > 0) { clearInterval(_seekBarIntervalID); _seekBarIntervalID = setInterval(this, "seekBarListener", _seekBarInterval, false); } //return(seekBarInterval); } function get volumeBarInterval() { return(_volumeBarInterval); } function set volumeBarInterval(s) { if (_volumeBarInterval == s) { return; } _volumeBarInterval = s; if (_volumeBarIntervalID > 0) { clearInterval(_volumeBarIntervalID); _volumeBarIntervalID = setInterval(this, "volumeBarListener", _volumeBarInterval, false); } //return(volumeBarInterval); } function get bufferingDelayInterval() { return(_bufferingDelayInterval); } function set bufferingDelayInterval(s) { if (_bufferingDelayInterval == s) { return; } _bufferingDelayInterval = s; if (_bufferingDelayIntervalID > 0) { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = setInterval(this, "doBufferingDelay", _bufferingDelayIntervalID); } //return(bufferingDelayInterval); } function get volumeBarScrubTolerance() { return(_volumeBarScrubTolerance); } function set volumeBarScrubTolerance(s) { _volumeBarScrubTolerance = s; //return(volumeBarScrubTolerance); } function get seekBarScrubTolerance() { return(_seekBarScrubTolerance); } function set seekBarScrubTolerance(s) { _seekBarScrubTolerance = s; //return(seekBarScrubTolerance); } function get visible() { return(__visible); } function set visible(v) { if (__visible == v) { return; } __visible = v; if (!__visible) { skin_mc._visible = false; } else { setupSkinAutoHide(); } //return(visible); } function getControl(index) { return(controls[index]); } function setControl(index, s) { if (s == null) { s = undefined; } if (s == controls[index]) { return(undefined); } switch (index) { case PAUSE_BUTTON : case PLAY_BUTTON : resetPlayPause(); break; case PLAY_PAUSE_BUTTON : if (s._parent != layout_mc) { resetPlayPause(); setControl(PAUSE_BUTTON, s.pause_mc); setControl(PLAY_BUTTON, s.play_mc); } break; case MUTE_BUTTON : if (s._parent == layout_mc) { break; } setControl(MUTE_ON_BUTTON, s.on_mc); setControl(MUTE_OFF_BUTTON, s.off_mc); } if (index >= NUM_BUTTONS) { controls[index] = s; switch (index) { case SEEK_BAR : addBarControl(SEEK_BAR); break; case VOLUME_BAR : addBarControl(VOLUME_BAR); controls[VOLUME_BAR].percentage = _vc.volume; break; case BUFFERING_BAR : controls[BUFFERING_BAR].uiMgr = this; controls[BUFFERING_BAR].controlIndex = BUFFERING_BAR; if (controls[BUFFERING_BAR]._parent == skin_mc) { finishAddBufferingBar(); } else { controls[BUFFERING_BAR].onEnterFrame = function () { this.uiMgr.finishAddBufferingBar(); }; } } setEnabledAndVisibleForState(index, _vc.__get__state()); } else { removeButtonControl(index); controls[index] = s; addButtonControl(index); } } function resetPlayPause() { if (controls[PLAY_PAUSE_BUTTON] == undefined) { return(undefined); } var _local2 = PAUSE_BUTTON; while (_local2 <= PLAY_BUTTON) { removeButtonControl(_local2); _local2++; } controls[PLAY_PAUSE_BUTTON] = undefined; } function addButtonControl(index) { var _local3 = controls[index]; if (_local3 == undefined) { return(undefined); } var _local5 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); _local3.id = index; _local3.state = UP_STATE; _local3.uiMgr = this; setEnabledAndVisibleForState(index, _vc.__get__state()); _local3.onRollOver = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.skinButtonControl(this); }; _local3.onRollOut = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.skinButtonControl(this); }; if ((index == SEEK_BAR_HANDLE) || (index == VOLUME_BAR_HANDLE)) { _local3.onPress = function () { if (_root.focusManager) { this._focusrect = false; Selection.setFocus(this); } this.state = mx.video.UIManager.DOWN_STATE; this.uiMgr.dispatchMessage(this); this.uiMgr.skinButtonControl(this); }; _local3.onRelease = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.handleRelease(this.controlIndex); this.uiMgr.skinButtonControl(this); }; _local3.onReleaseOutside = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.handleRelease(this.controlIndex); this.uiMgr.skinButtonControl(this); }; } else { _local3.onPress = function () { if (_root.focusManager) { this._focusrect = false; Selection.setFocus(this); } this.state = mx.video.UIManager.DOWN_STATE; this.uiMgr.skinButtonControl(this); }; _local3.onRelease = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.dispatchMessage(this); this.uiMgr.skinButtonControl(this); }; _local3.onReleaseOutside = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.skinButtonControl(this); }; } if (_local3._parent == skin_mc) { skinButtonControl(_local3); } else { _local3.onEnterFrame = function () { this.uiMgr.skinButtonControl(this); }; } _vc.__set__activeVideoPlayerIndex(_local5); } function removeButtonControl(index) { if (controls[index] == undefined) { return(undefined); } controls[index].uiMgr = undefined; controls[index].onRollOver = undefined; controls[index].onRollOut = undefined; controls[index].onPress = undefined; controls[index].onRelease = undefined; controls[index].onReleaseOutside = undefined; controls[index] = undefined; } function downloadSkin() { if (skinLoader == undefined) { skinLoader = new MovieClipLoader(); skinLoader.addListener(this); } if (skin_mc == undefined) { skin_mc = _vc.createEmptyMovieClip("skin_mc", _vc.getNextHighestDepth()); } skin_mc._visible = false; skin_mc._x = Stage.width + 100; skin_mc._y = Stage.height + 100; skinLoader.loadClip(_skin, skin_mc); } function onLoadError(target_mc, errorCode) { _skinReady = true; _vc.skinError("Unable to load skin swf"); } function onLoadInit() { try { skin_mc._visible = false; skin_mc._x = 0; skin_mc._y = 0; layout_mc = skin_mc.layout_mc; if (layout_mc == undefined) { throw new Error("No layout_mc"); } layout_mc._visible = false; customClips = new Array(); setCustomClips("bg"); if (layout_mc.playpause_mc != undefined) { setSkin(PLAY_PAUSE_BUTTON, layout_mc.playpause_mc); } else { setSkin(PAUSE_BUTTON, layout_mc.pause_mc); setSkin(PLAY_BUTTON, layout_mc.play_mc); } setSkin(STOP_BUTTON, layout_mc.stop_mc); setSkin(BACK_BUTTON, layout_mc.back_mc); setSkin(FORWARD_BUTTON, layout_mc.forward_mc); setSkin(MUTE_BUTTON, layout_mc.volumeMute_mc); setSkin(SEEK_BAR, layout_mc.seekBar_mc); setSkin(VOLUME_BAR, layout_mc.volumeBar_mc); setSkin(BUFFERING_BAR, layout_mc.bufferingBar_mc); setCustomClips("fg"); layoutSkin(); setupSkinAutoHide(); skin_mc._visible = __visible; _skinReady = true; _vc.skinLoaded(); var _local4 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); var _local3 = _vc.__get__state(); var _local2 = 0; while (_local2 < NUM_CONTROLS) { if (controls[_local2] == undefined) { } else { setEnabledAndVisibleForState(_local2, _local3); if (_local2 < NUM_BUTTONS) { skinButtonControl(controls[_local2]); } } _local2++; } _vc.__set__activeVideoPlayerIndex(_local4); } catch(err:Error) { _vc.skinError(err.message); removeSkin(); } } function layoutSkin() { if (layout_mc == undefined) { return(undefined); } var _local3 = layout_mc.video_mc; if (_local3 == undefined) { throw new Error("No layout_mc.video_mc"); } placeholderLeft = _local3._x; placeholderRight = _local3._x + _local3._width; placeholderTop = _local3._y; placeholderBottom = _local3._y + _local3._height; videoLeft = 0; videoRight = _vc.width; videoTop = 0; videoBottom = _vc.height; if (((!isNaN(layout_mc.minWidth)) && (layout_mc.minWidth > 0)) && (layout_mc.minWidth > videoRight)) { videoLeft = videoLeft - ((layout_mc.minWidth - videoRight) / 2); videoRight = layout_mc.minWidth + videoLeft; } if (((!isNaN(layout_mc.minHeight)) && (layout_mc.minHeight > 0)) && (layout_mc.minHeight > videoBottom)) { videoTop = videoTop - ((layout_mc.minHeight - videoBottom) / 2); videoBottom = layout_mc.minHeight + videoTop; } var _local2; _local2 = 0; while (_local2 < customClips.length) { layoutControl(customClips[_local2]); _local2++; } _local2 = 0; while (_local2 < NUM_CONTROLS) { layoutControl(controls[_local2]); _local2++; } } function layoutControl(ctrl) { if (ctrl == undefined) { return(undefined); } if (ctrl.skin.anchorRight) { if (ctrl.skin.anchorLeft) { ctrl._x = (ctrl.skin._x - placeholderLeft) + videoLeft; ctrl._width = (((ctrl.skin._x + ctrl.skin._width) - placeholderRight) + videoRight) - ctrl._x; if (ctrl.origWidth != undefined) { ctrl.origWidth = undefined; } } else { ctrl._x = (ctrl.skin._x - placeholderRight) + videoRight; } } else { ctrl._x = (ctrl.skin._x - placeholderLeft) + videoLeft; } if (ctrl.skin.anchorTop) { if (ctrl.skin.anchorBottom) { ctrl._y = (ctrl.skin._y - placeholderTop) + videoTop; ctrl._height = (((ctrl.skin._y + ctrl.skin._height) - placeholderBottom) + videoBottom) - ctrl._y; if (ctrl.origHeight != undefined) { ctrl.origHeight = undefined; } } else { ctrl._y = (ctrl.skin._y - placeholderTop) + videoTop; } } else { ctrl._y = (ctrl.skin._y - placeholderBottom) + videoBottom; } switch (ctrl.controlIndex) { case SEEK_BAR : case VOLUME_BAR : if (ctrl.progress_mc != undefined) { if (_progressPercent == undefined) { _progressPercent = (_vc.__get__isRTMP() ? 100 : 0); } positionBar(ctrl, "progress", _progressPercent); } positionHandle(ctrl.controlIndex); break; case BUFFERING_BAR : if (ctrl.fill_mc == undefined) { break; } positionMaskedFill(ctrl, ctrl.fill_mc, 100); } if (ctrl.layoutSelf != undefined) { ctrl.layoutSelf(); } } function removeSkin() { if (skin_mc != undefined) { var _local2 = 0; while (_local2 < NUM_BUTTONS) { removeButtonControl(_local2); _local2++; } _local2 = NUM_BUTTONS; while (_local2 < NUM_CONTROLS) { controls[_local2] = undefined; _local2++; } skin_mc.unloadMovie(); layout_mc = undefined; border_mc = undefined; } } function setCustomClips(prefix) { var _local4 = 1; while (true) { var _local2 = layout_mc[(prefix + (_local4++)) + "_mc"]; if (_local2 == undefined) { break; } var _local3 = _local2.mc; if (_local3 == undefined) { _local3 = _local2._parent._parent[_local2._name]; } if (_local3 == undefined) { throw new Error("Bad clip in skin: " + _local2); } _local3.skin = _local2; customClips.push(_local3); if ((prefix == "bg") && (_local4 == 2)) { border_mc = _local3; } } } function setSkin(index, s) { if (s == undefined) { return(undefined); } var _local2 = s.mc; if (_local2 == undefined) { _local2 = s._parent._parent[s._name]; } if (_local2 == undefined) { throw new Error("Bad clip in skin: " + s); } _local2.skin = s; if (index < NUM_BUTTONS) { setupSkinStates(_local2); } else { switch (index) { case PLAY_PAUSE_BUTTON : setupSkinStates(_local2.play_mc); setupSkinStates(_local2.pause_mc); break; case MUTE_BUTTON : setupSkinStates(_local2.on_mc); setupSkinStates(_local2.off_mc); break; case SEEK_BAR : case VOLUME_BAR : var _local4 = ((index == SEEK_BAR) ? "seekBar" : "volumeBar"); if (_local2.handle_mc == undefined) { _local2.handle_mc = _local2.skin.seekBarHandle_mc; if (_local2.handle_mc == undefined) { _local2.handle_mc = _local2.skin._parent._parent[_local4 + "Handle_mc"]; } } if (_local2.progress_mc == undefined) { _local2.progress_mc = _local2.skin.progress_mc; if (_local2.progress_mc == undefined) { _local2.progress_mc = _local2.skin._parent._parent[_local4 + "Progress_mc"]; } } if (_local2.fullness_mc == undefined) { _local2.fullness_mc = _local2.skin.fullness_mc; if (_local2.fullness_mc == undefined) { _local2.fullness_mc = _local2.skin._parent._parent[_local4 + "Fullness_mc"]; } } break; case BUFFERING_BAR : if (_local2.fill_mc != undefined) { break; } _local2.fill_mc = _local2.skin.fill_mc; if (_local2.fill_mc != undefined) { break; } _local2.fill_mc = _local2.skin._parent._parent.bufferingBarFill_mc; } } setControl(index, _local2); } function setupSkinStates(ctrl) { if (ctrl.up_mc == undefined) { ctrl.up_mc = ctrl; ctrl.over_mc = ctrl; ctrl.down_mc = ctrl; ctrl.disabled_mc = ctrl; } else { ctrl._x = 0; ctrl._y = 0; ctrl.up_mc._x = 0; ctrl.up_mc._y = 0; ctrl.up_mc._visible = true; if (ctrl.over_mc == undefined) { ctrl.over_mc = ctrl.up_mc; } else { ctrl.over_mc._x = 0; ctrl.over_mc._y = 0; ctrl.over_mc._visible = false; } if (ctrl.down_mc == undefined) { ctrl.down_mc = ctrl.up_mc; } else { ctrl.down_mc._x = 0; ctrl.down_mc._y = 0; ctrl.down_mc._visible = false; } if (ctrl.disabled_mc == undefined) { ctrl.disabled_mc_mc = ctrl.up_mc; } else { ctrl.disabled_mc._x = 0; ctrl.disabled_mc._y = 0; ctrl.disabled_mc._visible = false; } } } function skinButtonControl(ctrl) { if (ctrl.onEnterFrame != undefined) { delete ctrl.onEnterFrame; ctrl.onEnterFrame = undefined; } if (ctrl.enabled) { switch (ctrl.state) { case UP_STATE : if (ctrl.up_mc == undefined) { ctrl.up_mc = ctrl.attachMovie(ctrl.upLinkageID, "up_mc", ctrl.getNextHighestDepth()); } applySkinState(ctrl, ctrl.up_mc); break; case OVER_STATE : if (ctrl.over_mc == undefined) { if (ctrl.overLinkageID == undefined) { ctrl.over_mc = ctrl.up_mc; } else { ctrl.over_mc = ctrl.attachMovie(ctrl.overLinkageID, "over_mc", ctrl.getNextHighestDepth()); } } applySkinState(ctrl, ctrl.over_mc); break; case DOWN_STATE : if (ctrl.down_mc == undefined) { if (ctrl.downLinkageID == undefined) { ctrl.down_mc = ctrl.up_mc; } else { ctrl.down_mc = ctrl.attachMovie(ctrl.downLinkageID, "down_mc", ctrl.getNextHighestDepth()); } } applySkinState(ctrl, ctrl.down_mc); } } else { ctrl.state = UP_STATE; if (ctrl.disabled_mc == undefined) { if (ctrl.disabledLinkageID == undefined) { ctrl.disabled_mc = ctrl.up_mc; } else { ctrl.disabled_mc = ctrl.attachMovie(ctrl.disabledLinkageID, "disabled_mc", ctrl.getNextHighestDepth()); } } applySkinState(ctrl, ctrl.disabled_mc); } if (ctrl.placeholder_mc != undefined) { ctrl.placeholder_mc.unloadMovie(); delete ctrl.placeholder_mc; ctrl.placeholder_mc = undefined; } } function applySkinState(ctrl, state) { if (state != ctrl.currentState_mc) { if (state != undefined) { state._visible = true; } if (ctrl.currentState_mc != undefined) { ctrl.currentState_mc._visible = false; } ctrl.currentState_mc = state; } } function addBarControl(controlIndex) { var _local2 = controls[controlIndex]; _local2.isDragging = false; _local2.percentage = 0; _local2.uiMgr = this; _local2.controlIndex = controlIndex; if (_local2._parent == skin_mc) { finishAddBarControl(controlIndex); } else { _local2.onEnterFrame = function () { this.uiMgr.finishAddBarControl(this.controlIndex); }; } } function finishAddBarControl(controlIndex) { var _local2 = controls[controlIndex]; delete _local2.onEnterFrame; _local2.onEnterFrame = undefined; if (_local2.addBarControl != undefined) { _local2.addBarControl(); } calcBarMargins(_local2, "handle", true); calcBarMargins(_local2, "progress", false); calcBarMargins(_local2.progress_mc, "fill", false); calcBarMargins(_local2.progress_mc, "mask", false); calcBarMargins(_local2, "fullness", false); calcBarMargins(_local2.fullness_mc, "fill", false); calcBarMargins(_local2.fullness_mc, "mask", false); _local2.origWidth = _local2._width; _local2.origHeight = _local2._height; fixUpBar(_local2, "progress"); if (_local2.progress_mc != undefined) { fixUpBar(_local2, "progressBarFill"); if (_progressPercent == undefined) { _progressPercent = (_vc.__get__isRTMP() ? 100 : 0); } positionBar(_local2, "progress", _progressPercent); } fixUpBar(_local2, "fullness"); if (_local2.fullness_mc != undefined) { fixUpBar(_local2, "fullnessBarFill"); } fixUpBar(_local2, "handle"); _local2.handle_mc.controlIndex = controlIndex; switch (controlIndex) { case SEEK_BAR : setControl(SEEK_BAR_HANDLE, _local2.handle_mc); break; case VOLUME_BAR : setControl(VOLUME_BAR_HANDLE, _local2.handle_mc); } positionHandle(controlIndex); } function fixUpBar(ctrl, type) { if ((ctrl[type + "LinkageID"] != undefined) && (ctrl[type + "LinkageID"].length > 0)) { var _local1; if (ctrl[type + "Below"]) { _local1 = -1; while (ctrl._parent.getInstanceAtDepth(_local1) != undefined) { _local1--; } } else { ctrl[type + "Below"] = false; _local1 = ctrl._parent.getNextHighestDepth(); } var _local5 = ((ctrl.controlIndex == SEEK_BAR) ? "seekBar" : "volumeBar"); var _local4 = ((_local5 + type.substring(0, 1).toUpperCase()) + type.substring(1)) + "_mc"; ctrl[type + "_mc"] = ctrl._parent.attachMovie(ctrl[type + "LinkageID"], _local4, _local1); } } function calcBarMargins(ctrl, type, symmetricMargins) { var _local2 = ctrl[type + "_mc"]; if (_local2 == undefined) { return(undefined); } if ((ctrl[type + "LeftMargin"] == undefined) && (_local2._parent == ctrl._parent)) { ctrl[type + "LeftMargin"] = _local2._x - ctrl._x; } if (ctrl[type + "RightMargin"] == undefined) { if (symmetricMargins) { ctrl[type + "RightMargin"] = ctrl[type + "LeftMargin"]; } else if (_local2._parent == ctrl._parent) { ctrl[type + "RightMargin"] = ((ctrl._width - _local2._width) - _local2._x) + ctrl._x; } } if ((ctrl[type + "TopMargin"] == undefined) && (_local2._parent == ctrl._parent)) { ctrl[type + "TopMargin"] = _local2._y - ctrl._y; } if (ctrl[type + "BottomMargin"] == undefined) { if (symmetricMargins) { ctrl[type + "BottomMargin"] = ctrl[type + "TopMargin"]; } else if (_local2._parent == ctrl._parent) { ctrl[type + "BottomMargin"] = ((ctrl._height - _local2._height) - _local2._y) + ctrl._y; } } if (ctrl[type + "X"] == undefined) { if (_local2._parent == ctrl._parent) { ctrl[type + "X"] = _local2._x - ctrl._x; } else if (_local2._parent == ctrl) { ctrl[type + "X"] = _local2._x; } } if (ctrl[type + "Y"] == undefined) { if (_local2._parent == ctrl._parent) { ctrl[type + "Y"] = _local2._y - ctrl._y; } else if (_local2._parent == ctrl) { ctrl[type + "Y"] = _local2._y; } } ctrl[type + "XScale"] = _local2._xscale; ctrl[type + "YScale"] = _local2._yscale; ctrl[type + "Width"] = _local2._width; ctrl[type + "Height"] = _local2._height; } function finishAddBufferingBar() { var _local2 = controls[BUFFERING_BAR]; delete _local2.onEnterFrame; _local2.onEnterFrame = undefined; calcBarMargins(_local2, "fill", true); fixUpBar(_local2, "fill"); if (_local2.fill_mc != undefined) { positionMaskedFill(_local2, _local2.fill_mc, 100); } } function positionMaskedFill(ctrl, fill, percent) { var _local5 = fill._parent; var _local3 = ctrl.mask_mc; if (_local3 == undefined) { _local3 = _local5.createEmptyMovieClip(ctrl._name + "Mask_mc", _local5.getNextHighestDepth()); ctrl.mask_mc = _local3; _local3.beginFill(16777215); _local3.lineTo(0, 0); _local3.lineTo(1, 0); _local3.lineTo(1, 1); _local3.lineTo(0, 1); _local3.lineTo(0, 0); _local3.endFill(); fill.setMask(_local3); _local3._x = ctrl.fillX; _local3._y = ctrl.fillY; _local3._width = ctrl.fillWidth; _local3._height = ctrl.fillHeight; _local3._visible = false; calcBarMargins(ctrl, "mask", true); } if (_local5 == ctrl) { if (fill.slideReveal) { fill._x = (ctrl.maskX - ctrl.fillWidth) + ((ctrl.fillWidth * percent) / 100); } else { _local3._width = (ctrl.fillWidth * percent) / 100; } } else if (_local5 == ctrl._parent) { if (fill.slideReveal) { _local3._x = ctrl._x + ctrl.maskLeftMargin; _local3._y = ctrl._y + ctrl.maskTopMargin; _local3._width = (ctrl._width - ctrl.maskRightMargin) - ctrl.maskLeftMargin; _local3._height = (ctrl._height - ctrl.maskTopMargin) - ctrl.maskBottomMargin; fill._x = (_local3._x - ctrl.fillWidth) + ((ctrl.maskWidth * percent) / 100); fill._y = ctrl._y + ctrl.fillTopMargin; } else { fill._x = ctrl._x + ctrl.fillLeftMargin; fill._y = ctrl._y + ctrl.fillTopMargin; _local3._x = fill._x; _local3._y = fill._y; _local3._width = (((ctrl._width - ctrl.fillRightMargin) - ctrl.fillLeftMargin) * percent) / 100; _local3._height = (ctrl._height - ctrl.fillTopMargin) - ctrl.fillBottomMargin; } } } function startHandleDrag(controlIndex) { var _local2 = controls[controlIndex]; var _local5 = _local2.handle_mc; if ((_local2.startHandleDrag == undefined) || (!_local2.startHandleDrag())) { var _local3 = _local2._y + _local2.handleY; var _local4 = ((_local2.origWidth == undefined) ? (_local2._width) : (_local2.origWidth)); _local5.startDrag(false, _local2._x + _local2.handleLeftMargin, _local3, (_local2._x + _local4) - _local2.handleRightMargin, _local3); } _local2.isDragging = true; } function stopHandleDrag(controlIndex) { var _local2 = controls[controlIndex]; var _local3 = _local2.handle_mc; if ((_local2.stopHandleDrag == undefined) || (!_local2.stopHandleDrag())) { _local3.stopDrag(); } _local2.isDragging = false; } function positionHandle(controlIndex) { var _local2 = controls[controlIndex]; var _local3 = _local2.handle_mc; if (_local3 == undefined) { return(undefined); } if ((_local2.positionHandle != undefined) && (_local2.positionHandle())) { return(undefined); } var _local4 = ((_local2.origWidth == undefined) ? (_local2._width) : (_local2.origWidth)); var _local5 = (_local4 - _local2.handleRightMargin) - _local2.handleLeftMargin; _local3._x = (_local2._x + _local2.handleLeftMargin) + ((_local5 * _local2.percentage) / 100); _local3._y = _local2._y + _local2.handleY; if (_local2.fullness_mc != undefined) { positionBar(_local2, "fullness", _local2.percentage); } } function positionBar(ctrl, type, percent) { if ((ctrl.positionBar != undefined) && (ctrl.positionBar(type, percent))) { return(undefined); } var _local2 = ctrl[type + "_mc"]; if (_local2._parent == ctrl) { if (_local2.fill_mc == undefined) { _local2._xscale = (ctrl[type + "XScale"] * percent) / 100; } else { positionMaskedFill(_local2, _local2.fill_mc, percent); } } else { _local2._x = ctrl._x + ctrl[type + "LeftMargin"]; _local2._y = ctrl._y + ctrl[type + "Y"]; if (_local2.fill_mc == undefined) { _local2._width = (((ctrl._width - ctrl[type + "LeftMargin"]) - ctrl[type + "RightMargin"]) * percent) / 100; } else { positionMaskedFill(_local2, _local2.fill_mc, percent); } } } function calcPercentageFromHandle(controlIndex) { var _local2 = controls[controlIndex]; var _local5 = _local2.handle_mc; if ((_local2.calcPercentageFromHandle == undefined) || (!_local2.calcPercentageFromHandle())) { var _local3 = ((_local2.origWidth == undefined) ? (_local2._width) : (_local2.origWidth)); var _local6 = (_local3 - _local2.handleRightMargin) - _local2.handleLeftMargin; var _local4 = _local5._x - (_local2._x + _local2.handleLeftMargin); _local2.percentage = (_local4 / _local6) * 100; if (_local2.fullness_mc != undefined) { positionBar(_local2, "fullness", _local2.percentage); } } if (_local2.percentage < 0) { _local2.percentage = 0; } if (_local2.percentage > 100) { _local2.percentage = 100; } } function handleRelease(controlIndex) { var _local3 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); if (controlIndex == SEEK_BAR) { seekBarListener(true); } else if (controlIndex == VOLUME_BAR) { volumeBarListener(true); } stopHandleDrag(controlIndex); _vc.__set__activeVideoPlayerIndex(_local3); if (controlIndex == SEEK_BAR) { _vc._scrubFinish(); } } function seekBarListener(finish) { var _local3 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); var _local4 = controls[SEEK_BAR]; calcPercentageFromHandle(SEEK_BAR); var _local2 = _local4.percentage; if (finish) { clearInterval(_seekBarIntervalID); _seekBarIntervalID = 0; if (_local2 != _lastScrubPos) { _vc.seekPercent(_local2); } _vc.addEventListener("playheadUpdate", this); if (_playAfterScrub) { _vc.play(); } } else if (_vc.getVideoPlayer(_vc.__get__visibleVideoPlayerIndex()).__get__state() == mx.video.VideoPlayer.SEEKING) { } else if ((((_seekBarScrubTolerance <= 0) || (Math.abs(_local2 - _lastScrubPos) > _seekBarScrubTolerance)) || (_local2 < _seekBarScrubTolerance)) || (_local2 > (100 - _seekBarScrubTolerance))) { if (_local2 != _lastScrubPos) { _lastScrubPos = _local2; _vc.seekPercent(_local2); } } _vc.__set__activeVideoPlayerIndex(_local3); } function volumeBarListener(finish) { var _local3 = controls[VOLUME_BAR]; calcPercentageFromHandle(VOLUME_BAR); var _local2 = _local3.percentage; if (finish) { clearInterval(_volumeBarIntervalID); _volumeBarIntervalID = 0; _vc.addEventListener("volumeUpdate", this); } if ((((finish || (_volumeBarScrubTolerance <= 0)) || (Math.abs(_local2 - _lastVolumePos) > _volumeBarScrubTolerance)) || (_local2 < _volumeBarScrubTolerance)) || (_local2 > (100 - _volumeBarScrubTolerance))) { if (_local2 != _lastVolumePos) { if (_isMuted) { cachedSoundLevel = _local2; } else { _vc.__set__volume(_local2); } } } } function doBufferingDelay() { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = 0; var _local2 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); if (_vc.__get__state() == mx.video.FLVPlayback.BUFFERING) { _bufferingOn = true; handleEvent({type:"stateChange", state:mx.video.FLVPlayback.BUFFERING, vp:_vc.__get__visibleVideoPlayerIndex()}); } _vc.__set__activeVideoPlayerIndex(_local2); } function dispatchMessage(ctrl) { if (ctrl.id == SEEK_BAR_HANDLE) { _vc._scrubStart(); } var _local2 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); switch (ctrl.id) { case PAUSE_BUTTON : _vc.pause(); break; case PLAY_BUTTON : _vc.play(); break; case STOP_BUTTON : _vc.stop(); break; case SEEK_BAR_HANDLE : calcPercentageFromHandle(SEEK_BAR); _lastScrubPos = controls[SEEK_BAR].percentage; _vc.removeEventListener("playheadUpdate", this); if (_vc.__get__playing() || (_vc.__get__buffering())) { _playAfterScrub = true; } else if (_vc.__get__state() != mx.video.VideoPlayer.SEEKING) { _playAfterScrub = false; } _seekBarIntervalID = setInterval(this, "seekBarListener", _seekBarInterval, false); startHandleDrag(SEEK_BAR, SEEK_BAR_HANDLE); _vc.pause(); break; case VOLUME_BAR_HANDLE : calcPercentageFromHandle(VOLUME_BAR); _lastVolumePos = controls[VOLUME_BAR].percentage; _vc.removeEventListener("volumeUpdate", this); _volumeBarIntervalID = setInterval(this, "volumeBarListener", _volumeBarInterval, false); startHandleDrag(VOLUME_BAR, VOLUME_BAR_HANDLE); break; case BACK_BUTTON : _vc.seekToPrevNavCuePoint(); break; case FORWARD_BUTTON : _vc.seekToNextNavCuePoint(); break; case MUTE_ON_BUTTON : case MUTE_OFF_BUTTON : if (!_isMuted) { _isMuted = true; cachedSoundLevel = _vc.volume; _vc.__set__volume(0); } else { _isMuted = false; _vc.__set__volume(cachedSoundLevel); } setEnabledAndVisibleForState(MUTE_OFF_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_OFF_BUTTON]); setEnabledAndVisibleForState(MUTE_ON_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_ON_BUTTON]); break; default : throw new Error("Unknown ButtonControl"); } _vc.__set__activeVideoPlayerIndex(_local2); } function setEnabledAndVisibleForState(index, state) { var _local5 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); var _local3 = state; if ((_local3 == mx.video.FLVPlayback.BUFFERING) && (!_bufferingOn)) { _local3 = mx.video.FLVPlayback.PLAYING; } switch (index) { case VOLUME_BAR : case VOLUME_BAR_HANDLE : controls[index].myEnabled = true; controls[index].enabled = _controlsEnabled; break; case MUTE_ON_BUTTON : controls[index].myEnabled = !_isMuted; if (controls[MUTE_BUTTON] != undefined) { controls[index]._visible = controls[index].myEnabled; } break; case MUTE_OFF_BUTTON : controls[index].myEnabled = _isMuted; if (controls[MUTE_BUTTON] != undefined) { controls[index]._visible = controls[index].myEnabled; } break; default : switch (_local3) { case mx.video.FLVPlayback.LOADING : case mx.video.FLVPlayback.CONNECTION_ERROR : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.DISCONNECTED : controls[index].myEnabled = _vc.__get__contentPath() != undefined; break; case mx.video.FLVPlayback.SEEKING : break; default : controls[index].myEnabled = true; } } switch (index) { case SEEK_BAR : switch (_local3) { case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PLAYING : case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.REWINDING : case mx.video.FLVPlayback.SEEKING : controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); break; default : controls[index].myEnabled = false; } if (controls[index].myEnabled) { controls[index].myEnabled = (!isNaN(_vc.__get__totalTime())) && (_vc.__get__totalTime() > 0); } controls[index].handle_mc.myEnabled = controls[index].myEnabled; controls[index].handle_mc.enabled = controls[index].handle_mc.myEnabled; controls[index].handle_mc._visible = controls[index].myEnabled; var _local4 = (((!_bufferingBarHides) || (controls[index].myEnabled)) || (controls[BUFFERING_BAR] == undefined)) || (!controls[BUFFERING_BAR]._visible); controls[index]._visible = _local4; controls[index].progress_mc._visible = _local4; controls[index].progress_mc.fill_mc._visible = _local4; controls[index].fullness_mc._visible = _local4; controls[index].progress_mc.fill_mc._visible = _local4; break; case BUFFERING_BAR : switch (_local3) { case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PLAYING : case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.REWINDING : case mx.video.FLVPlayback.SEEKING : controls[index].myEnabled = false; break; default : controls[index].myEnabled = true; } controls[index]._visible = controls[index].myEnabled; controls[index].fill_mc._visible = controls[index].myEnabled; break; case PAUSE_BUTTON : switch (_local3) { case mx.video.FLVPlayback.DISCONNECTED : case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.REWINDING : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.PLAYING : controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); } if (controls[PLAY_PAUSE_BUTTON] != undefined) { controls[index]._visible = controls[index].myEnabled; } break; case PLAY_BUTTON : switch (_local3) { case mx.video.FLVPlayback.PLAYING : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PAUSED : controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); } if (controls[PLAY_PAUSE_BUTTON] != undefined) { controls[index]._visible = !controls[PAUSE_BUTTON]._visible; } break; case STOP_BUTTON : switch (_local3) { case mx.video.FLVPlayback.DISCONNECTED : case mx.video.FLVPlayback.STOPPED : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.PLAYING : case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = true; } break; case BACK_BUTTON : case FORWARD_BUTTON : if (!(_local3 === mx.video.FLVPlayback.BUFFERING)) { } else { controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); } } controls[index].enabled = _controlsEnabled && (controls[index].myEnabled); _vc.__set__activeVideoPlayerIndex(_local5); } function setupSkinAutoHide() { var _local2 = _vc.getVideoPlayer(_vc.__get__visibleVideoPlayerIndex()); if (_skinAutoHide && (skin_mc != undefined)) { skinAutoHideHitTest(); if (_skinAutoHideIntervalID == 0) { _skinAutoHideIntervalID = setInterval(this, "skinAutoHideHitTest", SKIN_AUTO_HIDE_INTERVAL); } } else { skin_mc._visible = __visible; clearInterval(_skinAutoHideIntervalID); _skinAutoHideIntervalID = 0; } } function skinAutoHideHitTest() { if (!__visible) { skin_mc._visible = false; } else { var _local4 = _vc.getVideoPlayer(_vc.__get__visibleVideoPlayerIndex()); var _local3 = _local4.hitTest(_root._xmouse, _root._ymouse, true); if ((!_local3) && (border_mc != undefined)) { _local3 = border_mc.hitTest(_root._xmouse, _root._ymouse, true); } skin_mc._visible = _local3; } } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; static var PAUSE_BUTTON = 0; static var PLAY_BUTTON = 1; static var STOP_BUTTON = 2; static var SEEK_BAR_HANDLE = 3; static var BACK_BUTTON = 4; static var FORWARD_BUTTON = 5; static var MUTE_ON_BUTTON = 6; static var MUTE_OFF_BUTTON = 7; static var VOLUME_BAR_HANDLE = 8; static var NUM_BUTTONS = 9; static var PLAY_PAUSE_BUTTON = 9; static var MUTE_BUTTON = 10; static var BUFFERING_BAR = 11; static var SEEK_BAR = 12; static var VOLUME_BAR = 13; static var NUM_CONTROLS = 14; static var UP_STATE = 0; static var OVER_STATE = 1; static var DOWN_STATE = 2; static var SKIN_AUTO_HIDE_INTERVAL = 200; static var VOLUME_BAR_INTERVAL_DEFAULT = 250; static var VOLUME_BAR_SCRUB_TOLERANCE_DEFAULT = 0; static var SEEK_BAR_INTERVAL_DEFAULT = 250; static var SEEK_BAR_SCRUB_TOLERANCE_DEFAULT = 5; static var BUFFERING_DELAY_INTERVAL_DEFAULT = 1000; }
Symbol 95 MovieClip [__Packages.mx.video.VideoPlayer] Frame 0
class mx.video.VideoPlayer extends MovieClip { var _state, _cachedState, _bufferState, _sawPlayStop, _cachedPlayheadTime, _metadata, _startingPlay, _invalidSeekTime, _invalidSeekRecovery, _currentPos, _atEnd, _cmdQueue, _readyDispatched, _autoResizeDone, _lastUpdateTime, _sawSeekNotify, _updateTimeIntervalID, _updateTimeInterval, _updateProgressIntervalID, _updateProgressInterval, _idleTimeoutIntervalID, _idleTimeoutInterval, _autoResizeIntervalID, _rtmpDoStopAtEndIntervalID, _rtmpDoSeekIntervalID, _httpDoSeekIntervalID, _httpDoSeekCount, _finishAutoResizeIntervalID, _delayedBufferingIntervalID, _delayedBufferingInterval, _isLive, _autoSize, _aspectRatio, _autoPlay, _autoRewind, _bufferTime, _volume, _sound, __visible, _hiddenForResize, _hiddenForResizeMetadataDelay, _contentPath, _video, _ncMgr, _ns, attachAudio, _prevVideoWidth, _prevVideoHeight, _streamLength, _videoWidth, _videoHeight, dispatchEvent, _x, _y, _visible, _hiddenRewindPlayheadTime, ncMgrClassName, _height, _width; function VideoPlayer () { super(); mx.events.EventDispatcher.initialize(this); _state = DISCONNECTED; _cachedState = _state; _bufferState = BUFFER_EMPTY; _sawPlayStop = false; _cachedPlayheadTime = 0; _metadata = null; _startingPlay = false; _invalidSeekTime = false; _invalidSeekRecovery = false; _currentPos = 0; _atEnd = false; _cmdQueue = new Array(); _readyDispatched = false; _autoResizeDone = false; _lastUpdateTime = -1; _sawSeekNotify = false; _updateTimeIntervalID = 0; _updateTimeInterval = DEFAULT_UPDATE_TIME_INTERVAL; _updateProgressIntervalID = 0; _updateProgressInterval = DEFAULT_UPDATE_PROGRESS_INTERVAL; _idleTimeoutIntervalID = 0; _idleTimeoutInterval = DEFAULT_IDLE_TIMEOUT_INTERVAL; _autoResizeIntervalID = 0; _rtmpDoStopAtEndIntervalID = 0; _rtmpDoSeekIntervalID = 0; _httpDoSeekIntervalID = 0; _httpDoSeekCount = 0; _finishAutoResizeIntervalID = 0; _delayedBufferingIntervalID = 0; _delayedBufferingInterval = HTTP_DELAYED_BUFFERING_INTERVAL; if (_isLive == undefined) { _isLive = false; } if (_autoSize == undefined) { _autoSize = false; } if (_aspectRatio == undefined) { _aspectRatio = true; } if (_autoPlay == undefined) { _autoPlay = true; } if (_autoRewind == undefined) { _autoRewind = true; } if (_bufferTime == undefined) { _bufferTime = 0.1; } if (_volume == undefined) { _volume = 100; } _sound = new Sound(this); _sound.setVolume(_volume); __visible = true; _hiddenForResize = false; _hiddenForResizeMetadataDelay = 0; _contentPath = ""; } function setSize(w, h) { if (((w == _video._width) && (h == _video._height)) || (_autoSize)) { return(undefined); } _video._width = w; _video._height = h; if (_aspectRatio) { startAutoResize(); } } function setScale(xs, ys) { if (((xs == _video._xscale) && (ys == _video._yscale)) || (_autoSize)) { return(undefined); } _video._xscale = xs; _video._yscale = ys; if (_aspectRatio) { startAutoResize(); } } function play(url, isLive, totalTime) { if ((url != null) && (url != undefined)) { if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(PLAY, url, isLive, totalTime); return(undefined); } execQueuedCmds(); } _autoPlay = true; _load(url, isLive, totalTime); return(undefined); } if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } flushQueuedCmds(); queueCmd(PLAY); setState(LOADING); _cachedState = LOADING; _ncMgr.reconnect(); return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(PLAY); return(undefined); } execQueuedCmds(); } if ((_ns == null) || (_ns == undefined)) { _createStream(); _video.attachVideo(_ns); attachAudio(_ns); } switch (_state) { case BUFFERING : if (_ncMgr.isRTMP()) { _play(0); if (_atEnd) { _atEnd = false; _currentPos = 0; setState(REWINDING); } else if (_currentPos > 0) { _seek(_currentPos); _currentPos = 0; } } case PLAYING : return(undefined); case STOPPED : if (_ncMgr.isRTMP()) { if (_isLive) { _play(-1); setState(BUFFERING); } else { _play(0); if (_atEnd) { _atEnd = false; _currentPos = 0; _state = BUFFERING; setState(REWINDING); } else if (_currentPos > 0) { _seek(_currentPos); _currentPos = 0; setState(BUFFERING); } else { setState(BUFFERING); } } } else { _pause(false); if (_atEnd) { _atEnd = false; _seek(0); _state = BUFFERING; setState(REWINDING); } else if (_bufferState == BUFFER_EMPTY) { setState(BUFFERING); } else { setState(PLAYING); } } break; case PAUSED : _pause(false); if (!_ncMgr.isRTMP()) { if (_bufferState == BUFFER_EMPTY) { setState(BUFFERING); } else { setState(PLAYING); } } else { setState(BUFFERING); } } } function load(url, isLive, totalTime) { if ((url == null) || (url == undefined)) { throw new Error("null url sent to VideoPlayer.load"); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(LOAD, url, isLive, totalTime); return(undefined); } execQueuedCmds(); } _autoPlay = false; _load(url, isLive, totalTime); } function _load(url, isLive, totalTime) { _prevVideoWidth = videoWidth; if (_prevVideoWidth == undefined) { _prevVideoWidth = _video.width; if (_prevVideoWidth == undefined) { _prevVideoWidth = 0; } } _prevVideoHeight = videoHeight; if (_prevVideoHeight == undefined) { _prevVideoHeight = _video.height; if (_prevVideoHeight == undefined) { _prevVideoHeight = 0; } } _autoResizeDone = false; _cachedPlayheadTime = 0; _bufferState = BUFFER_EMPTY; _sawPlayStop = false; _metadata = null; _startingPlay = false; _invalidSeekTime = false; _invalidSeekRecovery = false; _isLive = ((isLive == undefined) ? false : (isLive)); _contentPath = url; _currentPos = 0; _streamLength = totalTime; _atEnd = false; _videoWidth = undefined; _videoHeight = undefined; _readyDispatched = false; _lastUpdateTime = -1; _sawSeekNotify = false; clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = 0; clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = 0; clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = 0; clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = 0; clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; clearInterval(_httpDoSeekIntervalID); _httpDoSeekIntervalID = 0; clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = 0; clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; closeNS(false); if ((_ncMgr == null) || (_ncMgr == undefined)) { createINCManager(); } var _local2 = _ncMgr.connectToURL(_contentPath); setState(LOADING); _cachedState = LOADING; if (_local2) { _createStream(); _setUpStream(); } if (!_ncMgr.isRTMP()) { clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = setInterval(this, "doUpdateProgress", _updateProgressInterval); } } function pause() { if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(PAUSE); return(undefined); } execQueuedCmds(); } if ((((_state == PAUSED) || (_state == STOPPED)) || (_ns == null)) || (_ns == undefined)) { return(undefined); } _pause(true); setState(PAUSED); } function stop() { if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(STOP); return(undefined); } execQueuedCmds(); } if (((_state == STOPPED) || (_ns == null)) || (_ns == undefined)) { return(undefined); } if (_ncMgr.isRTMP()) { if (_autoRewind && (!_isLive)) { _currentPos = 0; _play(0, 0); _state = STOPPED; setState(REWINDING); } else { closeNS(true); setState(STOPPED); } } else { _pause(true); if (_autoRewind) { _seek(0); _state = STOPPED; setState(REWINDING); } else { setState(STOPPED); } } } function seek(time) { if (_invalidSeekTime) { return(undefined); } if (isNaN(time) || (time < 0)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } flushQueuedCmds(); queueCmd(SEEK, null, false, time); setState(LOADING); _cachedState = LOADING; _ncMgr.reconnect(); return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(SEEK, null, false, time); return(undefined); } execQueuedCmds(); } if ((_ns == null) || (_ns == undefined)) { _createStream(); _video.attachVideo(_ns); attachAudio(_ns); } if (_atEnd && (time < playheadTime)) { _atEnd = false; } switch (_state) { case PLAYING : _state = BUFFERING; case BUFFERING : case PAUSED : _seek(time); setState(SEEKING); break; case STOPPED : if (_ncMgr.isRTMP()) { _play(0); _pause(true); } _seek(time); _state = PAUSED; setState(SEEKING); } } function close() { closeNS(true); if (((_ncMgr != null) && (_ncMgr != undefined)) && (_ncMgr.isRTMP())) { _ncMgr.close(); } setState(DISCONNECTED); dispatchEvent({type:"close", state:_state, playheadTime:playheadTime}); } function get x() { return(_x); } function set x(xpos) { _x = xpos; //return(x); } function get y() { return(_y); } function set y(ypos) { _y = ypos; //return(y); } function get scaleX() { return(_video._xscale); } function set scaleX(xs) { setScale(xs, scaleY); //return(scaleX); } function get scaleY() { return(_video._yscale); } function set scaleY(ys) { setScale(scaleX, ys); //return(scaleY); } function get width() { return(_video._width); } function set width(w) { setSize(w, _video._height); //return(width); } function get height() { return(_video._height); } function set height(h) { setSize(_video._width, h); //return(height); } function get videoWidth() { if (_readyDispatched) { _videoWidth = _video.width; } return(_videoWidth); } function get videoHeight() { if (_readyDispatched) { _videoHeight = _video.height; } return(_videoHeight); } function get visible() { if (!_hiddenForResize) { __visible = _visible; } return(__visible); } function set visible(v) { __visible = v; if (!_hiddenForResize) { _visible = __visible; } //return(visible); } function get autoSize() { return(_autoSize); } function set autoSize(flag) { if (_autoSize != flag) { _autoSize = flag; if (_autoSize) { startAutoResize(); } } //return(autoSize); } function get maintainAspectRatio() { return(_aspectRatio); } function set maintainAspectRatio(flag) { if (_aspectRatio != flag) { _aspectRatio = flag; if (_aspectRatio && (!_autoSize)) { startAutoResize(); } } //return(maintainAspectRatio); } function get autoRewind() { return(_autoRewind); } function set autoRewind(flag) { _autoRewind = flag; //return(autoRewind); } function get playheadTime() { var _local2 = (((_ns == null) || (_ns == undefined)) ? (_currentPos) : (_ns.time)); if (_metadata.audiodelay != undefined) { _local2 = _local2 - _metadata.audiodelay; if (_local2 < 0) { _local2 = 0; } } return(_local2); } function set playheadTime(position) { seek(position); //return(playheadTime); } function get url() { return(_contentPath); } function get volume() { return(_volume); } function set volume(aVol) { _volume = aVol; if (!_hiddenForResize) { _sound.setVolume(_volume); } //return(volume); } function get transform() { return(_sound.getTransform()); } function set transform(s) { _sound.setTransform(s); //return(transform); } function get isRTMP() { if ((_ncMgr == null) || (_ncMgr == undefined)) { return(undefined); } return(_ncMgr.isRTMP()); } function get isLive() { return(_isLive); } function get state() { return(_state); } function get stateResponsive() { switch (_state) { case DISCONNECTED : case STOPPED : case PLAYING : case PAUSED : case BUFFERING : return(true); } return(false); } function get bytesLoaded() { if (((_ns == null) || (_ns == undefined)) || (_ncMgr.isRTMP())) { return(-1); } return(_ns.bytesLoaded); } function get bytesTotal() { if (((_ns == null) || (_ns == undefined)) || (_ncMgr.isRTMP())) { return(-1); } return(_ns.bytesTotal); } function get totalTime() { return(_streamLength); } function get bufferTime() { return(_bufferTime); } function set bufferTime(aTime) { _bufferTime = aTime; if ((_ns != null) && (_ns != undefined)) { _ns.setBufferTime(_bufferTime); } //return(bufferTime); } function get idleTimeout() { return(_idleTimeoutInterval); } function set idleTimeout(aTime) { _idleTimeoutInterval = aTime; if (_idleTimeoutIntervalID > 0) { clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = setInterval(this, "doIdleTimeout", _idleTimeoutInterval); } //return(idleTimeout); } function get playheadUpdateInterval() { return(_updateTimeInterval); } function set playheadUpdateInterval(aTime) { _updateTimeInterval = aTime; if (_updateTimeIntervalID > 0) { clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = setInterval(this, "doUpdateTime", _updateTimeInterval); } //return(playheadUpdateInterval); } function get progressInterval() { return(_updateProgressInterval); } function set progressInterval(aTime) { _updateProgressInterval = aTime; if (_updateProgressIntervalID > 0) { clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = setInterval(this, "doUpdateProgress", _updateProgressInterval); } //return(progressInterval); } function get ncMgr() { if ((_ncMgr == null) || (_ncMgr == undefined)) { createINCManager(); } return(_ncMgr); } function get metadata() { return(_metadata); } function doUpdateTime() { var _local2 = playheadTime; switch (_state) { case STOPPED : case PAUSED : case DISCONNECTED : case CONNECTION_ERROR : clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = 0; } if (_lastUpdateTime != _local2) { dispatchEvent({type:"playheadUpdate", state:_state, playheadTime:_local2}); _lastUpdateTime = _local2; } } function doUpdateProgress() { if ((_ns == null) || (_ns == undefined)) { return(undefined); } if ((_ns.bytesTotal >= 0) && (_ns.bytesTotal >= 0)) { dispatchEvent({type:"progress", bytesLoaded:_ns.bytesLoaded, bytesTotal:_ns.bytesTotal}); } if (((_state == DISCONNECTED) || (_state == CONNECTION_ERROR)) || (_ns.bytesLoaded == _ns.bytesTotal)) { clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = 0; } } function rtmpOnStatus(info) { if (_state == CONNECTION_ERROR) { return(undefined); } switch (info.code) { case "NetStream.Play.Stop" : if (_startingPlay) { return(undefined); } switch (_state) { case RESIZING : if (_hiddenForResize) { finishAutoResize(); } break; case LOADING : case STOPPED : case PAUSED : break; default : _sawPlayStop = true; } break; case "NetStream.Buffer.Empty" : if (!(_bufferState === BUFFER_FULL)) { } else if (_sawPlayStop) { rtmpDoStopAtEnd(true); } else if (_state == PLAYING) { setState(BUFFERING); } _bufferState = BUFFER_EMPTY; _sawPlayStop = false; break; case "NetStream.Buffer.Flush" : if (_sawSeekNotify && (_state == SEEKING)) { _bufferState = BUFFER_EMPTY; _sawPlayStop = false; setStateFromCachedState(); doUpdateTime(); } if (_sawPlayStop && ((_bufferState == BUFFER_EMPTY) || ((_bufferTime <= 0.1) && (_ns.bufferLength <= 0.1)))) { _cachedPlayheadTime = playheadTime; clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = setInterval(this, "rtmpDoStopAtEnd", RTMP_DO_STOP_AT_END_INTERVAL); } switch (_bufferState) { case BUFFER_EMPTY : if (!_hiddenForResize) { if (((_state == LOADING) && (_cachedState == PLAYING)) || (_state == BUFFERING)) { setState(PLAYING); } else if (_cachedState == BUFFERING) { _cachedState = PLAYING; } } _bufferState = BUFFER_FLUSH; break; default : if (_state != BUFFERING) { break; } setStateFromCachedState(); } break; case "NetStream.Buffer.Full" : if (_sawSeekNotify && (_state == SEEKING)) { _bufferState = BUFFER_EMPTY; _sawPlayStop = false; setStateFromCachedState(); doUpdateTime(); } switch (_bufferState) { case BUFFER_EMPTY : _bufferState = BUFFER_FULL; if (!_hiddenForResize) { if (((_state == LOADING) && (_cachedState == PLAYING)) || (_state == BUFFERING)) { setState(PLAYING); } else if (_cachedState == BUFFERING) { _cachedState = PLAYING; } if (_rtmpDoStopAtEndIntervalID != 0) { _sawPlayStop = true; clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; } } break; case BUFFER_FLUSH : _bufferState = BUFFER_FULL; if (_rtmpDoStopAtEndIntervalID == 0) { break; } _sawPlayStop = true; clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; } if (_state == BUFFERING) { setStateFromCachedState(); } break; case "NetStream.Pause.Notify" : if ((_state == RESIZING) && (_hiddenForResize)) { finishAutoResize(); } break; case "NetStream.Unpause.Notify" : if (_state == PAUSED) { _state = PLAYING; setState(BUFFERING); } else { _cachedState = PLAYING; } break; case "NetStream.Play.Start" : clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; _bufferState = BUFFER_EMPTY; _sawPlayStop = false; if (_startingPlay) { _startingPlay = false; _cachedPlayheadTime = playheadTime; } else if (_state == PLAYING) { setState(BUFFERING); } break; case "NetStream.Play.Reset" : clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; if (_state == REWINDING) { clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; if ((playheadTime == 0) || (playheadTime < _cachedPlayheadTime)) { setStateFromCachedState(); } else { _cachedPlayheadTime = playheadTime; _rtmpDoSeekIntervalID = setInterval(this, "rtmpDoSeek", RTMP_DO_SEEK_INTERVAL); } } break; case "NetStream.Seek.Notify" : if (playheadTime != _cachedPlayheadTime) { setStateFromCachedState(); doUpdateTime(); } else { _sawSeekNotify = true; if (_rtmpDoSeekIntervalID == 0) { _rtmpDoSeekIntervalID = setInterval(this, "rtmpDoSeek", RTMP_DO_SEEK_INTERVAL); } } break; case "Netstream.Play.UnpublishNotify" : break; case "Netstream.Play.PublishNotify" : break; case "NetStream.Play.StreamNotFound" : if (!_ncMgr.connectAgain()) { setState(CONNECTION_ERROR); } break; case "NetStream.Play.Failed" : case "NetStream.Failed" : setState(CONNECTION_ERROR); } } function httpOnStatus(info) { switch (info.code) { case "NetStream.Play.Stop" : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; if (_invalidSeekTime) { _invalidSeekTime = false; _invalidSeekRecovery = true; setState(_cachedState); seek(playheadTime); } else { switch (_state) { case PLAYING : case BUFFERING : case SEEKING : httpDoStopAtEnd(); } } break; case "NetStream.Seek.InvalidTime" : if (_invalidSeekRecovery) { _invalidSeekTime = false; _invalidSeekRecovery = false; setState(_cachedState); seek(0); } else { _invalidSeekTime = true; } break; case "NetStream.Buffer.Empty" : _bufferState = BUFFER_EMPTY; if (_state == PLAYING) { clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = setInterval(this, "doDelayedBuffering", _delayedBufferingInterval); } break; case "NetStream.Buffer.Full" : case "NetStream.Buffer.Flush" : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; _bufferState = BUFFER_FULL; if (!_hiddenForResize) { if (((_state == LOADING) && (_cachedState == PLAYING)) || (_state == BUFFERING)) { setState(PLAYING); } else if (_cachedState == BUFFERING) { _cachedState = PLAYING; } } break; case "NetStream.Seek.Notify" : _invalidSeekRecovery = false; switch (_state) { case SEEKING : case REWINDING : if (_httpDoSeekIntervalID != 0) { break; } _httpDoSeekCount = 0; _httpDoSeekIntervalID = setInterval(this, "httpDoSeek", HTTP_DO_SEEK_INTERVAL); } break; case "NetStream.Play.StreamNotFound" : setState(CONNECTION_ERROR); } } function ncConnected() { if ((((_ncMgr == null) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { setState(CONNECTION_ERROR); } else { _createStream(); _setUpStream(); } } function ncReconnected() { if ((((_ncMgr == null) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { setState(CONNECTION_ERROR); } else { _ns = null; _state = STOPPED; execQueuedCmds(); } } function onMetaData(info) { if (_metadata != null) { return(undefined); } _metadata = info; if (((_streamLength == undefined) || (_streamLength == null)) || (_streamLength <= 0)) { _streamLength = info.duration; } if (isNaN(_videoWidth) || (_videoWidth <= 0)) { _videoWidth = info.width; } if (isNaN(_videoHeight) || (_videoHeight <= 0)) { _videoHeight = info.height; } dispatchEvent({type:"metadataReceived", info:info}); } function onCuePoint(info) { if ((!_hiddenForResize) || ((!isNaN(_hiddenRewindPlayheadTime)) && (playheadTime < _hiddenRewindPlayheadTime))) { dispatchEvent({type:"cuePoint", info:info}); } } function setState(s) { if (s == _state) { return(undefined); } _hiddenRewindPlayheadTime = undefined; _cachedState = _state; _cachedPlayheadTime = playheadTime; _state = s; var _local2 = _state; dispatchEvent({type:"stateChange", state:_local2, playheadTime:playheadTime}); if (!_readyDispatched) { switch (_local2) { case STOPPED : case PLAYING : case PAUSED : case BUFFERING : _readyDispatched = true; dispatchEvent({type:"ready", state:_local2, playheadTime:playheadTime}); } } if (!(_cachedState === REWINDING)) { } else { dispatchEvent({type:"rewind", state:_local2, playheadTime:playheadTime}); if (_ncMgr.isRTMP() && (_local2 == STOPPED)) { closeNS(); } } switch (_local2) { case STOPPED : case PAUSED : if (_ncMgr.isRTMP() && (_idleTimeoutIntervalID == 0)) { _idleTimeoutIntervalID = setInterval(this, "doIdleTimeout", _idleTimeoutInterval); } break; case SEEKING : case REWINDING : _bufferState = BUFFER_EMPTY; _sawPlayStop = false; case PLAYING : case BUFFERING : if (_updateTimeIntervalID == 0) { _updateTimeIntervalID = setInterval(this, "doUpdateTime", _updateTimeInterval); } case LOADING : case RESIZING : clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = 0; } execQueuedCmds(); } function setStateFromCachedState() { switch (_cachedState) { case PLAYING : case PAUSED : setState(_cachedState); break; case BUFFERING : if (_bufferState == BUFFER_EMPTY) { setState(BUFFERING); } else { setState(_cachedState); } break; default : setState(STOPPED); } } function createINCManager() { if ((ncMgrClassName == null) || (ncMgrClassName == undefined)) { ncMgrClassName = DEFAULT_INCMANAGER; } var ncMgrConstructor = eval (this.ncMgrClassName); _ncMgr = new ncMgrConstructor(); _ncMgr.setVideoPlayer(this); } function rtmpDoStopAtEnd(force) { if (_rtmpDoStopAtEndIntervalID > 0) { switch (_state) { case DISCONNECTED : case CONNECTION_ERROR : clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; return(undefined); } if (force || (_cachedPlayheadTime == playheadTime)) { clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; } else { _cachedPlayheadTime = playheadTime; return(undefined); } } _bufferState = BUFFER_EMPTY; _sawPlayStop = false; _atEnd = true; setState(STOPPED); if (_state != STOPPED) { return(undefined); } doUpdateTime(); if (_state != STOPPED) { return(undefined); } dispatchEvent({type:"complete", state:_state, playheadTime:playheadTime}); if (_state != STOPPED) { return(undefined); } if ((_autoRewind && (!_isLive)) && (playheadTime != 0)) { _atEnd = false; _currentPos = 0; _play(0, 0); setState(REWINDING); } else { closeNS(); } } function rtmpDoSeek() { if ((_state != REWINDING) && (_state != SEEKING)) { clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; _sawSeekNotify = false; } else if (playheadTime != _cachedPlayheadTime) { clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; _sawSeekNotify = false; setStateFromCachedState(); doUpdateTime(); } } function httpDoStopAtEnd() { _atEnd = true; if (((_streamLength == undefined) || (_streamLength == null)) || (_streamLength <= 0)) { _streamLength = _ns.time; } _pause(true); setState(STOPPED); if (_state != STOPPED) { return(undefined); } doUpdateTime(); if (_state != STOPPED) { return(undefined); } dispatchEvent({type:"complete", state:_state, playheadTime:playheadTime}); if (_state != STOPPED) { return(undefined); } if (_autoRewind) { _atEnd = false; _pause(true); _seek(0); setState(REWINDING); } } function httpDoSeek() { var _local2 = (_state == REWINDING) || (_state == SEEKING); if ((_local2 && (_httpDoSeekCount < HTTP_DO_SEEK_MAX_COUNT)) && ((_cachedPlayheadTime == playheadTime) || (_invalidSeekTime))) { _httpDoSeekCount++; return(undefined); } _httpDoSeekCount = 0; clearInterval(_httpDoSeekIntervalID); _httpDoSeekIntervalID = 0; if (!_local2) { return(undefined); } setStateFromCachedState(); if (_invalidSeekTime) { _invalidSeekTime = false; _invalidSeekRecovery = true; seek(playheadTime); } else { doUpdateTime(); } } function closeNS(updateCurrentPos) { if ((_ns != null) && (_ns != undefined)) { if (updateCurrentPos) { clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = 0; doUpdateTime(); _currentPos = _ns.time; } delete _ns.onStatus; _ns.onStatus = null; _ns.close(); _ns = null; } } function doDelayedBuffering() { switch (_state) { case LOADING : case RESIZING : break; case PLAYING : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; setState(BUFFERING); break; default : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; } } function _pause(doPause) { clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; _ns.pause(doPause); } function _play() { clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; _startingPlay = true; switch (arguments.length) { case 0 : _ns.play(_ncMgr.getStreamName(), (_isLive ? -1 : 0), -1); break; case 1 : _ns.play(_ncMgr.getStreamName(), (_isLive ? -1 : (arguments[0])), -1); break; case 2 : _ns.play(_ncMgr.getStreamName(), (_isLive ? -1 : (arguments[0])), arguments[1]); break; default : throw new Error("bad args to _play"); } } function _seek(time) { clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; if ((_metadata.audiodelay != undefined) && ((time + _metadata.audiodelay) < _streamLength)) { time = time + _metadata.audiodelay; } _ns.seek(time); _invalidSeekTime = false; _bufferState = BUFFER_EMPTY; _sawPlayStop = false; _sawSeekNotify = false; } function isXnOK() { if (_state == LOADING) { return(true); } if (_state == CONNECTION_ERROR) { return(false); } if (_state != DISCONNECTED) { if (((((_ncMgr == null) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) || (!_ncMgr.getNetConnection().isConnected)) { setState(DISCONNECTED); return(false); } return(true); } return(false); } function startAutoResize() { switch (_state) { case DISCONNECTED : case CONNECTION_ERROR : return(undefined); } _autoResizeDone = false; if ((stateResponsive && (_videoWidth != undefined)) && (_videoHeight != undefined)) { doAutoResize(); } else { clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = setInterval(this, "doAutoResize", AUTO_RESIZE_INTERVAL); } } function doAutoResize() { if (_autoResizeIntervalID > 0) { switch (_state) { case RESIZING : case LOADING : break; case DISCONNECTED : case CONNECTION_ERROR : clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = 0; return(undefined); default : if (stateResponsive) { break; } return(undefined); } if (((((_video.width != _prevVideoWidth) || (_video.height != _prevVideoHeight)) || (_bufferState == BUFFER_FULL)) || (_bufferState == BUFFER_FLUSH)) || (_ns.time > AUTO_RESIZE_PLAYHEAD_TIMEOUT)) { if ((_hiddenForResize && (_metadata == null)) && (_hiddenForResizeMetadataDelay < AUTO_RESIZE_METADATA_DELAY_MAX)) { _hiddenForResizeMetadataDelay++; return(undefined); } _videoWidth = _video.width; _videoHeight = _video.height; clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = 0; } else { return(undefined); } } if (((!_autoSize) && (!_aspectRatio)) || (_autoResizeDone)) { setState(_cachedState); return(undefined); } _autoResizeDone = true; if (_autoSize) { _video._width = _videoWidth; _video._height = _videoHeight; } else if (_aspectRatio) { var _local3 = (_videoWidth * height) / _videoHeight; var _local2 = (_videoHeight * width) / _videoWidth; if (_local2 < height) { _video._height = _local2; } else if (_local3 < width) { _video._width = _local3; } } if (_hiddenForResize) { _hiddenRewindPlayheadTime = playheadTime; if (_state == LOADING) { _cachedState = PLAYING; } if (!_ncMgr.isRTMP()) { _pause(true); _seek(0); clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = setInterval(this, "finishAutoResize", FINISH_AUTO_RESIZE_INTERVAL); } else if (!_isLive) { _currentPos = 0; _play(0, 0); setState(RESIZING); } else if (_autoPlay) { clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = setInterval(this, "finishAutoResize", FINISH_AUTO_RESIZE_INTERVAL); } else { finishAutoResize(); } } else { dispatchEvent({type:"resize", x:_x, y:_y, width:_width, height:_height}); } } function finishAutoResize() { clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = 0; if (stateResponsive) { return(undefined); } _visible = __visible; _sound.setVolume(_volume); _hiddenForResize = false; dispatchEvent({type:"resize", x:_x, y:_y, width:_width, height:_height}); if (_autoPlay) { if (_ncMgr.isRTMP()) { if (!_isLive) { _currentPos = 0; _play(0); } if (_state == RESIZING) { setState(LOADING); _cachedState = PLAYING; } } else { _pause(false); _cachedState = PLAYING; } } else { setState(STOPPED); } } function _createStream() { _ns = new NetStream(_ncMgr.getNetConnection()); _ns.mc = this; if (_ncMgr.isRTMP()) { _ns.onStatus = function (info) { this.mc.rtmpOnStatus(info); }; } else { _ns.onStatus = function (info) { this.mc.httpOnStatus(info); }; } _ns.onMetaData = function (info) { this.mc.onMetaData(info); }; _ns.onCuePoint = function (info) { this.mc.onCuePoint(info); }; _ns.setBufferTime(_bufferTime); } function _setUpStream() { _video.attachVideo(_ns); attachAudio(_ns); if ((!isNaN(_ncMgr.getStreamLength())) && (_ncMgr.getStreamLength() >= 0)) { _streamLength = _ncMgr.getStreamLength(); } if ((!isNaN(_ncMgr.getStreamWidth())) && (_ncMgr.getStreamWidth() >= 0)) { _videoWidth = _ncMgr.getStreamWidth(); } else { _videoWidth = undefined; } if ((!isNaN(_ncMgr.getStreamHeight())) && (_ncMgr.getStreamHeight() >= 0)) { _videoHeight = _ncMgr.getStreamHeight(); } else { _videoHeight = undefined; } if (((_autoSize || (_aspectRatio)) && (_videoWidth != undefined)) && (_videoHeight != undefined)) { _prevVideoWidth = undefined; _prevVideoHeight = undefined; doAutoResize(); } if (((!_autoSize) && (!_aspectRatio)) || ((_videoWidth != undefined) && (_videoHeight != undefined))) { if (_autoPlay) { if (!_ncMgr.isRTMP()) { _cachedState = BUFFERING; _play(); } else if (_isLive) { _cachedState = BUFFERING; _play(-1); } else { _cachedState = BUFFERING; _play(0); } } else { _cachedState = STOPPED; if (_ncMgr.isRTMP()) { _play(0, 0); } else { _play(); _pause(true); _seek(0); } } } else { if (!_hiddenForResize) { __visible = _visible; _visible = false; _volume = _sound.getVolume(); _sound.setVolume(0); _hiddenForResize = true; } _hiddenForResizeMetadataDelay = 0; _play(0); if (_currentPos > 0) { _seek(_currentPos); _currentPos = 0; } } clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = setInterval(this, "doAutoResize", AUTO_RESIZE_INTERVAL); } function doIdleTimeout() { clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = 0; close(); } function flushQueuedCmds() { while (_cmdQueue.length > 0) { _cmdQueue.pop(); } } function execQueuedCmds() { while (((_cmdQueue.length > 0) && (stateResponsive || (_state == CONNECTION_ERROR))) && (((_cmdQueue[0].url != null) && (_cmdQueue[0].url != undefined)) || ((_state != DISCONNECTED) && (_state != CONNECTION_ERROR)))) { var _local2 = _cmdQueue.shift(); _cachedState = _state; _state = EXEC_QUEUED_CMD; switch (_local2.type) { case PLAY : play(_local2.url, _local2.isLive, _local2.time); break; case LOAD : load(_local2.url, _local2.isLive, _local2.time); break; case PAUSE : pause(); break; case STOP : stop(); break; case SEEK : seek(_local2.time); } } } function queueCmd(type, url, isLive, time) { _cmdQueue.push({type:type, url:url, isLive:false, time:time}); } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; static var DISCONNECTED = "disconnected"; static var STOPPED = "stopped"; static var PLAYING = "playing"; static var PAUSED = "paused"; static var BUFFERING = "buffering"; static var LOADING = "loading"; static var CONNECTION_ERROR = "connectionError"; static var REWINDING = "rewinding"; static var SEEKING = "seeking"; static var RESIZING = "resizing"; static var EXEC_QUEUED_CMD = "execQueuedCmd"; static var BUFFER_EMPTY = "bufferEmpty"; static var BUFFER_FULL = "bufferFull"; static var BUFFER_FLUSH = "bufferFlush"; static var DEFAULT_INCMANAGER = "mx.video.NCManager"; static var DEFAULT_UPDATE_TIME_INTERVAL = 250; static var DEFAULT_UPDATE_PROGRESS_INTERVAL = 250; static var DEFAULT_IDLE_TIMEOUT_INTERVAL = 300000; static var AUTO_RESIZE_INTERVAL = 100; static var AUTO_RESIZE_PLAYHEAD_TIMEOUT = 0.5; static var AUTO_RESIZE_METADATA_DELAY_MAX = 5; static var FINISH_AUTO_RESIZE_INTERVAL = 250; static var RTMP_DO_STOP_AT_END_INTERVAL = 500; static var RTMP_DO_SEEK_INTERVAL = 100; static var HTTP_DO_SEEK_INTERVAL = 250; static var HTTP_DO_SEEK_MAX_COUNT = 4; static var CLOSE_NS_INTERVAL = 0.25; static var HTTP_DELAYED_BUFFERING_INTERVAL = 100; static var PLAY = 0; static var LOAD = 1; static var PAUSE = 2; static var STOP = 3; static var SEEK = 4; }
Symbol 96 MovieClip [__Packages.mx.video.INCManager] Frame 0
interface mx.video.INCManager { }
Symbol 97 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 98 MovieClip [__Packages.mx.video.VideoError] Frame 0
class mx.video.VideoError extends Error { var _code, message, name; function VideoError (errCode, msg) { super(); _code = errCode; message = ((("" + errCode) + ": ") + ERROR_MSG[errCode - BASE_ERROR_CODE]) + ((msg == undefined) ? "" : (": " + msg)); name = "VideoError"; } function get code() { return(_code); } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; static var BASE_ERROR_CODE = 1000; static var NO_CONNECTION = 1000; static var NO_CUE_POINT_MATCH = 1001; static var ILLEGAL_CUE_POINT = 1002; static var INVALID_SEEK = 1003; static var INVALID_CONTENT_PATH = 1004; static var INVALID_XML = 1005; static var NO_BITRATE_MATCH = 1006; static var DELETE_DEFAULT_PLAYER = 1007; static var ERROR_MSG = ["Unable to make connection to server or to find FLV on server", "No matching cue point found", "Illegal cue point", "Invalid seek", "Invalid contentPath", "Invalid xml", "No bitrate match, must be no default flv", "Cannot delete default VideoPlayer"]; }
Symbol 103 MovieClip [__Packages.mx.video.NCManager] Frame 0
class mx.video.NCManager implements mx.video.INCManager { var _timeoutIntervalId, _tryNCIntervalId, _timeout, _nc, _ncConnected, _isRTMP, _serverName, _wrappedURL, _portNumber, _appName, _contentPath, _streamName, _streamLength, _streamWidth, _streamHeight, _streams, _autoSenseBW, fpadZone, _payload, _connTypeCounter, _bitrate, _owner, _protocol, _smilMgr, _ncUri, _fpadMgr, fallbackServerName, _tryNC; function NCManager () { initNCInfo(); initOtherInfo(); _timeoutIntervalId = 0; _tryNCIntervalId = 0; _timeout = DEFAULT_TIMEOUT; _nc = undefined; _ncConnected = false; } function initNCInfo() { _isRTMP = undefined; _serverName = undefined; _wrappedURL = undefined; _portNumber = undefined; _appName = undefined; } function initOtherInfo() { _contentPath = undefined; _streamName = undefined; _streamLength = undefined; _streamWidth = undefined; _streamHeight = undefined; _streams = undefined; _autoSenseBW = false; fpadZone = undefined; _payload = 0; _connTypeCounter = 0; cleanConns(); } function getTimeout() { return(_timeout); } function setTimeout(t) { _timeout = t; if (_timeoutIntervalId != 0) { clearInterval(_timeoutIntervalId); _timeoutIntervalId = setInterval(this, "_onFCSConnectTimeOut", _timeout); } } function getBitrate() { return(_bitrate); } function setBitrate(b) { if ((_isRTMP == undefined) || (!_isRTMP)) { _bitrate = b; } } function getVideoPlayer() { return(_owner); } function setVideoPlayer(v) { _owner = v; } function getNetConnection() { return(_nc); } function getStreamName() { return(_streamName); } function isRTMP() { return(_isRTMP); } function getStreamLength() { return(_streamLength); } function getStreamWidth() { return(_streamWidth); } function getStreamHeight() { return(_streamHeight); } function connectToURL(url) { initOtherInfo(); _contentPath = url; if (((_contentPath == null) || (_contentPath == undefined)) || (_contentPath == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH); } var _local2 = parseURL(_contentPath); if ((_local2.streamName == undefined) || (_local2.streamName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } if (_local2.isRTMP) { var _local3 = canReuseOldConnection(_local2); _isRTMP = true; _protocol = _local2.protocol; _streamName = _local2.streamName; _serverName = _local2.serverName; _wrappedURL = _local2.wrappedURL; _portNumber = _local2.portNumber; _appName = _local2.appName; if ((((_appName == undefined) || (_appName == "")) || (_streamName == undefined)) || (_streamName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } _autoSenseBW = _streamName.indexOf(",") >= 0; return(_local3 || (connectRTMP())); } if ((_local2.streamName.indexOf("?") < 0) && (_local2.streamName.slice(-4).toLowerCase() == ".flv")) { var _local3 = canReuseOldConnection(_local2); _isRTMP = false; _streamName = _local2.streamName; return(_local3 || (connectHTTP())); } if (_local2.streamName.indexOf("/fms/fpad") >= 0) { try { return(connectFPAD(_local2.streamName)); } catch(err:Error) { } } _smilMgr = new mx.video.SMILManager(this); return(_smilMgr.connectXML(_local2.streamName)); } function connectAgain() { var _local2 = _appName.indexOf("/"); if (_local2 < 0) { _local2 = _streamName.indexOf("/"); if (_local2 >= 0) { _appName = _appName + "/"; _appName = _appName + _streamName.slice(0, _local2); _streamName = _streamName.slice(_local2 + 1); } return(false); } var _local3 = _appName.slice(_local2 + 1); _local3 = _local3 + "/"; _local3 = _local3 + _streamName; _streamName = _local3; _appName = _appName.slice(0, _local2); close(); _payload = 0; _connTypeCounter = 0; cleanConns(); connectRTMP(); return(true); } function reconnect() { if (!_isRTMP) { throw new Error("Cannot call reconnect on an http connection"); } _nc.onStatus = function (info) { this.mc.reconnectOnStatus(this, info); }; _nc.onBWDone = function () { this.mc.onReconnected(); }; _nc.connect(_ncUri, false); } function onReconnected() { delete _nc.onStatus; delete _nc.onBWDone; _ncConnected = true; _owner.ncReconnected(); } function close() { if (_nc) { _nc.close(); _ncConnected = false; } } function helperDone(helper, success) { if (!success) { _nc = undefined; _ncConnected = false; _owner.ncConnected(); _smilMgr = undefined; _fpadMgr = undefined; return(undefined); } var _local2; var _local4; if (helper == _fpadMgr) { _local4 = _fpadMgr.rtmpURL; _fpadMgr = undefined; _local2 = parseURL(_local4); _isRTMP = _local2.isRTMP; _protocol = _local2.protocol; _serverName = _local2.serverName; _portNumber = _local2.portNumber; _wrappedURL = _local2.wrappedURL; _appName = _local2.appName; _streamName = _local2.streamName; var _local5 = fpadZone; fpadZone = -1; connectRTMP(); fpadZone = _local5; return(undefined); } if (helper != _smilMgr) { return(undefined); } _streamWidth = _smilMgr.width; _streamHeight = _smilMgr.height; _local4 = _smilMgr.baseURLAttr[0]; if ((_local4 != undefined) && (_local4 != "")) { if (_local4.charAt(_local4.length - 1) != "/") { _local4 = _local4 + "/"; } _local2 = parseURL(_local4); _isRTMP = _local2.isRTMP; _streamName = _local2.streamName; if (_isRTMP) { _protocol = _local2.protocol; _serverName = _local2.serverName; _portNumber = _local2.portNumber; _wrappedURL = _local2.wrappedURL; _appName = _local2.appName; if ((_appName == undefined) || (_appName == "")) { _smilMgr = undefined; throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Base RTMP URL must include application name: " + _local4); } if (_smilMgr.baseURLAttr.length > 1) { _local2 = parseURL(_smilMgr.baseURLAttr[1]); if (_local2.serverName != undefined) { fallbackServerName = _local2.serverName; } } } } _streams = _smilMgr.videoTags; _smilMgr = undefined; var _local3 = 0; while (_local3 < _streams.length) { _local4 = _streams[_local3].src; _local2 = parseURL(_local4); if (_isRTMP == undefined) { _isRTMP = _local2.isRTMP; if (_isRTMP) { _protocol = _local2.protocol; if (_streams.length > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Cannot switch between multiple absolute RTMP URLs, must use meta tag base attribute."); } _serverName = _local2.serverName; _portNumber = _local2.portNumber; _wrappedURL = _local2.wrappedURL; _appName = _local2.appName; if ((_appName == undefined) || (_appName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Base RTMP URL must include application name: " + _local4); } } else if ((_local2.streamName.indexOf("/fms/fpad") >= 0) && (_streams.length > 1)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Cannot switch between multiple absolute fpad URLs, must use meta tag base attribute."); } } else if ((((_streamName != undefined) && (_streamName != "")) && (!_local2.isRelative)) && (_streams.length > 1)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "When using meta tag base attribute, cannot use absolute URLs for video or ref tag src attributes."); } _streams[_local3].parseResults = _local2; _local3++; } _autoSenseBW = _streams.length > 1; if (!_autoSenseBW) { if (_streamName != undefined) { _streamName = _streamName + _streams[0].parseResults.streamName; } else { _streamName = _streams[0].parseResults.streamName; } _streamLength = _streams[0].dur; } if (_isRTMP) { connectRTMP(); } else if ((_streamName != undefined) && (_streamName.indexOf("/fms/fpad") >= 0)) { connectFPAD(_streamName); } else { if (_autoSenseBW) { bitrateMatch(); } connectHTTP(); _owner.ncConnected(); } } function bitrateMatch() { var _local3; var _local4 = _bitrate; if (isNaN(_local4)) { _local4 = 0; } var _local2 = 0; while (_local2 < _streams.length) { if (isNaN(_streams[_local2].bitrate) || (_local4 >= _streams[_local2].bitrate)) { _local3 = _local2; break; } _local2++; } if (isNaN(_local3)) { throw new mx.video.VideoError(mx.video.VideoError.NO_BITRATE_MATCH); } if (_streamName != undefined) { _streamName = _streamName + _streams[_local3].src; } else { _streamName = _streams[_local3].src; } _streamLength = _streams[_local3].dur; } function parseURL(url) { var _local2 = new Object(); var _local3 = 0; var _local4 = url.indexOf(":/", _local3); if (_local4 >= 0) { _local4 = _local4 + 2; _local2.protocol = url.slice(_local3, _local4); _local2.isRelative = false; } else { _local2.isRelative = true; } if ((_local2.protocol != undefined) && (((_local2.protocol == "rtmp:/") || (_local2.protocol == "rtmpt:/")) || (_local2.protocol == "rtmps:/"))) { _local2.isRTMP = true; _local3 = _local4; if (url.charAt(_local3) == "/") { _local3++; var _local7 = url.indexOf(":", _local3); var _local8 = url.indexOf("/", _local3); if (_local8 < 0) { if (_local7 < 0) { _local2.serverName = url.slice(_local3); } else { _local4 = _local7; _local2.portNumber = url.slice(_local3, _local4); _local3 = _local4 + 1; _local2.serverName = url.slice(_local3); } return(_local2); } if ((_local7 >= 0) && (_local7 < _local8)) { _local4 = _local7; _local2.serverName = url.slice(_local3, _local4); _local3 = _local4 + 1; _local4 = _local8; _local2.portNumber = url.slice(_local3, _local4); } else { _local4 = _local8; _local2.serverName = url.slice(_local3, _local4); } _local3 = _local4 + 1; } if (url.charAt(_local3) == "?") { var _local9 = url.slice(_local3 + 1); var _local6 = parseURL(_local9); if ((_local6.protocol == undefined) || (!_local6.isRTMP)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } _local2.wrappedURL = "?"; _local2.wrappedURL = _local2.wrappedURL + _local6.protocol; if (_local6.serverName != undefined) { _local2.wrappedURL = _local2.wrappedURL + "/"; _local2.wrappedURL = _local2.wrappedURL + _local6.serverName; } if (_local6.wrappedURL != undefined) { _local2.wrappedURL = _local2.wrappedURL + "/?"; _local2.wrappedURL = _local2.wrappedURL + _local6.wrappedURL; } _local2.appName = _local6.appName; _local2.streamName = _local6.streamName; return(_local2); } _local4 = url.indexOf("/", _local3); if (_local4 < 0) { _local2.appName = url.slice(_local3); return(_local2); } _local2.appName = url.slice(_local3, _local4); _local3 = _local4 + 1; _local4 = url.indexOf("/", _local3); if (_local4 < 0) { _local2.streamName = url.slice(_local3); if (_local2.streamName.slice(-4).toLowerCase() == ".flv") { _local2.streamName = _local2.streamName.slice(0, -4); } return(_local2); } _local2.appName = _local2.appName + "/"; _local2.appName = _local2.appName + url.slice(_local3, _local4); _local3 = _local4 + 1; _local2.streamName = url.slice(_local3); if (_local2.streamName.slice(-4).toLowerCase() == ".flv") { _local2.streamName = _local2.streamName.slice(0, -4); } } else { _local2.isRTMP = false; _local2.streamName = url; } return(_local2); } function canReuseOldConnection(parseResults) { if (((_nc == undefined) || (_nc == null)) || (!_ncConnected)) { return(false); } if (!parseResults.isRTMP) { if (!_isRTMP) { return(true); } _owner.close(); _nc = undefined; _ncConnected = false; initNCInfo(); return(false); } if (_isRTMP) { if (((((parseResults.serverName == _serverName) && (parseResults.appName == _appName)) && (parseResults.protocol == _protocol)) && (parseResults.portNumber == _portNumber)) && (parseResults.wrappedURL == _wrappedURL)) { return(true); } _owner.close(); _nc = undefined; _ncConnected = false; } initNCInfo(); return(false); } function connectHTTP() { _nc = new NetConnection(); _nc.connect(null); _ncConnected = true; return(true); } function connectRTMP() { clearInterval(_timeoutIntervalId); _timeoutIntervalId = setInterval(this, "_onFCSConnectTimeOut", _timeout); _tryNC = new Array(); var _local2 = 0; while (_local2 < RTMP_CONN.length) { _tryNC[_local2] = new NetConnection(); if ((fpadZone != undefined) && (fpadZone != null)) { _tryNC[_local2].fpadZone = fpadZone; } _tryNC[_local2].mc = this; _tryNC[_local2].pending = false; _tryNC[_local2].connIndex = _local2; _tryNC[_local2].onBWDone = function (p_bw) { this.mc.onConnected(this, p_bw); }; _tryNC[_local2].onBWCheck = function () { return(++this.mc._payload); }; _tryNC[_local2].onStatus = function (info) { this.mc.connectOnStatus(this, info); }; _local2++; } nextConnect(); return(false); } function connectFPAD(url) { var _local7; var _local5; var _local6; var _local2 = url.indexOf("?"); while (_local2 >= 0) { _local2++; var _local4 = url.indexOf("&", _local2); if (url.substr(_local2, 4).toLowerCase() == "uri=") { _local7 = url.slice(0, _local2); _local2 = _local2 + 4; if (_local4 >= 0) { _local5 = url.slice(_local2, _local4); _local6 = url.slice(_local4); } else { _local5 = url.slice(_local2); _local6 = ""; } break; } _local2 = _local4; } if (_local2 < 0) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, "fpad url must include uri parameter: " + url); } var _local8 = parseURL(_local5); if (!_local8.isRTMP) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, "fpad url uri parameter must be rtmp url: " + url); } _fpadMgr = new mx.video.FPADManager(this); return(_fpadMgr.connectXML(_local7, _local5, _local6, _local8)); } function nextConnect() { clearInterval(_tryNCIntervalId); _tryNCIntervalId = 0; var _local4; var _local3; if (_connTypeCounter == 0) { _local4 = _protocol; if (_portNumber != undefined) { _local3 = _portNumber; } else { var _local2 = 0; while (_local2 < RTMP_CONN.length) { if (_local4 == RTMP_CONN[_local2].protocol) { _local3 = RTMP_CONN[_local2].port; break; } _local2++; } } } else { _local4 = RTMP_CONN[_connTypeCounter].protocol; _local3 = RTMP_CONN[_connTypeCounter].port; } var _local5 = ((_local4 + ((_serverName == undefined) ? "" : (((("/" + _serverName) + ":") + _local3) + "/"))) + ((_wrappedURL == undefined) ? "" : (_wrappedURL + "/"))) + _appName; _tryNC[_connTypeCounter].pending = true; _tryNC[_connTypeCounter].connect(_local5, _autoSenseBW); if (_connTypeCounter < (RTMP_CONN.length - 1)) { _connTypeCounter++; _tryNCIntervalId = setInterval(this, "nextConnect", 1500); } } function cleanConns() { clearInterval(_tryNCIntervalId); _tryNCIntervalId = 0; if (_tryNC != undefined) { var _local2 = 0; while (_local2 < _tryNC.length) { if (_tryNC[_local2] != undefined) { delete _tryNC[_local2].onStatus; if (_tryNC[_local2].pending) { _tryNC[_local2].onStatus = function (info) { this.mc.disconnectOnStatus(this, info); }; } else { delete _tryNC[_local2].onStatus; _tryNC[_local2].close(); } } delete _tryNC[_local2]; _local2++; } delete _tryNC; } } function tryFallBack() { if (((_serverName == fallbackServerName) || (fallbackServerName == undefined)) || (fallbackServerName == null)) { delete _nc; _nc = undefined; _ncConnected = false; _owner.ncConnected(); } else { _connTypeCounter = 0; cleanConns(); _serverName = fallbackServerName; connectRTMP(); } } function onConnected(p_nc, p_bw) { clearInterval(_timeoutIntervalId); _timeoutIntervalId = 0; delete p_nc.onBWDone; delete p_nc.onBWCheck; delete p_nc.onStatus; _nc = p_nc; _ncUri = _nc.uri; _ncConnected = true; if (_autoSenseBW) { _bitrate = p_bw * 1024; if (_streams != undefined) { bitrateMatch(); } else { var _local3 = _streamName.split(","); var _local2 = 0; while (_local2 < _local3.length) { var _local4 = stripFrontAndBackWhiteSpace(_local3[_local2]); if ((_local2 + 1) < _local3.length) { if (p_bw <= Number(_local3[_local2 + 1])) { _streamName = _local4; break; } } else { _streamName = _local4; break; } _local2 = _local2 + 2; } if (_streamName.slice(-4).toLowerCase() == ".flv") { _streamName = _streamName.slice(0, -4); } } } if ((!_owner.__get__isLive()) && (_streamLength == undefined)) { var _local6 = new Object(); _local6.mc = this; _local6.onResult = function (length) { this.mc.getStreamLengthResult(length); }; _nc.call("getStreamLength", _local6, _streamName); } else { _owner.ncConnected(); } } function connectOnStatus(target, info) { target.pending = false; if (info.code == "NetConnection.Connect.Success") { _nc = _tryNC[target.connIndex]; _tryNC[target.connIndex] = undefined; cleanConns(); } else if (((info.code == "NetConnection.Connect.Failed") || (info.code == "NetConnection.Connect.Rejected")) && (target.connIndex == (RTMP_CONN.length - 1))) { if (!connectAgain()) { tryFallBack(); } } } function reconnectOnStatus(target, info) { if ((info.code == "NetConnection.Connect.Failed") || (info.code == "NetConnection.Connect.Rejected")) { delete _nc; _nc = undefined; _ncConnected = false; _owner.ncReconnected(); } } function disconnectOnStatus(target, info) { if (info.code == "NetConnection.Connect.Success") { delete target.onStatus; target.close(); } } function getStreamLengthResult(length) { if (length > 0) { _streamLength = length; } _owner.ncConnected(); } function _onFCSConnectTimeOut() { cleanConns(); _nc = undefined; _ncConnected = false; if (!connectAgain()) { _owner.ncConnected(); } } static function stripFrontAndBackWhiteSpace(p_str) { var _local1; var _local2 = p_str.length; var _local4 = 0; var _local5 = _local2; _local1 = 0; while (_local1 < _local2) { switch (p_str.charCodeAt(_local1)) { case 9 : case 10 : case 13 : case 32 : break; default : _local4 = _local1; break;!//outer level } _local1++; } _local1 = _local2; while (_local1 >= 0) { switch (p_str.charCodeAt(_local1)) { case 9 : case 10 : case 13 : case 32 : break; default : _local5 = _local1 + 1; break;!//outer level } _local1--; } if (_local5 <= _local4) { return(""); } return(p_str.slice(_local4, _local5)); } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; var DEFAULT_TIMEOUT = 60000; static var RTMP_CONN = [{protocol:"rtmp:/", port:"1935"}, {protocol:"rtmp:/", port:"443"}, {protocol:"rtmpt:/", port:"80"}, {protocol:"rtmps:/", port:"443"}]; }
Symbol 101 MovieClip [__Packages.mx.video.SMILManager] Frame 0
class mx.video.SMILManager { var _owner, _url, xml, baseURLAttr, videoTags, width, height; function SMILManager (owner) { _owner = owner; } function connectXML(url) { _url = fixURL(url); xml = new XML(); xml.onLoad = mx.utils.Delegate.create(this, xmlOnLoad); xml.load(_url); return(false); } function fixURL(origURL) { if ((origURL.substr(0, 5).toLowerCase() == "http:") || (origURL.substr(0, 6).toLowerCase() == "https:")) { var _local2 = ((origURL.indexOf("?") >= 0) ? "&" : "?"); return(((origURL + _local2) + "FLVPlaybackVersion=") + shortVersion); } return(origURL); } function xmlOnLoad(success) { try { if (!success) { _owner.helperDone(this, false); } else { baseURLAttr = new Array(); videoTags = new Array(); var _local2 = xml.firstChild; var _local6 = false; while (_local2 != null) { if (_local2.nodeType == ELEMENT_NODE) { _local6 = true; if (_local2.nodeName.toLowerCase() == "smil") { break; } } _local2 = _local2.nextSibling; } if (!_local6) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" No root node found; if url is for an flv it must have .flv extension and take no parameters"); } else if (_local2 == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" Root node not smil"); } var _local5 = false; var _local4 = 0; while (_local4 < _local2.childNodes.length) { var _local3 = _local2.childNodes[_local4]; if (_local3.nodeType != ELEMENT_NODE) { } else if (_local3.nodeName.toLowerCase() == "head") { parseHead(_local3); } else if (_local3.nodeName.toLowerCase() == "body") { _local5 = true; parseBody(_local3); } else { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((((("URL: \"" + _url) + "\" Tag ") + _local3.nodeName) + " not supported in ") + _local2.nodeName) + " tag."); } _local4++; } if (!_local5) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" Tag body is required."); } _owner.helperDone(this, true); } } catch(err:Error) { _owner.helperDone(this, false); throw err; } } function parseHead(parentNode) { var _local4 = false; var _local3 = 0; while (_local3 < parentNode.childNodes.length) { var _local2 = parentNode.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else if (_local2.nodeName.toLowerCase() == "meta") { for (var _local6 in _local2.attributes) { if (_local6.toLowerCase() == "base") { baseURLAttr.push(_local2.attributes[_local6]); } else { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((((("URL: \"" + _url) + "\" Attribute ") + _local6) + " not supported in ") + _local2.nodeName) + " tag."); } } } else if (_local2.nodeName.toLowerCase() == "layout") { if (!_local4) { parseLayout(_local2); _local4 = true; } } _local3++; } } function parseLayout(parentNode) { var _local3 = 0; while (_local3 < parentNode.childNodes.length) { var _local2 = parentNode.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else if (_local2.nodeName.toLowerCase() == "root-layout") { for (var _local5 in _local2.attributes) { if (_local5.toLowerCase() == "width") { width = Number(_local2.attributes[_local5]); } else if (_local5.toLowerCase() == "height") { height = Number(_local2.attributes[_local5]); } } if (((isNaN(width) || (width < 0)) || (isNaN(height))) || (height < 0)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((("URL: \"" + _url) + "\" Tag ") + _local2.nodeName) + " requires attributes id, width and height. Width and height must be numbers greater than or equal to 0."); } width = Math.round(width); height = Math.round(height); return(undefined); } _local3++; } } function parseBody(parentNode) { var _local6 = 0; var _local3 = 0; while (_local3 < parentNode.childNodes.length) { var _local2 = parentNode.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else { _local6++; if (_local6 > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((("URL: \"" + _url) + "\" Tag ") + parentNode.nodeName) + " is required to contain exactly one tag."); } if (_local2.nodeName.toLowerCase() == "switch") { parseSwitch(_local2); } else if ((_local2.nodeName.toLowerCase() == "video") || (_local2.nodeName.toLowerCase() == "ref")) { var _local5 = parseVideo(_local2); videoTags.push(_local5); } } _local3++; } if (videoTags.length < 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" At least one video of ref tag is required."); } } function parseSwitch(parentNode) { var _local4 = 0; while (_local4 < parentNode.childNodes.length) { var _local5 = parentNode.childNodes[_local4]; if (_local5.nodeType != ELEMENT_NODE) { } else if ((_local5.nodeName.toLowerCase() == "video") || (_local5.nodeName.toLowerCase() == "ref")) { var _local3 = parseVideo(_local5); if (_local3.bitrate == undefined) { videoTags.push(_local3); } else { var _local6 = false; var _local2 = 0; while (_local2 < videoTags.length) { if ((videoTags[_local2].bitrate == undefined) || (_local3.bitrate < videoTags[_local4].bitrate)) { _local6 = true; videoTags.splice(_local2, 0, videoTags); break; } _local2++; } if (!_local6) { videoTags.push(_local3); } } } _local4++; } } function parseVideo(node) { var _local3 = new Object(); for (var _local4 in node.attributes) { if (_local4.toLowerCase() == "src") { _local3.src = node.attributes[_local4]; } else if (_local4.toLowerCase() == "system-bitrate") { _local3.bitrate = Number(node.attributes[_local4]); } else if (_local4.toLowerCase() == "dur") { _local3.dur = parseTime(node.attributes[_local4]); } } if (_local3.src == undefined) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((("URL: \"" + _url) + "\" Attribute src is required in ") + node.nodeName) + " tag."); } return(_local3); } function parseTime(timeStr) { var _local4 = 0; var _local3 = timeStr.split(":"); if ((_local3.length < 1) || (_local3.length > 3)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Invalid dur value: " + timeStr); } var _local1 = 0; while (_local1 < _local3.length) { var _local2 = Number(_local3[_local1]); if (isNaN(_local2)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Invalid dur value: " + timeStr); } _local4 = _local4 * 60; _local4 = _local4 + _local2; _local1++; } return(_local4); } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; static var ELEMENT_NODE = 1; }
Symbol 100 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 102 MovieClip [__Packages.mx.video.FPADManager] Frame 0
class mx.video.FPADManager { var _owner, _uriParam, _parseResults, _url, xml, rtmpURL; function FPADManager (owner) { _owner = owner; } function connectXML(urlPrefix, uriParam, urlSuffix, uriParamParseResults) { _uriParam = uriParam; _parseResults = uriParamParseResults; _url = (urlPrefix + "uri=") + _parseResults.protocol; if (_parseResults.serverName != undefined) { _url = _url + ("/" + _parseResults.serverName); } if (_parseResults.portNumber != undefined) { _url = _url + (":" + _parseResults.portNumber); } if (_parseResults.wrappedURL != undefined) { _url = _url + ("/?" + _parseResults.wrappedURL); } _url = _url + ("/" + _parseResults.appName); _url = _url + urlSuffix; xml = new XML(); xml.onLoad = mx.utils.Delegate.create(this, xmlOnLoad); xml.load(_url); return(false); } function xmlOnLoad(success) { try { if (!success) { _owner.helperDone(this, false); } else { var _local5 = xml.firstChild; var _local8 = false; while (_local5 != null) { if (_local5.nodeType == ELEMENT_NODE) { _local8 = true; if (_local5.nodeName.toLowerCase() == "fpad") { break; } } _local5 = _local5.nextSibling; } if (!_local8) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" No root node found; if url is for an flv it must have .flv extension and take no parameters"); } else if (_local5 == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" Root node not fpad"); } var _local7; var _local6 = 0; while (_local6 < _local5.childNodes.length) { var _local3 = _local5.childNodes[_local6]; if (_local3.nodeType != ELEMENT_NODE) { } else if (_local3.nodeName.toLowerCase() == "proxy") { var _local2 = 0; while (_local2 < _local3.childNodes.length) { var _local4 = _local3.childNodes[_local2]; if (_local4.nodeType == TEXT_NODE) { _local7 = trim(_local4.nodeValue); break; } _local2++; } break; } _local6++; } if ((_local7 == undefined) || (_local7 == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" fpad xml requires proxy tag."); } rtmpURL = (((_parseResults.protocol + "/") + _local7) + "/?") + _uriParam; _owner.helperDone(this, true); } } catch(err:Error) { _owner.helperDone(this, false); throw err; } } function trim(str) { var _local2 = 0; while (_local2 < str.length) { var _local1 = str.charAt(_local2); if ((((_local1 != " ") && (_local1 != "\t")) && (_local1 != "\r")) && (_local1 != newline)) { break; } _local2++; } if (_local2 >= str.length) { return(""); } var _local4 = str.length - 1; while (_local4 > _local2) { var _local1 = str.charAt(_local4); if ((((_local1 != " ") && (_local1 != "\t")) && (_local1 != "\r")) && (_local1 != newline)) { break; } _local4--; } return(str.slice(_local2, _local4 + 1)); } static var version = "1.0.1.10"; static var shortVersion = "1.0.1"; static var ELEMENT_NODE = 1; static var TEXT_NODE = 3; }
Symbol 104 MovieClip [__Packages.mx.video.CuePointManager] Frame 0
class mx.video.CuePointManager { var _owner, _id, _asCuePointTolerance, _linearSearchTolerance, _metadataLoaded, allCuePoints, asCuePoints, _disabledCuePoints, flvCuePoints, navCuePoints, eventCuePoints, _asCuePointIndex, __get__playheadUpdateInterval, _disabledCuePointsByNameOnly; function CuePointManager (owner, id) { _owner = owner; _id = id; reset(); _asCuePointTolerance = _owner.getVideoPlayer(_id).__get__playheadUpdateInterval() / 2000; _linearSearchTolerance = DEFAULT_LINEAR_SEARCH_TOLERANCE; } function reset() { _metadataLoaded = false; allCuePoints = null; asCuePoints = null; _disabledCuePoints = null; flvCuePoints = null; navCuePoints = null; eventCuePoints = null; _asCuePointIndex = 0; } function get metadataLoaded() { return(_metadataLoaded); } function set playheadUpdateInterval(aTime) { _asCuePointTolerance = aTime / 2000; //return(__get__playheadUpdateInterval()); } function get id() { return(_id); } function addASCuePoint(timeOrCuePoint, name, parameters) { var _local3; if (typeof(timeOrCuePoint) == "object") { _local3 = deepCopyObject(timeOrCuePoint); } else { _local3 = {time:timeOrCuePoint, name:name, parameters:deepCopyObject(parameters)}; } var _local7 = isNaN(_local3.time) || (_local3.time < 0); if (_local7) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number"); } var _local6 = (_local3.name == undefined) || (_local3.name == null); if (_local6) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "name cannot be undefined or null"); } var _local2; _local3.type = "actionscript"; if (((asCuePoints == null) || (asCuePoints == undefined)) || (asCuePoints.length < 1)) { _local2 = 0; asCuePoints = new Array(); asCuePoints.push(_local3); } else { _local2 = getCuePointIndex(asCuePoints, true, _local3.time); _local2 = ((asCuePoints[_local2].time > _local3.time) ? 0 : (_local2 + 1)); asCuePoints.splice(_local2, 0, _local3); } if (((allCuePoints == null) || (allCuePoints == undefined)) || (allCuePoints.length < 1)) { _local2 = 0; allCuePoints = new Array(); allCuePoints.push(_local3); } else { _local2 = getCuePointIndex(allCuePoints, true, _local3.time); _local2 = ((allCuePoints[_local2].time > _local3.time) ? 0 : (_local2 + 1)); allCuePoints.splice(_local2, 0, _local3); } var _local5 = _owner.getVideoPlayer(_id).__get__playheadTime(); if (_local5 > 0) { if (_asCuePointIndex == _local2) { if (_local5 > asCuePoints[_local2].time) { _asCuePointIndex++; } } else if (_asCuePointIndex > _local2) { _asCuePointIndex++; } } else { _asCuePointIndex = 0; } var _local4 = deepCopyObject(asCuePoints[_local2]); _local4.array = asCuePoints; _local4.index = _local2; return(_local4); } function removeASCuePoint(timeNameOrCuePoint) { if (((asCuePoints == null) || (asCuePoints == undefined)) || (asCuePoints.length < 1)) { return(null); } var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } var _local2 = getCuePointIndex(asCuePoints, false, _local3.time, _local3.name); if (_local2 < 0) { return(null); } _local3 = asCuePoints[_local2]; asCuePoints.splice(_local2, 1); _local2 = getCuePointIndex(allCuePoints, false, _local3.time, _local3.name); if (_local2 > 0) { allCuePoints.splice(_local2, 1); } if (_owner.getVideoPlayer(_id).__get__playheadTime() > 0) { if (_asCuePointIndex > _local2) { _asCuePointIndex--; } } else { _asCuePointIndex = 0; } return(_local3); } function setFLVCuePointEnabled(enabled, timeNameOrCuePoint) { var _local4; switch (typeof(timeNameOrCuePoint)) { case "string" : _local4 = {name:timeNameOrCuePoint}; break; case "number" : _local4 = {time:timeNameOrCuePoint}; break; case "object" : _local4 = timeNameOrCuePoint; } var _local12 = isNaN(_local4.time) || (_local4.time < 0); var _local11 = (_local4.name == undefined) || (_local4.name == null); if (_local12 && (_local11)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number and/or name must not be undefined or null"); } var _local6 = 0; var _local2; var _local5; if (_local12) { if (!_metadataLoaded) { if (_disabledCuePointsByNameOnly[_local4.name] == undefined) { if (!enabled) { if (((_disabledCuePointsByNameOnly == null) || (_disabledCuePointsByNameOnly == undefined)) || (_disabledCuePointsByNameOnly.length < 0)) { _disabledCuePointsByNameOnly = new Object(); } _disabledCuePointsByNameOnly[_local4.name] = new Array(); } } else { if (enabled) { _disabledCuePointsByNameOnly[_local4.name] = undefined; } return(-1); } removeCuePoints(_disabledCuePoints, _local4); return(-1); } if (enabled) { _local6 = removeCuePoints(_disabledCuePoints, _local4); } else { var _local3; _local2 = getCuePointIndex(flvCuePoints, true, -1, _local4.name); while (_local2 >= 0) { _local3 = flvCuePoints[_local2]; _local5 = getCuePointIndex(_disabledCuePoints, true, _local3.time); if ((_local5 < 0) || (_disabledCuePoints[_local5].time != _local3.time)) { _disabledCuePoints = insertCuePoint(_local5, _disabledCuePoints, {name:_local3.name, time:_local3.time}); _local6 = _local6 + 1; } _local2 = getNextCuePointIndexWithName(_local3.name, flvCuePoints, _local2); } } return(_local6); } _local2 = getCuePointIndex(_disabledCuePoints, false, _local4.time, _local4.name); if (_local2 < 0) { if (enabled) { if (!_metadataLoaded) { _local2 = getCuePointIndex(_disabledCuePoints, false, _local4.time); if (_local2 < 0) { _local5 = getCuePointIndex(_disabledCuePointsByNameOnly[_local4.name], true, _local4.time); if (cuePointCompare(_local4.time, null, _disabledCuePointsByNameOnly[_local4.name]) != 0) { _disabledCuePointsByNameOnly[_local4.name] = insertCuePoint(_local5, _disabledCuePointsByNameOnly[_local4.name], _local4); } } else { _disabledCuePoints.splice(_local2, 1); } } return((_metadataLoaded ? 0 : -1)); } } else { if (enabled) { _disabledCuePoints.splice(_local2, 1); _local6 = 1; } else { _local6 = 0; } return((_metadataLoaded ? (_local6) : -1)); } if (_metadataLoaded) { _local2 = getCuePointIndex(flvCuePoints, false, _local4.time, _local4.name); if (_local2 < 0) { return(0); } if (_local11) { _local4.name = flvCuePoints[_local2].name; } } _local5 = getCuePointIndex(_disabledCuePoints, true, _local4.time); _disabledCuePoints = insertCuePoint(_local5, _disabledCuePoints, _local4); _local6 = 1; return((_metadataLoaded ? 1 : -1)); } function removeCuePoints(cuePointArray, cuePoint) { var _local2; var _local4; var _local5 = 0; _local2 = getCuePointIndex(cuePointArray, true, -1, cuePoint.name); while (_local2 >= 0) { _local4 = cuePointArray[_local2]; cuePointArray.splice(_local2, 1); _local2--; _local5++; _local2 = getNextCuePointIndexWithName(_local4.name, cuePointArray, _local2); } return(_local5); } function insertCuePoint(insertIndex, cuePointArray, cuePoint) { if (insertIndex < 0) { cuePointArray = new Array(); cuePointArray.push(cuePoint); } else { if (cuePointArray[insertIndex].time > cuePoint.time) { insertIndex = 0; } else { insertIndex++; } cuePointArray.splice(insertIndex, 0, cuePoint); } return(cuePointArray); } function isFLVCuePointEnabled(timeNameOrCuePoint) { if (!_metadataLoaded) { return(true); } var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } var _local5 = isNaN(_local3.time) || (_local3.time < 0); var _local6 = (_local3.name == undefined) || (_local3.name == null); if (_local5 && (_local6)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number and/or name must not be undefined or null"); } if (_local5) { var _local2 = getCuePointIndex(flvCuePoints, true, -1, _local3.name); if (_local2 < 0) { return(true); } while (_local2 >= 0) { if (getCuePointIndex(_disabledCuePoints, false, flvCuePoints[_local2].time, flvCuePoints[_local2].name) < 0) { return(true); } _local2 = getNextCuePointIndexWithName(_local3.name, flvCuePoints, _local2); } return(false); } return(getCuePointIndex(_disabledCuePoints, false, _local3.time, _local3.name) < 0); } function dispatchASCuePoints() { var _local5 = _owner.getVideoPlayer(_id).__get__playheadTime(); if ((_owner.getVideoPlayer(_id).__get__stateResponsive() && (asCuePoints != null)) && (asCuePoints != undefined)) { while ((_asCuePointIndex < asCuePoints.length) && (asCuePoints[_asCuePointIndex].time <= (_local5 + _asCuePointTolerance))) { _owner.dispatchEvent({type:"cuePoint", info:deepCopyObject(asCuePoints[_asCuePointIndex++]), vp:_id}); } } } function resetASCuePointIndex(time) { if (((time <= 0) || (asCuePoints == null)) || (asCuePoints == undefined)) { _asCuePointIndex = 0; return(undefined); } var _local2 = getCuePointIndex(asCuePoints, true, time); _asCuePointIndex = ((asCuePoints[_local2].time < time) ? (_local2 + 1) : (_local2)); } function processFLVCuePoints(metadataCuePoints) { _metadataLoaded = true; if (((metadataCuePoints == undefined) || (metadataCuePoints == null)) || (metadataCuePoints.length < 1)) { flvCuePoints = null; navCuePoints = null; eventCuePoints = null; return(undefined); } flvCuePoints = metadataCuePoints; navCuePoints = new Array(); eventCuePoints = new Array(); var _local5; var _local6 = -1; var _local2; var _local4 = _disabledCuePoints; var _local3 = 0; _disabledCuePoints = new Array(); var _local9 = 0; while (_local2 = flvCuePoints[_local9++] , _local2 != undefined) { if ((_local6 > 0) && (_local6 >= _local2.time)) { flvCuePoints = null; navCuePoints = null; eventCuePoints = null; _disabledCuePoints = null; _disabledCuePointsByNameOnly = null; throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "Unsorted cuePoint found after time: " + _local6); } _local6 = _local2.time; while ((_local3 < _local4.length) && (cuePointCompare(_local4[_local3].time, null, _local2) < 0)) { _local3++; } if ((_disabledCuePointsByNameOnly[_local2.name] != undefined) || ((_local3 < _local4.length) && (cuePointCompare(_local4[_local3].time, _local4[_local3].name, _local2) == 0))) { _disabledCuePoints.push({time:_local2.time, name:_local2.name}); } if (_local2.type == "navigation") { navCuePoints.push(_local2); } else if (_local2.type == "event") { eventCuePoints.push(_local2); } if (((allCuePoints == null) || (allCuePoints == undefined)) || (allCuePoints.length < 1)) { allCuePoints = new Array(); allCuePoints.push(_local2); } else { _local5 = getCuePointIndex(allCuePoints, true, _local2.time); _local5 = ((allCuePoints[_local5].time > _local2.time) ? 0 : (_local5 + 1)); allCuePoints.splice(_local5, 0, _local2); } } delete _disabledCuePointsByNameOnly; _disabledCuePointsByNameOnly = null; delete _disabledCuePointsByNameOnly; _disabledCuePointsByNameOnly = null; } function processCuePointsProperty(cuePoints) { if (((cuePoints == undefined) || (cuePoints == null)) || (cuePoints.length == 0)) { return(undefined); } var _local4 = 0; var _local8; var _local6; var _local7; var _local5; var _local9; var _local2 = 0; while (_local2 < (cuePoints.length - 1)) { switch (_local4) { case 6 : addOrDisable(_local9, _local5); _local4 = 0; case 0 : if (cuePoints[_local2++] != "t") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number"); } _local5 = new Object(); _local5.time = cuePoints[_local2] / 1000; _local4++; break; case 1 : if (cuePoints[_local2++] != "n") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if ((cuePoints[_local2] == undefined) || (cuePoints[_local2] == null)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "name cannot be null or undefined"); } _local5.name = unescape(cuePoints[_local2]); _local4++; break; case 2 : if (cuePoints[_local2++] != "t") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "type must be number"); } switch (cuePoints[_local2]) { case 0 : _local5.type = "event"; break; case 1 : _local5.type = "navigation"; break; case 2 : _local5.type = "actionscript"; break; default : throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "type must be 0, 1 or 2"); } _local4++; break; case 3 : if (cuePoints[_local2++] != "d") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "disabled must be number"); } _local9 = cuePoints[_local2] != 0; _local4++; break; case 4 : if (cuePoints[_local2++] != "p") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "num params must be number"); } _local8 = cuePoints[_local2]; _local4++; if (_local8 == 0) { _local4++; } else { _local5.parameters = new Object(); } break; case 5 : _local6 = cuePoints[_local2++]; _local7 = cuePoints[_local2]; if (typeof(_local6) == "string") { _local6 = unescape(_local6); } if (typeof(_local7) == "string") { _local7 = unescape(_local7); } _local5.parameters[_local6] = _local7; _local8--; if (_local8 != 0) { break; } _local4++; } _local2++; } if (_local4 == 6) { addOrDisable(_local9, _local5); } else { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected end of cuePoint param string"); } } function addOrDisable(disable, cuePoint) { if (disable) { if (cuePoint.type == "actionscript") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "Cannot disable actionscript cue points"); } setFLVCuePointEnabled(false, cuePoint); } else if (cuePoint.type == "actionscript") { addASCuePoint(cuePoint); } } function unescape(origStr) { var _local3 = origStr; var _local1 = 0; while (_local1 < cuePointsReplace.length) { var _local2 = _local3.split(cuePointsReplace[_local1++]); if (_local2.length > 1) { _local3 = _local2.join(cuePointsReplace[_local1]); } _local1++; } return(_local3); } function getCuePointIndex(cuePointArray, closeIsOK, time, name, start, len) { if (((cuePointArray == null) || (cuePointArray == undefined)) || (cuePointArray.length < 1)) { return(-1); } var _local13 = isNaN(time) || (time < 0); var _local16 = (name == undefined) || (name == null); if (_local13 && (_local16)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number and/or name must not be undefined or null"); } if ((start == undefined) || (start == null)) { start = 0; } if ((len == undefined) || (len == null)) { len = cuePointArray.length; } if ((!_local16) && (closeIsOK || (_local13))) { var _local8; var _local2; if (_local13) { _local8 = start; } else { _local8 = getCuePointIndex(cuePointArray, closeIsOK, time); } _local2 = _local8; while (_local2 >= start) { if (cuePointArray[_local2].name == name) { break; } _local2--; } if (_local2 >= start) { return(_local2); } _local2 = _local8 + 1; while (_local2 < len) { if (cuePointArray[_local2].name == name) { break; } _local2++; } if (_local2 < len) { return(_local2); } return(-1); } var _local6; if (len <= _linearSearchTolerance) { var _local11 = start + len; var _local3 = start; while (_local3 < _local11) { _local6 = cuePointCompare(time, name, cuePointArray[_local3]); if (_local6 == 0) { return(_local3); } if (_local6 < 0) { break; } _local3++; } if (closeIsOK) { if (_local3 > 0) { return(_local3 - 1); } return(0); } return(-1); } var _local12 = Math.floor(len / 2); var _local15 = start + _local12; _local6 = cuePointCompare(time, name, cuePointArray[_local15]); if (_local6 < 0) { return(getCuePointIndex(cuePointArray, closeIsOK, time, name, start, _local12)); } if (_local6 > 0) { return(getCuePointIndex(cuePointArray, closeIsOK, time, name, _local15 + 1, (_local12 - 1) + (len % 2))); } return(_local15); } function getNextCuePointIndexWithName(name, array, index) { if ((name == undefined) || (name == null)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "name cannot be undefined or null"); } if ((array == null) || (array == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "cuePoint.array undefined"); } if ((isNaN(index) || (index < -1)) || (index >= array.length)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "cuePoint.index must be number between -1 and cuePoint.array.length"); } var _local1; _local1 = index + 1; while (_local1 < array.length) { if (array[_local1].name == name) { break; } _local1++; } if (_local1 < array.length) { return(_local1); } return(-1); } static function cuePointCompare(time, name, cuePoint) { var _local2 = Math.round(time * 1000); var _local3 = Math.round(cuePoint.time * 1000); if (_local2 < _local3) { return(-1); } if (_local2 > _local3) { return(1); } if ((name != null) || (name != undefined)) { if (name == cuePoint.name) { return(0); } if (name < cuePoint.name) { return(-1); } return(1); } return(0); } function getCuePoint(cuePointArray, closeIsOK, timeNameOrCuePoint) { var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } var _local2 = getCuePointIndex(cuePointArray, closeIsOK, _local3.time, _local3.name); if (_local2 < 0) { return(null); } _local3 = deepCopyObject(cuePointArray[_local2]); _local3.array = cuePointArray; _local3.index = _local2; return(_local3); } function getNextCuePointWithName(cuePoint) { if ((cuePoint == null) || (cuePoint == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "cuePoint parameter undefined"); } if (isNaN(cuePoint.time) || (cuePoint.time < 0)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number"); } var _local3 = getNextCuePointIndexWithName(cuePoint.name, cuePoint.array, cuePoint.index); if (_local3 < 0) { return(null); } var _local4 = deepCopyObject(cuePoint.array[_local3]); _local4.array = cuePoint.array; _local4.index = _local3; return(_local4); } static function deepCopyObject(obj, recurseLevel) { if (((obj == undefined) || (obj == null)) || (typeof(obj) != "object")) { return(obj); } if (recurseLevel == undefined) { recurseLevel = 0; } var _local2 = new Object(); for (var _local4 in obj) { if ((recurseLevel == 0) && ((_local4 == "array") || (_local4 == "index"))) { } else if (typeof(obj[_local4]) == "object") { _local2[_local4] = deepCopyObject(obj[_local4], recurseLevel + 1); } else { _local2[_local4] = obj[_local4]; } } return(_local2); } static var DEFAULT_LINEAR_SEARCH_TOLERANCE = 50; static var cuePointsReplace = ["&quot;", "\"", "&#39;", "'", "&#44;", ",", "&amp;", "&"]; }
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 27
_root.EnterStep = 1;
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 27
_root.EnterStep = 11;
Symbol 434 MovieClip Frame 1
FLVbar_mc.setMask(barMask_mc);
Symbol 500 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 10
gotoAndPlay ("blinkCyc");
Symbol 550 MovieClip Frame 1
stop();
Symbol 552 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 41
stop();
Symbol 558 MovieClip Frame 1
stop();
Symbol 560 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 1
stop();

Library Items

Symbol 1 BitmapUsed by:2 77 106 108 110
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClipUses:2Used by:19
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClipUses:5Used by:12
Symbol 7 BitmapUsed by:11
Symbol 8 BitmapUsed by:11
Symbol 9 BitmapUsed by:11
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:7 8 9 10Used by:12
Symbol 12 MovieClipUses:6 11Used by:19
Symbol 13 GraphicUsed by:19
Symbol 14 FontUsed by:15 114 153 157 158 173 419 422 424 433 435 436 437 438 439 440 441 442 443 444 445 446 495
Symbol 15 EditableTextUses:14Used by:19
Symbol 16 GraphicUsed by:17 78 151 177 313 314 315 528
Symbol 17 MovieClipUses:16Used by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClip [BuildS01]Uses:3 12 13 15 17 18
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClip [bld001]Uses:21
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:25
Symbol 25 MovieClip [bld002]Uses:24
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:28
Symbol 28 MovieClip [bld003]Uses:27
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClip [bld004]Uses:30
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClip [bld005]Uses:33
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37
Symbol 37 MovieClip [bld006]Uses:36
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:40
Symbol 40 MovieClip [bld007]Uses:39
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:43
Symbol 43 MovieClip [bld008]Uses:42
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46
Symbol 46 MovieClip [BldV201]Uses:45
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:49
Symbol 49 MovieClip [BldV202]Uses:48
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:52
Symbol 52 MovieClip [BldV203]Uses:51
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:55
Symbol 55 MovieClip [BldV204]Uses:54
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:58
Symbol 58 MovieClip [BldV205]Uses:57
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:61
Symbol 61 MovieClip [BldV206]Uses:60
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:64
Symbol 64 MovieClip [BldV207]Uses:63
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:67
Symbol 67 MovieClip [BldV208]Uses:66
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:70
Symbol 70 MovieClip [BldPress0]Uses:69
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71Used by:73
Symbol 73 MovieClip [BldPress1]Uses:72
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:76
Symbol 76 MovieClip [BldPress2]Uses:75
Symbol 77 GraphicUses:1Used by:85
Symbol 78 MovieClipUses:16Used by:85
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:85
Symbol 81 GraphicUsed by:85
Symbol 82 FontUsed by:83 120 123 127 129 451 452 455 457 461 468 470 474 479 481 482 483 489 491 507 513 523 525 545
Symbol 83 EditableTextUses:82Used by:85
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClip [EmptyBld]Uses:77 78 80 81 83 84Used by:112
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:94
Symbol 89 VideoUsed by:90
Symbol 90 MovieClip [VideoPlayer]Uses:89Used by:94
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93
Symbol 93 MovieClip [Icon]Uses:92Used by:94
Symbol 94 MovieClip [FLVPlayback]Uses:88 90 93Used by:Timeline
Symbol 105 GraphicUsed by:Timeline
Symbol 106 GraphicUses:1Used by:107
Symbol 107 MovieClipUses:106Used by:112
Symbol 108 GraphicUses:1Used by:109
Symbol 109 MovieClipUses:108Used by:112
Symbol 110 GraphicUses:1Used by:111
Symbol 111 MovieClipUses:110Used by:112
Symbol 112 MovieClipUses:107 109 111 85Used by:Timeline
Symbol 113 GraphicUsed by:Timeline
Symbol 114 TextUses:14Used by:Timeline
Symbol 115 GraphicUsed by:125
Symbol 116 GraphicUsed by:118
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:116 117Used by:125
Symbol 119 GraphicUsed by:125
Symbol 120 TextUses:82Used by:125
Symbol 121 GraphicUsed by:125 131 453 459 463 472 477 493 527
Symbol 122 GraphicUsed by:125
Symbol 123 TextUses:82Used by:125
Symbol 124 GraphicUsed by:125
Symbol 125 ButtonUses:115 118 119 120 121 122 123 124Used by:Timeline
Symbol 126 GraphicUsed by:131 453
Symbol 127 TextUses:82Used by:131
Symbol 128 GraphicUsed by:131 453
Symbol 129 TextUses:82Used by:131
Symbol 130 GraphicUsed by:131 453
Symbol 131 ButtonUses:126 127 121 128 129 130Used by:Timeline
Symbol 132 GraphicUsed by:139
Symbol 133 GraphicUsed by:139
Symbol 134 GraphicUsed by:139
Symbol 135 ShapeTweeningUsed by:139
Symbol 136 ShapeTweeningUsed by:139
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:132 133 134 135 136 137 138Used by:Timeline
Symbol 140 FontUsed by:141 142 143 144 145 146
Symbol 141 TextUses:140Used by:Timeline
Symbol 142 TextUses:140Used by:Timeline
Symbol 143 TextUses:140Used by:Timeline
Symbol 144 TextUses:140Used by:Timeline
Symbol 145 TextUses:140Used by:Timeline
Symbol 146 TextUses:140Used by:Timeline
Symbol 147 GraphicUsed by:Timeline
Symbol 148 FontUsed by:149 150
Symbol 149 TextUses:148Used by:Timeline
Symbol 150 TextUses:148Used by:151
Symbol 151 ButtonUses:16 150Used by:Timeline
Symbol 152 GraphicUsed by:154
Symbol 153 TextUses:14Used by:154
Symbol 154 MovieClipUses:152 153Used by:Timeline
Symbol 155 GraphicUsed by:156 295 312 547
Symbol 156 MovieClipUses:155Used by:Timeline
Symbol 157 EditableTextUses:14Used by:Timeline
Symbol 158 EditableTextUses:14Used by:Timeline
Symbol 159 GraphicUsed by:167
Symbol 160 FontUsed by:161 164 165
Symbol 161 TextUses:160Used by:167
Symbol 162 GraphicUsed by:167
Symbol 163 GraphicUsed by:167
Symbol 164 TextUses:160Used by:167
Symbol 165 TextUses:160Used by:167
Symbol 166 GraphicUsed by:167
Symbol 167 ButtonUses:159 161 162 163 164 165 166Used by:Timeline
Symbol 168 GraphicUsed by:174
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:174
Symbol 171 GraphicUsed by:172 432
Symbol 172 MovieClipUses:171Used by:174
Symbol 173 TextUses:14Used by:174
Symbol 174 MovieClipUses:168 170 172 173Used by:Timeline
Symbol 175 GraphicUsed by:Timeline
Symbol 86 MovieClip [__Packages.mx.video.FLVPlayback]
Symbol 99 MovieClip [__Packages.mx.video.UIManager]
Symbol 95 MovieClip [__Packages.mx.video.VideoPlayer]
Symbol 96 MovieClip [__Packages.mx.video.INCManager]
Symbol 97 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 98 MovieClip [__Packages.mx.video.VideoError]
Symbol 103 MovieClip [__Packages.mx.video.NCManager]
Symbol 101 MovieClip [__Packages.mx.video.SMILManager]
Symbol 100 MovieClip [__Packages.mx.utils.Delegate]
Symbol 102 MovieClip [__Packages.mx.video.FPADManager]
Symbol 104 MovieClip [__Packages.mx.video.CuePointManager]
Symbol 176 SoundUsed by:459 463  Timeline
Symbol 177 MovieClipUses:16Used by:Timeline
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:185
Symbol 180 BitmapUsed by:182
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:180 181Used by:185
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:185
Symbol 185 MovieClipUses:179 182 184Used by:Timeline
Symbol 186 GraphicUsed by:190
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:190
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:186 188 189Used by:Timeline
Symbol 191 BitmapUsed by:196
Symbol 192 BitmapUsed by:196
Symbol 193 BitmapUsed by:196
Symbol 194 BitmapUsed by:196
Symbol 195 BitmapUsed by:196
Symbol 196 GraphicUses:191 192 193 194 195Used by:233
Symbol 197 BitmapUsed by:198
Symbol 198 GraphicUses:197Used by:199
Symbol 199 MovieClipUses:198Used by:233 239 245
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:202
Symbol 202 MovieClipUses:201Used by:233 239 245
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205
Symbol 205 MovieClipUses:204Used by:233 239 245
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:208
Symbol 208 MovieClipUses:207Used by:233 239 245
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:211
Symbol 211 MovieClipUses:210Used by:233 239 245
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:214
Symbol 214 MovieClipUses:213Used by:233 239 245
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:217
Symbol 217 MovieClipUses:216Used by:233 239 245
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:220
Symbol 220 MovieClipUses:219Used by:233 239 245
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:223
Symbol 223 MovieClipUses:222Used by:233 239 245
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:226
Symbol 226 MovieClipUses:225Used by:233 239 245
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:229
Symbol 229 MovieClipUses:228Used by:233 239 245
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:232
Symbol 232 MovieClipUses:231Used by:233 239 245
Symbol 233 MovieClipUses:196 199 202 205 208 211 214 217 220 223 226 229 232Used by:Timeline
Symbol 234 BitmapUsed by:238
Symbol 235 BitmapUsed by:238
Symbol 236 BitmapUsed by:238
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:234 235 236 237Used by:239
Symbol 239 MovieClipUses:238 199 202 205 208 211 214 217 220 223 226 229 232Used by:Timeline
Symbol 240 BitmapUsed by:244
Symbol 241 BitmapUsed by:244
Symbol 242 BitmapUsed by:244
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:240 241 242 243Used by:245
Symbol 245 MovieClipUses:244 199 202 205 208 211 214 217 220 223 226 229 232Used by:Timeline
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:248
Symbol 248 MovieClipUses:247Used by:Timeline
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:251
Symbol 251 MovieClipUses:250Used by:Timeline
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:254
Symbol 254 MovieClipUses:253Used by:Timeline
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:257
Symbol 257 MovieClipUses:256Used by:Timeline
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClipUses:259Used by:Timeline
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:263
Symbol 263 MovieClipUses:262Used by:Timeline
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:266
Symbol 266 MovieClipUses:265Used by:Timeline
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:269
Symbol 269 MovieClipUses:268Used by:Timeline
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:272
Symbol 272 MovieClipUses:271Used by:Timeline
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:275
Symbol 275 MovieClipUses:274Used by:Timeline
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:278
Symbol 278 MovieClipUses:277Used by:Timeline
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:281
Symbol 281 MovieClipUses:280Used by:Timeline
Symbol 282 GraphicUsed by:295 312
Symbol 283 GraphicUsed by:295 312
Symbol 284 GraphicUsed by:295
Symbol 285 GraphicUsed by:295
Symbol 286 GraphicUsed by:295
Symbol 287 GraphicUsed by:295
Symbol 288 GraphicUsed by:295
Symbol 289 GraphicUsed by:295
Symbol 290 GraphicUsed by:295
Symbol 291 GraphicUsed by:295 312
Symbol 292 GraphicUsed by:295 312
Symbol 293 GraphicUsed by:295 312
Symbol 294 GraphicUsed by:295 312
Symbol 295 MovieClipUses:282 155 283 284 285 286 287 288 289 290 291 292 293 294Used by:Timeline
Symbol 296 BitmapUsed by:297
Symbol 297 GraphicUses:296Used by:312
Symbol 298 GraphicUsed by:312
Symbol 299 GraphicUsed by:312
Symbol 300 GraphicUsed by:312
Symbol 301 GraphicUsed by:312
Symbol 302 GraphicUsed by:312
Symbol 303 GraphicUsed by:312
Symbol 304 GraphicUsed by:312
Symbol 305 GraphicUsed by:312
Symbol 306 GraphicUsed by:312
Symbol 307 GraphicUsed by:312
Symbol 308 GraphicUsed by:312
Symbol 309 GraphicUsed by:312
Symbol 310 GraphicUsed by:312
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:282 297 155 283 298 299 300 301 302 303 304 305 306 307 308 309 310 311 291 292 293 294Used by:Timeline
Symbol 313 MovieClipUses:16Used by:417
Symbol 314 MovieClipUses:16Used by:417
Symbol 315 MovieClipUses:16Used by:417
Symbol 316 GraphicUsed by:356
Symbol 317 GraphicUsed by:356 384
Symbol 318 GraphicUsed by:356
Symbol 319 GraphicUsed by:356
Symbol 320 FontUsed by:321
Symbol 321 TextUses:320Used by:356 384 416
Symbol 322 GraphicUsed by:356
Symbol 323 GraphicUsed by:356
Symbol 324 GraphicUsed by:356
Symbol 325 GraphicUsed by:356
Symbol 326 GraphicUsed by:356
Symbol 327 GraphicUsed by:356
Symbol 328 GraphicUsed by:356
Symbol 329 GraphicUsed by:356
Symbol 330 GraphicUsed by:356
Symbol 331 GraphicUsed by:356
Symbol 332 GraphicUsed by:356
Symbol 333 GraphicUsed by:356
Symbol 334 GraphicUsed by:356
Symbol 335 GraphicUsed by:356
Symbol 336 GraphicUsed by:356
Symbol 337 GraphicUsed by:356
Symbol 338 GraphicUsed by:356
Symbol 339 GraphicUsed by:356
Symbol 340 GraphicUsed by:356
Symbol 341 GraphicUsed by:356
Symbol 342 GraphicUsed by:356
Symbol 343 GraphicUsed by:356
Symbol 344 GraphicUsed by:356
Symbol 345 GraphicUsed by:356
Symbol 346 GraphicUsed by:356
Symbol 347 GraphicUsed by:356
Symbol 348 GraphicUsed by:356
Symbol 349 GraphicUsed by:356
Symbol 350 GraphicUsed by:356
Symbol 351 GraphicUsed by:356
Symbol 352 GraphicUsed by:356
Symbol 353 GraphicUsed by:356
Symbol 354 GraphicUsed by:356
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:316 317 318 319 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355Used by:417
Symbol 357 GraphicUsed by:384
Symbol 358 GraphicUsed by:384
Symbol 359 GraphicUsed by:384
Symbol 360 GraphicUsed by:384
Symbol 361 GraphicUsed by:384
Symbol 362 GraphicUsed by:384
Symbol 363 GraphicUsed by:384
Symbol 364 GraphicUsed by:384
Symbol 365 GraphicUsed by:384
Symbol 366 GraphicUsed by:384
Symbol 367 GraphicUsed by:384
Symbol 368 GraphicUsed by:384
Symbol 369 GraphicUsed by:384
Symbol 370 GraphicUsed by:384
Symbol 371 GraphicUsed by:384
Symbol 372 GraphicUsed by:384
Symbol 373 GraphicUsed by:384
Symbol 374 GraphicUsed by:384
Symbol 375 GraphicUsed by:384
Symbol 376 GraphicUsed by:384
Symbol 377 GraphicUsed by:384
Symbol 378 GraphicUsed by:384
Symbol 379 GraphicUsed by:384
Symbol 380 GraphicUsed by:384
Symbol 381 GraphicUsed by:384
Symbol 382 GraphicUsed by:384
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:357 317 358 321 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383Used by:417
Symbol 385 GraphicUsed by:400
Symbol 386 GraphicUsed by:400
Symbol 387 GraphicUsed by:400
Symbol 388 GraphicUsed by:400
Symbol 389 GraphicUsed by:400
Symbol 390 GraphicUsed by:400
Symbol 391 GraphicUsed by:400
Symbol 392 GraphicUsed by:400
Symbol 393 GraphicUsed by:400
Symbol 394 GraphicUsed by:400
Symbol 395 GraphicUsed by:400
Symbol 396 GraphicUsed by:400
Symbol 397 GraphicUsed by:400
Symbol 398 GraphicUsed by:400
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:385 386 387 388 389 390 391 392 393 394 395 396 397 398 399Used by:417
Symbol 401 GraphicUsed by:416
Symbol 402 GraphicUsed by:416
Symbol 403 GraphicUsed by:416
Symbol 404 GraphicUsed by:416
Symbol 405 GraphicUsed by:416
Symbol 406 GraphicUsed by:416
Symbol 407 GraphicUsed by:416
Symbol 408 GraphicUsed by:416
Symbol 409 GraphicUsed by:416
Symbol 410 GraphicUsed by:416
Symbol 411 GraphicUsed by:416
Symbol 412 GraphicUsed by:416
Symbol 413 GraphicUsed by:416
Symbol 414 GraphicUsed by:416
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:401 402 321 403 404 405 406 407 408 409 410 411 412 413 414 415Used by:417
Symbol 417 MovieClipUses:313 314 315 356 384 400 416Used by:Timeline
Symbol 418 GraphicUsed by:420
Symbol 419 EditableTextUses:14Used by:420
Symbol 420 MovieClipUses:418 419Used by:Timeline
Symbol 421 GraphicUsed by:423
Symbol 422 TextUses:14Used by:423
Symbol 423 MovieClipUses:421 422Used by:Timeline
Symbol 424 EditableTextUses:14Used by:Timeline
Symbol 425 FontUsed by:426 427
Symbol 426 TextUses:425Used by:428
Symbol 427 TextUses:425Used by:428
Symbol 428 MovieClipUses:426 427Used by:Timeline
Symbol 429 GraphicUsed by:434
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:430Used by:434
Symbol 432 MovieClipUses:171Used by:434
Symbol 433 EditableTextUses:14Used by:434
Symbol 434 MovieClipUses:429 431 432 433Used by:Timeline
Symbol 435 EditableTextUses:14Used by:447
Symbol 436 EditableTextUses:14Used by:447
Symbol 437 EditableTextUses:14Used by:447
Symbol 438 EditableTextUses:14Used by:447
Symbol 439 EditableTextUses:14Used by:447
Symbol 440 EditableTextUses:14Used by:447
Symbol 441 EditableTextUses:14Used by:447
Symbol 442 EditableTextUses:14Used by:447
Symbol 443 EditableTextUses:14Used by:447
Symbol 444 EditableTextUses:14Used by:447
Symbol 445 EditableTextUses:14Used by:447
Symbol 446 EditableTextUses:14Used by:447
Symbol 447 MovieClipUses:435 436 437 438 439 440 441 442 443 444 445 446Used by:Timeline
Symbol 448 GraphicUsed by:449
Symbol 449 ButtonUses:448Used by:Timeline
Symbol 450 GraphicUsed by:Timeline
Symbol 451 TextUses:82Used by:453
Symbol 452 TextUses:82Used by:453
Symbol 453 ButtonUses:126 451 121 128 452 130Used by:Timeline
Symbol 454 GraphicUsed by:459
Symbol 455 TextUses:82Used by:459 463
Symbol 456 GraphicUsed by:459 463
Symbol 457 TextUses:82Used by:459
Symbol 458 GraphicUsed by:459
Symbol 459 ButtonUses:454 455 121 456 457 458 176Used by:Timeline
Symbol 460 GraphicUsed by:463
Symbol 461 TextUses:82Used by:463
Symbol 462 GraphicUsed by:463
Symbol 463 ButtonUses:460 455 121 456 461 462 176Used by:Timeline
Symbol 464 GraphicUsed by:466
Symbol 465 GraphicUsed by:466
Symbol 466 MovieClipUses:464 465Used by:472
Symbol 467 GraphicUsed by:472
Symbol 468 TextUses:82Used by:472
Symbol 469 GraphicUsed by:472
Symbol 470 TextUses:82Used by:472
Symbol 471 GraphicUsed by:472
Symbol 472 ButtonUses:466 467 468 121 469 470 471Used by:Timeline
Symbol 473 GraphicUsed by:477
Symbol 474 TextUses:82Used by:477
Symbol 475 GraphicUsed by:477
Symbol 476 GraphicUsed by:477
Symbol 477 ButtonUses:473 474 121 475 476Used by:Timeline
Symbol 478 GraphicUsed by:Timeline
Symbol 479 EditableTextUses:82Used by:Timeline
Symbol 480 GraphicUsed by:Timeline
Symbol 481 TextUses:82Used by:Timeline
Symbol 482 TextUses:82Used by:Timeline
Symbol 483 EditableTextUses:82Used by:Timeline
Symbol 484 GraphicUsed by:Timeline
Symbol 485 GraphicUsed by:487 493
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:485 486Used by:493
Symbol 488 GraphicUsed by:493
Symbol 489 TextUses:82Used by:493
Symbol 490 GraphicUsed by:493
Symbol 491 TextUses:82Used by:493
Symbol 492 GraphicUsed by:493
Symbol 493 ButtonUses:485 487 488 489 121 490 491 492Used by:Timeline
Symbol 494 GraphicUsed by:497
Symbol 495 TextUses:14Used by:497
Symbol 496 GraphicUsed by:497
Symbol 497 MovieClipUses:494 495 496Used by:Timeline
Symbol 498 GraphicUsed by:500
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:498 499Used by:Timeline
Symbol 501 GraphicUsed by:504
Symbol 502 GraphicUsed by:504
Symbol 503 GraphicUsed by:504
Symbol 504 ButtonUses:501 502 503Used by:Timeline
Symbol 505 GraphicUsed by:Timeline
Symbol 506 GraphicUsed by:515
Symbol 507 TextUses:82Used by:515
Symbol 508 GraphicUsed by:515
Symbol 509 GraphicUsed by:515
Symbol 510 GraphicUsed by:515
Symbol 511 GraphicUsed by:515
Symbol 512 GraphicUsed by:515
Symbol 513 TextUses:82Used by:515
Symbol 514 GraphicUsed by:515
Symbol 515 ButtonUses:506 507 508 509 510 511 512 513 514Used by:Timeline
Symbol 516 BitmapUsed by:517 520
Symbol 517 GraphicUses:516Used by:521
Symbol 518 BitmapUsed by:519
Symbol 519 GraphicUses:518Used by:521
Symbol 520 GraphicUses:516Used by:521
Symbol 521 ButtonUses:517 519 520Used by:Timeline
Symbol 522 GraphicUsed by:527
Symbol 523 TextUses:82Used by:527
Symbol 524 GraphicUsed by:527
Symbol 525 TextUses:82Used by:527
Symbol 526 GraphicUsed by:527
Symbol 527 ButtonUses:522 523 121 524 525 526Used by:Timeline
Symbol 528 MovieClipUses:16Used by:532
Symbol 529 GraphicUsed by:530 533
Symbol 530 MovieClipUses:529Used by:532
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClipUses:528 530 531Used by:Timeline
Symbol 533 MovieClipUses:529Used by:Timeline
Symbol 534 GraphicUsed by:541
Symbol 535 FontUsed by:536
Symbol 536 TextUses:535Used by:541
Symbol 537 FontUsed by:538 539
Symbol 538 TextUses:537Used by:541
Symbol 539 TextUses:537Used by:541
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:534 536 538 539 540Used by:Timeline
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClipUses:542Used by:Timeline
Symbol 544 GraphicUsed by:546
Symbol 545 TextUses:82Used by:546
Symbol 546 MovieClipUses:544 545Used by:Timeline
Symbol 547 MovieClipUses:155Used by:Timeline
Symbol 548 GraphicUsed by:Timeline
Symbol 549 SoundUsed by:550
Symbol 550 MovieClipUses:549Used by:Timeline
Symbol 551 SoundUsed by:552
Symbol 552 MovieClipUses:551Used by:Timeline
Symbol 553 SoundUsed by:554
Symbol 554 MovieClipUses:553Used by:Timeline
Symbol 555 SoundUsed by:556
Symbol 556 MovieClipUses:555Used by:Timeline
Symbol 557 SoundUsed by:558
Symbol 558 MovieClipUses:557Used by:Timeline
Symbol 559 SoundUsed by:560
Symbol 560 MovieClipUses:559Used by:Timeline
Symbol 561 SoundUsed by:562
Symbol 562 MovieClipUses:561Used by:Timeline
Symbol 563 SoundUsed by:564
Symbol 564 MovieClipUses:563Used by:Timeline

Instance Names

"District_mc"Frame 1Symbol 112 MovieClip
"play_btn"Frame 1Symbol 125 Button
"help_btn"Frame 1Symbol 131 Button
"S3_mc"Frame 1Symbol 139 MovieClip
"BJContry_btn"Frame 1Symbol 151 Button
"help_mc"Frame 1Symbol 154 MovieClip
"dark1_mc"Frame 1Symbol 156 MovieClip
"inf00_txt"Frame 1Symbol 157 EditableText
"inf02_txt"Frame 1Symbol 158 EditableText
"SPP_btn"Frame 1Symbol 167 Button
"PogrBar_mc"Frame 1Symbol 174 MovieClip
"countryLog_mc"Frame 2Symbol 177 MovieClip
"FLVlog_mc"Frame 2Symbol 177 MovieClip
"District_mc"Frame 2Symbol 112 MovieClip
"my_flvPb"Frame 2Symbol 94 MovieClip [FLVPlayback]
"RoomSt_mc"Frame 2Symbol 185 MovieClip
"RoomIn_mc"Frame 2Symbol 190 MovieClip
"pressInside1_mc"Frame 2Symbol 233 MovieClip
"pressInside2_mc"Frame 2Symbol 239 MovieClip
"pressInside3_mc"Frame 2Symbol 245 MovieClip
"GirlPic12BViola_mc"Frame 2Symbol 248 MovieClip
"GirlPic03BTricia_mc"Frame 2Symbol 251 MovieClip
"GirlPic10BTina_mc"Frame 2Symbol 254 MovieClip
"GirlPic02BSarka_mc"Frame 2Symbol 257 MovieClip
"GirlPic04BSarika_mc"Frame 2Symbol 260 MovieClip
"GirlPic01BNancyA_mc"Frame 2Symbol 263 MovieClip
"GirlPic07BMonika_mc"Frame 2Symbol 266 MovieClip
"GirlPic09BMerry_mc"Frame 2Symbol 269 MovieClip
"GirlPic05BJillian_mc"Frame 2Symbol 272 MovieClip
"GirlPic08BEstonika_mc"Frame 2Symbol 275 MovieClip
"GirlPic06BDora_mc"Frame 2Symbol 278 MovieClip
"GirlPic11BBianca_mc"Frame 2Symbol 281 MovieClip
"DoorOpen_mc"Frame 2Symbol 295 MovieClip
"DoorPress_mc"Frame 2Symbol 312 MovieClip
"Katz_mc"Frame 2Symbol 417 MovieClip
"girlSpeak_mc"Frame 2Symbol 420 MovieClip
"ClickToBuy_mc"Frame 2Symbol 423 MovieClip
"info_txt"Frame 2Symbol 424 EditableText
"Congrs_mc"Frame 2Symbol 428 MovieClip
"PercntBar_mc"Frame 2Symbol 434 MovieClip
"Testdata_mc"Frame 2Symbol 447 MovieClip
"Test_btn"Frame 2Symbol 449 Button
"END_btn"Frame 2Symbol 453 Button
"Help_btn"Frame 2Symbol 131 Button
"SoundOn_btn"Frame 2Symbol 459 Button
"SoundOff_btn"Frame 2Symbol 463 Button
"MorePlay_btn"Frame 2Symbol 472 Button
"MoreGames_btn"Frame 2Symbol 477 Button
"Visited_txt"Frame 2Symbol 479 EditableText
"won_txt"Frame 2Symbol 483 EditableText
"ExitBJ_btn"Frame 2Symbol 493 Button
"reloadGame_mc"Frame 2Symbol 497 MovieClip
"cartBlink_mc"Frame 2Symbol 500 MovieClip
"ShopCart_btn"Frame 2Symbol 504 Button
"MoreHer_btn"Frame 2Symbol 515 Button
"LogoiStrip_btn"Frame 2Symbol 521 Button
"TEST_btn"Frame 2Symbol 527 Button
"ShopCart_mc"Frame 2Symbol 532 MovieClip
"GiftPlace_mc"Frame 2Symbol 533 MovieClip
"cardOnPanel_mc"Frame 2Symbol 541 MovieClip
"CardBan_mc"Frame 2Symbol 543 MovieClip
"NotEnoughMon_mc"Frame 2Symbol 546 MovieClip
"DarkFon_mc"Frame 2Symbol 547 MovieClip
"help_mc"Frame 2Symbol 154 MovieClip
"soundOK_mc"Frame 2Symbol 550 MovieClip
"SoundOops_mc"Frame 2Symbol 552 MovieClip
"bumpSnd_mc"Frame 2Symbol 554 MovieClip
"VictorySound_mc"Frame 2Symbol 556 MovieClip
"fanfarySound_mc"Frame 2Symbol 558 MovieClip
"SoundSatisf_mc"Frame 2Symbol 560 MovieClip
"PaySound_mc"Frame 2Symbol 562 MovieClip
"LoseSnd_mc"Frame 2Symbol 564 MovieClip
"GirlPic_mc"Symbol 12 MovieClip Frame 1Symbol 6 MovieClip
"Place02_mc"Symbol 19 MovieClip [BuildS01] Frame 1Symbol 3 MovieClip
"BLD"Symbol 19 MovieClip [BuildS01] Frame 1Symbol 12 MovieClip
"N_txt"Symbol 19 MovieClip [BuildS01] Frame 1Symbol 15 EditableText
"Hit_btn"Symbol 19 MovieClip [BuildS01] Frame 1Symbol 17 MovieClip
"sq_mc"Symbol 85 MovieClip [EmptyBld] Frame 1Symbol 78 MovieClip
"Hit_btn"Symbol 85 MovieClip [EmptyBld] Frame 1Symbol 80 MovieClip
"N_txt"Symbol 85 MovieClip [EmptyBld] Frame 1Symbol 83 EditableText
"_video"Symbol 90 MovieClip [VideoPlayer] Frame 1Symbol 89 Video
"boundingBox_mc"Symbol 94 MovieClip [FLVPlayback] Frame 1Symbol 88 MovieClip
"BordUp_mc"Symbol 112 MovieClip Frame 1Symbol 107 MovieClip
"BordDn_mc"Symbol 112 MovieClip Frame 1Symbol 109 MovieClip
"BordLf_mc"Symbol 112 MovieClip Frame 1Symbol 111 MovieClip
"BordRt_mc"Symbol 112 MovieClip Frame 1Symbol 111 MovieClip
"b05"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b06"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b08"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b09"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b11"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b12"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b14"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b15"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b17"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b18"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b02"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b03"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b04"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b07"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b10"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b13"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b16"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"b01"Symbol 112 MovieClip Frame 1Symbol 85 MovieClip [EmptyBld]
"FLVbar_mc"Symbol 174 MovieClip Frame 1Symbol 170 MovieClip
"barMask_mc"Symbol 174 MovieClip Frame 1Symbol 172 MovieClip
"BackWall_mc"Symbol 185 MovieClip Frame 1Symbol 179 MovieClip
"table_mc"Symbol 185 MovieClip Frame 1Symbol 184 MovieClip
"BackWall_mc"Symbol 190 MovieClip Frame 1Symbol 188 MovieClip
"GirlPic06sDora_mc"Symbol 233 MovieClip Frame 1Symbol 199 MovieClip
"GirlPic01sNancyA_mc"Symbol 233 MovieClip Frame 1Symbol 202 MovieClip
"GirlPic02sSarka_mc"Symbol 233 MovieClip Frame 1Symbol 205 MovieClip
"GirlPic04sSarika_mc"Symbol 233 MovieClip Frame 1Symbol 208 MovieClip
"GirlPic03sTricia_mc"Symbol 233 MovieClip Frame 1Symbol 211 MovieClip
"GirlPic05sJillian_mc"Symbol 233 MovieClip Frame 1Symbol 214 MovieClip
"GirlPic07sMonika_mc"Symbol 233 MovieClip Frame 1Symbol 217 MovieClip
"GirlPic08sEstonika_mc"Symbol 233 MovieClip Frame 1Symbol 220 MovieClip
"GirlPic09sMerry_mc"Symbol 233 MovieClip Frame 1Symbol 223 MovieClip
"GirlPic10sTina_mc"Symbol 233 MovieClip Frame 1Symbol 226 MovieClip
"GirlPic11sBianca_mc"Symbol 233 MovieClip Frame 1Symbol 229 MovieClip
"GirlPic12sViola_mc"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"GirlPic06sDora_mc"Symbol 239 MovieClip Frame 1Symbol 199 MovieClip
"GirlPic01sNancyA_mc"Symbol 239 MovieClip Frame 1Symbol 202 MovieClip
"GirlPic02sSarka_mc"Symbol 239 MovieClip Frame 1Symbol 205 MovieClip
"GirlPic04sSarika_mc"Symbol 239 MovieClip Frame 1Symbol 208 MovieClip
"GirlPic03sTricia_mc"Symbol 239 MovieClip Frame 1Symbol 211 MovieClip
"GirlPic05sJillian_mc"Symbol 239 MovieClip Frame 1Symbol 214 MovieClip
"GirlPic07sMonika_mc"Symbol 239 MovieClip Frame 1Symbol 217 MovieClip
"GirlPic08sEstonika_mc"Symbol 239 MovieClip Frame 1Symbol 220 MovieClip
"GirlPic09sMerry_mc"Symbol 239 MovieClip Frame 1Symbol 223 MovieClip
"GirlPic10sTina_mc"Symbol 239 MovieClip Frame 1Symbol 226 MovieClip
"GirlPic11sBianca_mc"Symbol 239 MovieClip Frame 1Symbol 229 MovieClip
"GirlPic12sViola_mc"Symbol 239 MovieClip Frame 1Symbol 232 MovieClip
"GirlPic06sDora_mc"Symbol 245 MovieClip Frame 1Symbol 199 MovieClip
"GirlPic01sNancyA_mc"Symbol 245 MovieClip Frame 1Symbol 202 MovieClip
"GirlPic02sSarka_mc"Symbol 245 MovieClip Frame 1Symbol 205 MovieClip
"GirlPic04sSarika_mc"Symbol 245 MovieClip Frame 1Symbol 208 MovieClip
"GirlPic03sTricia_mc"Symbol 245 MovieClip Frame 1Symbol 211 MovieClip
"GirlPic05sJillian_mc"Symbol 245 MovieClip Frame 1Symbol 214 MovieClip
"GirlPic07sMonika_mc"Symbol 245 MovieClip Frame 1Symbol 217 MovieClip
"GirlPic08sEstonika_mc"Symbol 245 MovieClip Frame 1Symbol 220 MovieClip
"GirlPic09sMerry_mc"Symbol 245 MovieClip Frame 1Symbol 223 MovieClip
"GirlPic10sTina_mc"Symbol 245 MovieClip Frame 1Symbol 226 MovieClip
"GirlPic11sBianca_mc"Symbol 245 MovieClip Frame 1Symbol 229 MovieClip
"GirlPic12sViola_mc"Symbol 245 MovieClip Frame 1Symbol 232 MovieClip
"Contact_mc"Symbol 417 MovieClip Frame 1Symbol 313 MovieClip
"point1_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point2_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point3_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point6_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point7_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point8_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point4_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"point5_mc"Symbol 417 MovieClip Frame 1Symbol 314 MovieClip
"HeadBoy_mc"Symbol 417 MovieClip Frame 1Symbol 315 MovieClip
"BoyLeft_mc"Symbol 417 MovieClip Frame 1Symbol 356 MovieClip
"BoyRight_mc"Symbol 417 MovieClip Frame 1Symbol 384 MovieClip
"BoyBack_mc"Symbol 417 MovieClip Frame 1Symbol 400 MovieClip
"BoyFront_mc"Symbol 417 MovieClip Frame 1Symbol 416 MovieClip
"speach_txt"Symbol 420 MovieClip Frame 1Symbol 419 EditableText
"FLVbar_mc"Symbol 434 MovieClip Frame 1Symbol 431 MovieClip
"barMask_mc"Symbol 434 MovieClip Frame 1Symbol 432 MovieClip
"prcnt_txt"Symbol 434 MovieClip Frame 1Symbol 433 EditableText
"FLVtime_txt"Symbol 447 MovieClip Frame 1Symbol 435 EditableText
"cues_txt"Symbol 447 MovieClip Frame 1Symbol 436 EditableText
"E_txt"Symbol 447 MovieClip Frame 1Symbol 437 EditableText
"S_txt"Symbol 447 MovieClip Frame 1Symbol 438 EditableText
"cuesPts_txt"Symbol 447 MovieClip Frame 1Symbol 439 EditableText
"ID_txt"Symbol 447 MovieClip Frame 1Symbol 440 EditableText
"W_txt"Symbol 447 MovieClip Frame 1Symbol 441 EditableText
"H_txt"Symbol 447 MovieClip Frame 1Symbol 442 EditableText
"x1_txt"Symbol 447 MovieClip Frame 1Symbol 443 EditableText
"y1_txt"Symbol 447 MovieClip Frame 1Symbol 444 EditableText
"totalT_txt"Symbol 447 MovieClip Frame 1Symbol 445 EditableText
"Levl_txt"Symbol 447 MovieClip Frame 1Symbol 446 EditableText
"bottom_mc"Symbol 532 MovieClip Frame 1Symbol 528 MovieClip
"CartFon_mc"Symbol 532 MovieClip Frame 1Symbol 530 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 19 as "BuildS01"
ExportAssets (56)Timeline Frame 1Symbol 22 as "bld001"
ExportAssets (56)Timeline Frame 1Symbol 25 as "bld002"
ExportAssets (56)Timeline Frame 1Symbol 28 as "bld003"
ExportAssets (56)Timeline Frame 1Symbol 31 as "bld004"
ExportAssets (56)Timeline Frame 1Symbol 34 as "bld005"
ExportAssets (56)Timeline Frame 1Symbol 37 as "bld006"
ExportAssets (56)Timeline Frame 1Symbol 40 as "bld007"
ExportAssets (56)Timeline Frame 1Symbol 43 as "bld008"
ExportAssets (56)Timeline Frame 1Symbol 46 as "BldV201"
ExportAssets (56)Timeline Frame 1Symbol 49 as "BldV202"
ExportAssets (56)Timeline Frame 1Symbol 52 as "BldV203"
ExportAssets (56)Timeline Frame 1Symbol 55 as "BldV204"
ExportAssets (56)Timeline Frame 1Symbol 58 as "BldV205"
ExportAssets (56)Timeline Frame 1Symbol 61 as "BldV206"
ExportAssets (56)Timeline Frame 1Symbol 64 as "BldV207"
ExportAssets (56)Timeline Frame 1Symbol 67 as "BldV208"
ExportAssets (56)Timeline Frame 1Symbol 70 as "BldPress0"
ExportAssets (56)Timeline Frame 1Symbol 73 as "BldPress1"
ExportAssets (56)Timeline Frame 1Symbol 76 as "BldPress2"
ExportAssets (56)Timeline Frame 1Symbol 85 as "EmptyBld"
ExportAssets (56)Timeline Frame 1Symbol 90 as "VideoPlayer"
ExportAssets (56)Timeline Frame 1Symbol 93 as "Icon"
ExportAssets (56)Timeline Frame 1Symbol 94 as "FLVPlayback"
ExportAssets (56)Timeline Frame 1Symbol 86 as "__Packages.mx.video.FLVPlayback"
ExportAssets (56)Timeline Frame 1Symbol 99 as "__Packages.mx.video.UIManager"
ExportAssets (56)Timeline Frame 1Symbol 95 as "__Packages.mx.video.VideoPlayer"
ExportAssets (56)Timeline Frame 1Symbol 96 as "__Packages.mx.video.INCManager"
ExportAssets (56)Timeline Frame 1Symbol 97 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 98 as "__Packages.mx.video.VideoError"
ExportAssets (56)Timeline Frame 1Symbol 103 as "__Packages.mx.video.NCManager"
ExportAssets (56)Timeline Frame 1Symbol 101 as "__Packages.mx.video.SMILManager"
ExportAssets (56)Timeline Frame 1Symbol 100 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 102 as "__Packages.mx.video.FPADManager"
ExportAssets (56)Timeline Frame 1Symbol 104 as "__Packages.mx.video.CuePointManager"

Labels

"introinit"Frame 1
"stand0"Symbol 356 MovieClip Frame 1
"LFWD"Symbol 356 MovieClip Frame 7
"stand1"Symbol 356 MovieClip Frame 13
"stand2"Symbol 356 MovieClip Frame 25
"stand0"Symbol 384 MovieClip Frame 1
"LFWD"Symbol 384 MovieClip Frame 7
"stand1"Symbol 384 MovieClip Frame 13
"stand2"Symbol 384 MovieClip Frame 25
"stand0"Symbol 400 MovieClip Frame 1
"RtFwd"Symbol 400 MovieClip Frame 4
"Stand1"Symbol 400 MovieClip Frame 7
"Stand2"Symbol 400 MovieClip Frame 13
"stand0"Symbol 416 MovieClip Frame 1
"LFr"Symbol 416 MovieClip Frame 4
"Stand1"Symbol 416 MovieClip Frame 7
"Stand2"Symbol 416 MovieClip Frame 13
"blinkCyc"Symbol 500 MovieClip Frame 2
"StopSound"Symbol 556 MovieClip Frame 41




http://swfchan.com/42/207266/info.shtml
Created: 23/7 -2019 12:39:52 Last modified: 23/7 -2019 12:39:52 Server time: 22/12 -2024 09:38:00