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/82139036?noj=FRM82139036-22DC" width="1" height="1"></div>

InstantCSI.swf

This is the info page for
Flash #156386

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


Text
<p align="center"></p>

<p align="center"></p>

YEEEAAAAAHHHHHHHHHHHHH

ActionScript [AS3]

Section 1
//QueryString (com.abdulqabiz.utils.QueryString) package com.abdulqabiz.utils { import flash.external.*; public class QueryString { private var _all:String; private var _params:Object; private var _queryString:String; public function QueryString(){ readQueryString(); } private function readQueryString():void{ var params:Array; var length:uint; var i:uint; var index:int; var kvPair:String; var key:String; var value:String; _params = {}; try { _all = ExternalInterface.call("window.location.href.toString"); _queryString = ExternalInterface.call("window.location.search.substring", 1); if (_queryString){ params = _queryString.split("&"); length = params.length; i = 0; index = -1; while (i < length) { kvPair = params[i]; var _local2 = kvPair.indexOf("="); index = _local2; if (_local2 > 0){ key = kvPair.substring(0, index); value = kvPair.substring((index + 1)); _params[key] = value; }; i = (i + 1); }; }; } catch(e:Error) { trace("Some error occured. ExternalInterface doesn't work in Standalone player."); }; } public function get url():String{ return (_all); } public function get parameters():Object{ return (_params); } public function get queryString():String{ return (_queryString); } } }//package com.abdulqabiz.utils
Section 2
//Container_2 (InstantCSI5_fla.Container_2) package InstantCSI5_fla { import flash.events.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Container_2 extends MovieClip { public var btn:SimpleButton; public var line1:TextField; public var line2:TextField; public var theroot:MovieClip; public var lines; public function Container_2(){ addFrameScript(0, frame1); } function frame1(){ line1.wordWrap = false; line1.autoSize = TextFieldAutoSize.CENTER; line2.wordWrap = false; line2.autoSize = TextFieldAutoSize.CENTER; theroot = (this.root as MovieClip); lines = ""; if (theroot.line){ lines = theroot.line.split("*sunglasses*", 2); }; if (lines.length > 0){ line1.text = decodeURIComponent(lines[0]); } else { line1.visible = false; }; if (lines.length > 1){ line2.text = decodeURIComponent(lines[1]); } else { line2.visible = false; }; } } }//package InstantCSI5_fla
Section 3
//invisiblebox_8 (InstantCSI5_fla.invisiblebox_8) package InstantCSI5_fla { import flash.display.*; public dynamic class invisiblebox_8 extends MovieClip { public function invisiblebox_8(){ addFrameScript(0, frame1); } function frame1(){ this.visible = false; } } }//package InstantCSI5_fla
Section 4
//MainTimeline (InstantCSI5_fla.MainTimeline) package InstantCSI5_fla { import flash.events.*; import com.abdulqabiz.utils.*; import flash.media.*; import flash.display.*; import flash.text.*; import flash.external.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.geom.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var qs:QueryString; public var BTN_MARGIN:Number; public var line; public var paramObj; public var bgClip:MovieClip; public var btn:MovieClip; public var BTN_SCALE:Number; public var autoplay; public var pic:MovieClip; public var lines; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 3, frame4); } public function resizeBtn(){ var _local1:*; var _local2:Number; if (this.btn != null){ btn.x = (stage.scaleX * 50); btn.y = (stage.scaleY * 50); _local1 = ((btn.width / btn.scaleX) * BTN_SCALE); _local2 = ((btn.width / btn.scaleX) / (btn.height / btn.scaleY)); if ((stage.stageWidth / BTN_MARGIN) <= _local1){ btn.width = (stage.stageWidth / BTN_MARGIN); btn.scaleY = btn.scaleX; if ((stage.stageHeight / BTN_MARGIN) <= btn.height){ btn.height = (stage.stageHeight / BTN_MARGIN); btn.scaleX = btn.scaleY; }; } else { if ((stage.stageHeight / BTN_MARGIN) <= (_local1 / _local2)){ btn.height = (stage.stageHeight / BTN_MARGIN); btn.scaleX = btn.scaleY; } else { btn.width = _local1; btn.scaleY = btn.scaleX; }; }; btn.x = (stage.stageWidth / 2); btn.y = (stage.stageHeight / 2); }; } public function resizeBackground(){ bgClip.x = 0; bgClip.y = 0; bgClip.width = stage.stageWidth; bgClip.height = stage.stageHeight; } public function setPicHeight(_arg1:Number){ var _local2:Number; _local2 = (pic.maxBox.height / (pic.height / pic.scaleY)); pic.height = (_arg1 / _local2); pic.scaleX = pic.scaleY; } public function btnClicked(_arg1:Event=null){ var _local2:Yeah; var _local3:SoundChannel; _local2 = new Yeah(); _local3 = _local2.play(); _local3.addEventListener(Event.SOUND_COMPLETE, soundFinished, false, 0, true); setBGBlack(); playAnim(); } public function setBGBlack(){ var _local1:ColorTransform; bgClip.visible = true; _local1 = new ColorTransform(0, 0, 0, 1, -255, -255, -255); bgClip.transform.colorTransform = _local1; } public function resizePic(){ var _local1:Rectangle; var _local2:Number; var _local3:Number; var _local4:*; var _local5:Point; var _local6:*; var _local7:*; if (this.pic == null){ return; }; _local1 = pic.maxBox.getBounds(stage); _local2 = (pic.minBox.width / pic.minBox.height); _local3 = (stage.stageWidth / stage.stageHeight); if (_local2 > _local3){ _local4 = (pic.minBox.width / pic.maxBox.width); _local6 = (stage.stageWidth / _local4); setPicWidth(_local6); } else { _local4 = (pic.minBox.height / pic.maxBox.height); _local7 = (stage.stageHeight / _local4); setPicHeight(_local7); }; _local5 = new Point(0, 0); _local5 = pic.minBox.localToGlobal(_local5); pic.x = (pic.x - (_local5.x - (stage.stageWidth / 2))); pic.y = (pic.y - (_local5.y - (stage.stageHeight / 2))); _local1 = pic.maxBox.getBounds(stage); if (_local1.width < stage.stageWidth){ setPicWidth(stage.stageWidth); _local1 = pic.maxBox.getBounds(stage); }; if (_local1.height < stage.stageHeight){ setPicHeight(stage.stageHeight); _local1 = pic.maxBox.getBounds(stage); }; if (_local1.left > 0){ pic.x = (pic.x - _local1.left); _local1 = pic.maxBox.getBounds(stage); }; if (_local1.right < stage.stageWidth){ pic.x = (pic.x - (_local1.right - stage.stageWidth)); _local1 = pic.maxBox.getBounds(stage); }; if (_local1.top > 0){ pic.y = (pic.y - _local1.top); _local1 = pic.maxBox.getBounds(stage); }; if (_local1.bottom < stage.stageHeight){ pic.y = (pic.y - (_local1.bottom - stage.stageHeight)); _local1 = pic.maxBox.getBounds(stage); }; } public function loading(_arg1:Event):void{ if (this.framesLoaded >= totalFrames){ this.removeEventListener(Event.ENTER_FRAME, loading); btnClicked(); }; } function frame1(){ stage.align = StageAlign.TOP_LEFT; stage.showDefaultContextMenu = false; stage.scaleMode = StageScaleMode.NO_SCALE; paramObj = LoaderInfo(this.root.loaderInfo).parameters; qs = new QueryString(); autoplay = ((paramObj["play"]) || (qs.parameters["play"])); line = ((paramObj["line"]) || (qs.parameters["line"])); lines = []; BTN_SCALE = 0.5913; BTN_MARGIN = 1.2; setBGWhite(); stage.addEventListener(Event.RESIZE, stageResized); stageResized(); if (((autoplay) && (!(workHours())))){ this.addEventListener(Event.ENTER_FRAME, loading); } else { play(); }; } public function stageResized(_arg1:Event=null){ resizeBtn(); resizePic(); resizeBackground(); } public function playAnim(){ gotoAndStop("anim1"); } public function soundFinished(_arg1:Event){ gotoAndStop("sunglasses"); setBGWhite(); } function frame4(){ resizePic(); } public function setBGWhite(){ var _local1:ColorTransform; bgClip.visible = false; _local1 = new ColorTransform(0, 0, 0, 1, 10, 10, 10); bgClip.transform.colorTransform = _local1; } public function workHours():Boolean{ var _local1:Date; _local1 = new Date(); return ((((((_local1.day >= 1)) && ((_local1.day <= 5)))) && ((((_local1.hours >= 8)) && ((_local1.hours < 18)))))); } function frame2(){ stop(); btn.btn.addEventListener(MouseEvent.CLICK, btnClicked, false, 0, true); resizeBtn(); } public function setPicWidth(_arg1:Number){ var _local2:Number; _local2 = (pic.maxBox.width / (pic.width / pic.scaleX)); pic.width = (_arg1 / _local2); pic.scaleY = pic.scaleX; } } }//package InstantCSI5_fla
Section 5
//Sunset2_6 (InstantCSI5_fla.Sunset2_6) package InstantCSI5_fla { import flash.display.*; public dynamic class Sunset2_6 extends MovieClip { public var minBox:MovieClip; public var maxBox:MovieClip; } }//package InstantCSI5_fla
Section 6
//Yeah (Yeah) package { import flash.media.*; public dynamic class Yeah extends Sound { } }//package

