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

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

Chat-with-Elita.swf

This is the info page for
Flash #208678

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


Text
Screenname

<p align="left"><font face="Arial" size="11" color="#000000" letterSpacing="0.000000" kerning="0">HEJ<b>hej</b><i>hej</i></font></p><p align="left"><font face="Arial" size="11" color="#000000" letterSpacing="0.000000" kerning="0"><i>HowDo you do</i></font></p><p align="left"></p><p align="left"></p><p align="left"></p>

hej

<p align="left"></p><p align="left"></p><p align="left"></p>


<p align="left"><font face="Arial" size="11" color="#306784" letterSpacing="0.000000" kerning="0">Sign up</font></p><p align="left"></p><p align="left"></p><p align="left"></p>

<p align="left"><font face="Arial" size="11" color="#306784" letterSpacing="0.000000" kerning="0">Become </font></p><p align="left"></p><p align="left"></p><p align="left"></p>

<p align="left"><font face="Arial" size="11" color="#000000" letterSpacing="0.000000" kerning="0">Win a </font></p><p align="left"></p><p align="left"></p><p align="left"></p>

<p align="left"><font face="Arial" size="11" color="#000000" letterSpacing="0.000000" kerning="0">Sign up</font></p><p align="left"></p><p align="left"></p><p align="left"></p>




Thank you for registering at Elita Fan Club. You will receive
a
mail in a minute.
Click the "Messenger" tab to continue chatting with Elita.




Your tip has been sent to your friend. Click the
"messenger" tab to continue chatting with
Elita.

ActionScript [AS1/AS2]

