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

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

challengeMsg.swf

This is the info page for
Flash #10818

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


ActionScript [AS1/AS2]
Frame 1
function update(state, opponentName) { trace2("in challengeMsg, update, state = " + state); if (state == _root.ChallengeState.REQUEST_SENT_AND_WAIT) { txtTitle.text = _root.ltxt("WAITING_FOR_OPPONENT"); txtTitle2.text = _root.ltxt("WAITING_FOR_OPPONENT"); txtMessage.text = _root.ltxt("ALERT_WAITING_FOR_MEMBER_TO_ACC"); icons.gotoAndStop(3); btnOK._visible = true; btnOK.setLabel("BTN_CANCEL"); btnOK.onPress = function () { hide(); _root.cancelChallenge(); }; gotoAndPlay (3); } else if (state == _root.ChallengeState.REQUEST_REJECTED) { txtTitle.text = _root.ltxt("UC_CHALLENGE_DECLINED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_DECLINED"); txtMessage.text = _root.ltxt("ALERT_MEMBER_HAS_DEC_CHALLENGE"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } else if (state == _root.ChallengeState.OPP_NOTOKEN) { txtTitle.text = _root.ltxt("UC_CHALLENGE_DECLINED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_DECLINED"); txtMessage.text = _root.ltxt("ALERT_MEMBER_HAS_DEC_CHALLENGE"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } else if (state == _root.ChallengeState.OPP_DIFF_VER) { txtTitle.text = _root.ltxt("UC_CHALLENGE_DECLINED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_DECLINED"); txtMessage.text = _root.ltxt("ALERT_MATCHUP_MISSMATCH"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } else if (state == _root.ChallengeState.REQUEST_NOT_DELIVERED) { txtTitle.text = _root.ltxt("UC_CHALLENGE_NOT_DELIVERED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_NOT_DELIVERED"); txtMessage.text = _root.ltxt("ALERT_CHALLENGE_NOT_DELIVERED"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } else if (state == _root.ChallengeState.REQUEST_ACCEPTED) { txtTitle.text = _root.ltxt("UC_CHALLENGE_ACCEPTED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_ACCEPTED"); txtMessage.text = _root.ltxt("ALERT_MEMBER_HAS_ACC_CHALLENGE"); icons.gotoAndStop(2); btnOK._visible = false; btnOK.onPress = function () { }; } else if (state == _root.ChallengeState.REQUEST_CANCELED) { txtTitle.text = _root.ltxt("UC_CHALLENGE_CANCELED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_CANCELED"); txtMessage.text = ((_root.ltxt("CHALLENGER:") + opponentName) + newline) + _root.ltxt("CHALLENGE_CANCELED"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } else if (state == _root.ChallengeState.REQUEST_TIMEOUT) { txtTitle.text = _root.ltxt("UC_CHALLENGE_NOT_DELIVERED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_NOT_DELIVERED"); txtMessage.text = _root.ltxt("ALERT_COMMUNICATION_FAILED"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } else if (state == _root.ChallengeState.REQUEST_OPP_OFFLINE) { txtTitle.text = _root.ltxt("UC_CHALLENGE_NOT_DELIVERED"); txtTitle2.text = _root.ltxt("UC_CHALLENGE_NOT_DELIVERED"); txtMessage.text = _root.ltxt("BL_MSG_OFFLINE_NOW"); icons.gotoAndStop(2); btnOK._visible = true; btnOK.setLabel("BTN_OK"); btnOK.onPress = function () { hide(); }; } } function hide() { this._visible = false; } function show() { this._visible = true; } function initMain() { txtTitle.setFont(tfN10); txtTitle2.setFont(tfN10); txtMessage.setFont(tfN2); txtTitle.text = ""; txtTitle2.text = ""; txtMessage.text = ""; btnOK.setLabel(""); } var seconds = 30; var endTime = 0; this.tabEnabled = false; this.tabChildren = false; nextFrame();
Instance of Symbol 13 Imported [easoButtonS] "btnOK" in Frame 1
//component parameters onClipEvent (initialize) { label = "BTN_OK"; bLocalize = true; bcolor = "blue"; }
Frame 2
initMain(); stop(); _parent.challengeMsgOnLoad();
Frame 3
endTime = getTimer() + (seconds * 1000);
Frame 5
stop(); if (getTimer() < endtime) { if (_root.gChallenge.state == _root.ChallengeState.REQUEST_SENT_AND_WAIT) { gotoAndPlay (4); } } else if (_root.gChallenge.state == _root.ChallengeState.REQUEST_SENT_AND_WAIT) { _root.processChallengeMessage(_root.gChallenge.opponentName, _root.ChallengeMessageType.IS_BUSY, ""); }

Library Items

Symbol 1 Imported [easoBackgroundCover]Used by:Timeline
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:2Used by:4
Symbol 4 MovieClipUses:3Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:7
Symbol 7 MovieClipUses:6Used by:Timeline
Symbol 8 FontUsed by:9 10
Symbol 9 EditableTextUses:8Used by:Timeline
Symbol 10 EditableTextUses:8Used by:Timeline
Symbol 11 FontUsed by:12
Symbol 12 EditableTextUses:11Used by:Timeline
Symbol 13 Imported [easoButtonS]Used by:Timeline

Instance Names

"txtTitle2"Frame 1Symbol 9 EditableText
"txtTitle"Frame 1Symbol 10 EditableText
"txtMessage"Frame 1Symbol 12 EditableText
"btnOK"Frame 1Symbol 13 Imported [easoButtonS]

Special Tags

ImportAssets (57)Timeline Frame 1Symbol 1 as "easoBackgroundCover" from "easoControls.swf"
ImportAssets (57)Timeline Frame 1Symbol 13 as "easoButtonS" from "easoControls.swf"

Labels

"msgmain"Frame 1
"startWait"Frame 3
"loopFrame"Frame 4




http://swfchan.com/3/10818/info.shtml
Created: 8/6 -2019 00:14:01 Last modified: 8/6 -2019 00:14:01 Server time: 14/11 -2024 17:27:37