Library Items

Symbol 1 Sound {Yeah}
Symbol 2 GraphicUsed by:3 26
Symbol 3 MovieClipUses:2Used by:Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:14
Symbol 6 GraphicUsed by:7 10
Symbol 7 MovieClipUses:6Used by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 ButtonUses:7 8 9 6Used by:14
Symbol 11 FontUsed by:12 13
Symbol 12 EditableTextUses:11Used by:14
Symbol 13 EditableTextUses:11Used by:14
Symbol 14 MovieClip {InstantCSI5_fla.Container_2}Uses:5 10 12 13Used by:Timeline
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:19
Symbol 17 FontUsed by:18
Symbol 18 TextUses:17Used by:19
Symbol 19 MovieClipUses:16 18Used by:29
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip {InstantCSI5_fla.invisiblebox_8}Uses:20Used by:29
Symbol 22 ShapeTweeningUsed by:29
Symbol 23 ShapeTweeningUsed by:29
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:29
Symbol 26 MovieClipUses:2Used by:29
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClip {InstantCSI5_fla.Sunset2_6}Uses:19 21 22 23 25 26 27 28Used by:Timeline

Instance Names

"bgClip"Frame 1Symbol 3 MovieClip
"btn"Frame 2Symbol 14 MovieClip {InstantCSI5_fla.Container_2}
"pic"Frame 4Symbol 29 MovieClip {InstantCSI5_fla.Sunset2_6}
"btn"Symbol 14 MovieClip {InstantCSI5_fla.Container_2} Frame 1Symbol 10 Button
"line1"Symbol 14 MovieClip {InstantCSI5_fla.Container_2} Frame 1Symbol 12 EditableText
"line2"Symbol 14 MovieClip {InstantCSI5_fla.Container_2} Frame 1Symbol 13 EditableText
"maxBox"Symbol 29 MovieClip {InstantCSI5_fla.Sunset2_6} Frame 1Symbol 21 MovieClip {InstantCSI5_fla.invisiblebox_8}
"minBox"Symbol 29 MovieClip {InstantCSI5_fla.Sunset2_6} Frame 1Symbol 21 MovieClip {InstantCSI5_fla.invisiblebox_8}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.

Labels

"main"Frame 1
"sunglasses"Frame 2
"anim1"Frame 4




http://swfchan.com/32/156386/info.shtml
Created: 24/10 -2018 01:13:01 Last modified: 24/10 -2018 01:13:01 Server time: 22/12 -2024 06:28:18