Frame 1
function grabText(sNodeName) { var _local1 = xml.firstChild.firstChild; while (_local1 != null) { if (_local1.nodeName.toString() == sNodeName) { return(_local1.firstChild.toString()); } _local1 = _local1.nextSibling; } return("error"); } _global.MyAdd = _root._url.split("chat_with_elita.swf").join(""); var letters = new Object(); aXML = new XML(); aXML.ignoreWhite = true; aXML.load(_global.MyAdd + "keywords.xml"); aXML.onLoad = function () { var _local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_"; i = 0; while (i < _local2.length) { currletter = new XML(); var _local1 = aXML.firstChild; while (_local1 != null) { if (_local1.firstChild.nodeName.toString() == "pattern") { n = _local1.firstChild.firstChild.toString().charAt(0); if (n == "*") { n = "_"; } if (n == _local2.charAt(i).toUpperCase()) { node = _local1.cloneNode(true); currletter.appendChild(node); } } _local1 = _local1.nextSibling; } letters[_local2.charAt(i)] = currletter; i++; } }; _root.onKeyDown = function () { if (Key.isDown(13)) { play(); } }; var l = new Object(); l.onSetFocus = function (oldFocus, newFocus) { if (newFocus == _root.enterName) { _root.enterName.text = ""; } }; Selection.addListener(l); var xml = new XML(); xml.ignoreWhite = true; xml.load(_global.MyAdd + "events.xml"); xml.onLoad = function (info) { _root.header.htmlText = grabText("header"); _root.link1.htmlText = grabText("link1"); _root.link2.htmlText = grabText("link2"); _root.text1.htmlText = grabText("text1"); _root.text2.htmlText = grabText("text2"); }; stop();
Frame 2
function processText() { mytext = _root.hejsna.text; if (mytext == "") { return(undefined); } _root.hejsna.text = ""; _root.history.htmlText = _root.history.htmlText + formatToChat(myname, mytext); _root.history.scroll = _root.history.maxscroll; if (textqueue.length) { _root.history.htmlText = _root.history.htmlText + formatToChat("Elita ", "User is currently away from the computer."); return(undefined); } mytext = mytext.toUpperCase(); nodeFinder = {txt:mytext, rootNode:letters[mytext.charAt(0)], currNode:letters[mytext.charAt(0)].firstChild, nodeTimer:getTimer() + 100, processing:true, exact:false, result:0}; } function makeVideoArea(sClip) { video_ns.onStatus = function (info) { switch (info.code) { case "NetStream.Play.Stop" : addtime = this.time * 1000; restart = true; break; case "NetStream.Play.Start" : currtime = currtime + addtime; if (currtime >= 0) { break; } currtime = 0; } }; video_ns.play(_global.MyAdd + sClip); videoarea.attachVideo(video_ns); } function formatToChat(sName, sText) { return(((((("<b>" + sName) + "(") + getCurrTime()) + "):</b> ") + sText) + newline); } function getCurrTime() { var _local1 = new Date(); h = _local1.getHours(); a = ((h < 12) ? "AM" : "PM"); h = h % 12; if (h == 0) { h = 12; } m = _local1.getMinutes(); if (h < 10) { h = "0" + h; } if (m < 10) { m = "0" + m; } return((((h + ".") + m) + " ") + a); } function getElapsed() { return(currtime + video_ns.time); } function getRandomVideo() { return(randomvids[mRand(randomvids.length)]); } function getAnswerTime(sVideo) { return(2000); } function explode(sString) { r = new Array(); var _local1 = ""; i = 0; while (i < sString.length) { if (sString.charAt(i) == " ") { r.push(_local1); _local1 = ""; } else { _local1 = _local1 + sString.charAt(i); } i++; } r.push(_local1); return(r); } function findNode(sObj) { var _local2 = sObj.currNode; while (_local2 != null) { word = _local2.firstChild.firstChild.toString(); if (match(sObj.txt, word, sObj.exact)) { if (_local2.firstChild.nextSibling.nodeName.toString() == "srai") { sObj.exact = true; sObj.txt = _local2.firstChild.nextSibling.firstChild.toString(); sObj.rootNode = letters[sObj.txt.charAt(0)]; _local2 = sObj.rootNode.firstChild; } else { sObj.result = getReplyFromNode(_local2); sObj.processing = false; return(undefined); } } if (getTimer() > sObj.nodeTimer) { sObj.currNode = _local2.nextSibling; return(undefined); } _local2 = _local2.nextSibling; } if (sObj.rootNode == letters._) { sObj.result = getNonsenseReply(); sObj.processing = false; } else { sObj.rootNode = letters._; sObj.currNode = letters._.firstChild; } } function match(sText, sWord, sExact) { if (sExact) { return(sText == sWord); } if (matchAtomic(sText, sWord)) { return(true); } switch (patternType(word)) { case 1 : if (matchAtomic(sText.substr(0, word.length - 1), word.substr(0, word.length - 1))) { return(true); } break; case 2 : if (matchAtomic(sText.substr((-word.length) + 1, word.length), word.substr(1, word.length))) { return(true); } break; case 3 : if (sText.indexOf(word.substr(1, word.length - 2)) > -1) { return(true); } w = sText.indexOf(word.substr(1, 3)); if (w <= -1) { break; } if (!matchAtomic(sText.substr(w, word.length - 2), word)) { break; } return(true); } return(false); } function patternType(sPattern) { if ((sPattern.charAt(sPattern.length - 1) == "*") && (sPattern.charAt(0) == "*")) { return(3); } if (sPattern.charAt(0) == "*") { return(2); } if (sPattern.charAt(sPattern.length - 1) == "*") { return(1); } return(-1); } function isPostPattern(sWord) { if (sWord.charAt(sWord.length - 1) == "*") { return(true); } return(false); } function matchAtomic(sPattern, sWord) { d = sWord.length / 5; if (levdist(sPattern.toUpperCase(), sWord.toUpperCase(), 1, 1, 1) < d) { return(true); } return(false); } function getTextReply(sNode) { if (sNode.firstChild.nodeName == null) { return(sNode.toString()); } var _local2 = []; var _local1 = sNode.firstChild; while (_local1 != null) { _local2.push(_local1.firstChild.toString()); _local1 = _local1.nextSibling; } return(_local2[mRand(_local2.length)]); } function getReplyFromNode(sNode) { reply = new Object(); reply.txt = []; reply.vid = []; var _local2 = sNode.firstChild.nextSibling; while (_local2 != null) { switch (_local2.nodeName.toString()) { case "answer" : reply.txt.push({words:getTextReply(_local2.firstChild), answertime:parseInt(_local2.attributes.answertime)}); break; case "randomvid" : r = []; var _local1 = _local2.firstChild; while (_local1 != null) { r.push(_local1.firstChild.toString()); _local1 = _local1.nextSibling; } reply.vid.push(r[mRand(r.length)]); break; case "vid" : reply.vid.push(_local2.firstChild.toString()); } _local2 = _local2.nextSibling; } if (reply.vid == []) { reply.vid = [getRandomVideo()]; reply.answertime = getAnswerTime(reply.vid); } var _local3 = 0; while (_local3 < reply.txt.length) { reply.txt[_local3].answertime; _local3++; } return(reply); } function mRand(sMax) { return(Math.floor(Math.random() * sMax)); } function levdist(s1, s2, cost_ins, cost_rep, cost_del) { var _local3; var _local4; var _local15; var _local8; var _local11; var _local7; var _local1; var _local2; var _local5; var _local6; _local15 = s1.length; _local8 = s2.length; _local3 = Array(_local15); _local4 = Array(_local8); if (_local15 == 0) { return(_local8 * cost_ins); } if (_local8 == 0) { return(_local15 * cost_del); } _local1 = 0; while (_local1 <= _local8) { _local3[_local1] = _local1 * cost_ins; _local1++; } _local7 = 0; while (_local7 < _local15) { _local4[0] = _local3[0] + cost_del; _local1 = 0; while (_local1 < _local8) { _local2 = _local3[_local1] + ((s1.charAt(_local7) == s2.charAt(_local1)) ? 0 : (cost_rep)); _local5 = _local3[_local1 + 1] + cost_del; if (_local5 < _local2) { _local2 = _local5; } _local6 = _local4[_local1] + cost_ins; if (_local6 < _local2) { _local2 = _local6; } _local4[_local1 + 1] = _local2; _local1++; } _local11 = _local3; _local3 = _local4; _local4 = _local11; _local7++; } _local2 = _local3[_local8]; return(_local2); } function getNonsenseReply() { rand = []; rand.push("Yeah... whatever..."); rand.push("Duh?"); rand.push("Exactly WHAT do you mean?"); rand.push("Yada yada yada..."); rand.push("You know, I'm quite busy here... OK?"); rand.push("Well, spank my butt and call me Daisy!"); return({vid:[], txt:[{answertime:2000, words:rand[mRand(rand.length)]}]}); } function grabText(sNodeName) { var _local1 = xml.firstChild.firstChild; while (_local1 != null) { if (_local1.nodeName.toString() == sNodeName) { return(_local1.firstChild.toString()); } _local1 = _local1.nextSibling; } return("error"); } var restart; var queue = new Array(); var textqueue = new Array(); var entar = new Object(); var keywords = new Array(); var currtime = getTimer(); var addtime = 0; var replytime; var clicked; var lockon = false; var reply; var randomvids = ["idle1.flv", "idle2.flv", "idle3.flv", "idle4.flv"]; var nodeFinder = new Object(); myname = myname + " "; _root.history.htmlText = ""; _root.hejsna.text = ""; entar.onKeyDown = function () { if (Key.isDown(13)) { processText(); } }; Key.addListener(entar); _root.chatButton.onRelease = function () { processText(); }; var video_nc = new NetConnection(); video_nc.connect(null); var video_ns = new NetStream(video_nc); makeVideoArea("clip25_enter.flv"); textqueue.push({answertime:10000 + getTimer(), words:"Hello! Anybody there?"}); _root.onEnterFrame = function () { if (nodeFinder.processing) { findNode(nodeFinder); if (!nodeFinder.processing) { var _local2 = 0; while (_local2 < nodeFinder.result.txt.length) { textqueue.push(nodeFinder.result.txt[_local2]); _local2++; } _local2 = 0; while (_local2 < nodeFinder.result.vid.length) { queue.push(nodeFinder.result.vid[_local2]); _local2++; } if (queue.length) { restart = true; } addtime = 0; currtime = (-video_ns.time) * 1000; } } if (restart) { if (queue.length) { makeVideoArea(queue[0]); queue.splice(0, 1); } else { makeVideoArea(getRandomVideo()); } restart = false; } var _local2 = 0; while (_local2 < textqueue.length) { if ((currtime + (video_ns.time * 1000)) >= textqueue[_local2].answertime) { _root.history.htmlText = _root.history.htmlText + formatToChat("Elita ", textqueue[_local2].words); _root.history.scroll = _root.history.maxscroll; textqueue.splice(_local2, 1); } _local2++; } }; var xml = new XML(); xml.ignoreWhite = true; xml.load(_global.MyAdd + "events.xml"); xml.onLoad = function (info) { _root.header.htmlText = grabText("header"); _root.link1.htmlText = grabText("link1"); _root.link2.htmlText = grabText("link2"); _root.text1.htmlText = grabText("text1"); _root.text2.htmlText = grabText("text2"); _root.ElitaURL = grabText("ElitaURL"); _root.PokerURL = grabText("PokerURL"); }; Selection.setFocus("_root.hejsna");
Frame 3
stop();
Frame 4
function grabText(sNodeName) { var _local1 = xml.firstChild.firstChild; while (_local1 != null) { if (_local1.nodeName.toString() == sNodeName) { return(_local1.firstChild.toString()); } _local1 = _local1.nextSibling; } return("error"); } var xml = new XML(); xml.ignoreWhite = true; xml.load(_global.MyAdd + "events.xml"); xml.onLoad = function (info) { _root.header.htmlText = grabText("header"); _root.link1.htmlText = grabText("link1"); _root.link2.htmlText = grabText("link2"); _root.text1.htmlText = grabText("text1"); _root.text2.htmlText = grabText("text2"); _root.ElitaURL = grabText("ElitaURL"); _root.PokerURL = grabText("PokerURL"); };
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Symbol 7 Button
on (release) { play(); }
Symbol 16 Button
on (release) { if (_root.lockon == false) { _root.lock.play(); _root.lockon = true; } else if (_root.lockon == true) { _root.lock.gotoAndPlay("Fadeout"); _root.lockon = false; } }
Symbol 21 Button
on (release) { gotoAndStop ("messenger"); }
Symbol 22 Button
on (release) { gotoAndStop ("Tell a friend"); }
Symbol 23 Button
on (release) { gotoAndStop ("News and Events"); }
Symbol 24 Button
on (release) { gotoAndStop ("Elita fanclub"); }
Symbol 25 Button
on (release) { gotoAndStop ("Play poker"); }
Symbol 30 MovieClip Frame 20
stop(); if (_root.lockon == false) { play(); } else if (_root.lockon == true) { stop(); }
Symbol 30 MovieClip Frame 100
stop();
Symbol 44 Button
on (release) { getURL (_root.PokerURL); }
Symbol 47 MovieClip Frame 1
function rel() { send_lv.firstname = _root.firstname.text; send_lv.lastname = _root.lastname.text; send_lv.email = _root.email.text; send_lv.sendAndLoad("register.php", res_lv, "POST"); } var send_lv = new LoadVars(); var res_lv = new LoadVars(); var clicked = false; res_lv.onLoad = function (success) { if (success) { clicked = false; send_lv.fromname = ""; send_lv.from = ""; send_lv.to = ""; _root.play(); } }; this.onPress = function () { gotoAndStop (2); }; this.onRelease = function () { if (clicked == false) { clicked = true; rel(); } gotoAndStop (1); }; this.onReleaseOutside = function () { if (clicked == false) { clicked = true; rel(); } gotoAndStop (1); }; stop();
Symbol 57 MovieClip Frame 1
function rel() { send_lv.fromname = _root.fromname.text; send_lv.from = _root.from.text; send_lv.to = _root.to.text; send_lv.sendAndLoad("sendmail.php", res_lv, "POST"); } var send_lv = new LoadVars(); var res_lv = new LoadVars(); var clicked = false; res_lv.onLoad = function (success) { if (success) { clicked = false; send_lv.fromname = ""; send_lv.from = ""; send_lv.to = ""; _root.play(); } }; this.onPress = function () { gotoAndStop (2); }; this.onRelease = function () { if (clicked == false) { clicked = true; rel(); } gotoAndStop (1); }; this.onReleaseOutside = function () { if (clicked == false) { clicked = true; rel(); } gotoAndStop (1); }; stop();

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:Timeline
Symbol 3 MovieClipUsed by:Timeline
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6 7
Symbol 6 MovieClipUses:5Used by:7
Symbol 7 ButtonUses:6 5Used by:Timeline
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:Timeline
Symbol 10 FontUsed by:11 19 35 36 37 38 50 51 52 54 58 59 60 61
Symbol 11 EditableTextUses:10Used by:Timeline
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14 47 57
Symbol 14 MovieClipUses:13Used by:Timeline
Symbol 15 GraphicUsed by:16 21 22 23 24 25 44
Symbol 16 ButtonUses:15Used by:Timeline
Symbol 17 FontUsed by:19 35 36 37 38
Symbol 18 FontUsed by:19 20 31 32 35 36 37 38
Symbol 19 EditableTextUses:10 17 18Used by:Timeline
Symbol 20 EditableTextUses:18Used by:Timeline
Symbol 21 ButtonUses:15Used by:Timeline
Symbol 22 ButtonUses:15Used by:Timeline
Symbol 23 ButtonUses:15Used by:Timeline
Symbol 24 ButtonUses:15Used by:Timeline
Symbol 25 ButtonUses:15Used by:Timeline
Symbol 26 GraphicUsed by:Timeline
Symbol 27 VideoUsed by:Timeline
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:30
Symbol 30 MovieClipUses:29Used by:Timeline
Symbol 31 EditableTextUses:18Used by:Timeline
Symbol 32 EditableTextUses:18Used by:Timeline
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:Timeline
Symbol 35 EditableTextUses:10 17 18Used by:Timeline
Symbol 36 EditableTextUses:10 17 18Used by:Timeline
Symbol 37 EditableTextUses:10 17 18Used by:Timeline
Symbol 38 EditableTextUses:10 17 18Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClipUses:40Used by:Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:Timeline
Symbol 44 ButtonUses:15Used by:Timeline
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:47 57
Symbol 47 MovieClipUses:13 46Used by:Timeline
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:Timeline
Symbol 50 EditableTextUses:10Used by:Timeline
Symbol 51 EditableTextUses:10Used by:Timeline
Symbol 52 EditableTextUses:10Used by:Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 TextUses:10Used by:Timeline
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:Timeline
Symbol 57 MovieClipUses:13 46Used by:Timeline
Symbol 58 EditableTextUses:10Used by:Timeline
Symbol 59 EditableTextUses:10Used by:Timeline
Symbol 60 EditableTextUses:10Used by:Timeline
Symbol 61 TextUses:10Used by:Timeline

Instance Names

"enterName"Frame 1Symbol 11 EditableText
"chatButton"Frame 2Symbol 14 MovieClip
"history"Frame 2Symbol 19 EditableText
"hejsna"Frame 2Symbol 20 EditableText
"videoarea"Frame 2Symbol 27 Video
"lock"Frame 2Symbol 30 MovieClip
"history"Frame 3Symbol 31 EditableText
"hejsna"Frame 3Symbol 32 EditableText
"link2"Frame 4Symbol 35 EditableText
"link1"Frame 4Symbol 36 EditableText
"text1"Frame 4Symbol 37 EditableText
"text2"Frame 4Symbol 38 EditableText
"firstname"Frame 7Symbol 50 EditableText
"lastname"Frame 7Symbol 51 EditableText
"email"Frame 7Symbol 52 EditableText
"fromname"Frame 10Symbol 58 EditableText
"from"Frame 10Symbol 59 EditableText
"to"Frame 10Symbol 60 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"messenger"Frame 3
"News and events"Frame 4
"Play poker"Frame 5
"Elita fanclub"Frame 7
"Tell a friend"Frame 10
"fadeOut"Symbol 30 MovieClip Frame 80

Dynamic Text Variables

mynameSymbol 11 EditableText"Screenname "




http://swfchan.com/42/208678/info.shtml
Created: 9/10 -2018 00:36:50 Last modified: 9/10 -2018 00:36:50 Server time: 23/04 -2024 15:24:12