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

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

Vintage-Fashion-Dress-Up.swf

This is the info page for
Flash #108248

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


Text
<p align="center"><font face="Cooper Std Black" size="62" color="#ffcf00" letterSpacing="0.000000" kerning="1">0</font></p>

Come visit us!

Play Now!

look for the hidden button on the background for a surprise animation

Join MyCDE

Join MyCDE

cde.girlsgogames.com

cde.girlsgogames.com

ActionScript [AS3]

Section 1
//acc_25 (cde_claresse_fla.acc_25) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class acc_25 extends MovieClip { public function acc_25(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package cde_claresse_fla
Section 2
//bg1_36 (cde_claresse_fla.bg1_36) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class bg1_36 extends MovieClip { public var btn1:SimpleButton; public function bg1_36(){ addFrameScript(0, frame1); } function frame1(){ stop(); btn1.addEventListener(MouseEvent.MOUSE_DOWN, btn1Press); } public function btn1Press(_arg1:MouseEvent):void{ gotoAndStop(2); } } }//package cde_claresse_fla
Section 3
//bg2_41 (cde_claresse_fla.bg2_41) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class bg2_41 extends MovieClip { public var btn2:SimpleButton; public function bg2_41(){ addFrameScript(0, frame1); } function frame1(){ stop(); btn2.addEventListener(MouseEvent.MOUSE_DOWN, btn2Press); } public function btn2Press(_arg1:MouseEvent):void{ gotoAndStop(2); } } }//package cde_claresse_fla
Section 4
//bg3_45 (cde_claresse_fla.bg3_45) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class bg3_45 extends MovieClip { public var btn3:SimpleButton; public function bg3_45(){ addFrameScript(0, frame1); } public function btn3Press(_arg1:MouseEvent):void{ gotoAndStop(2); } function frame1(){ stop(); btn3.addEventListener(MouseEvent.MOUSE_DOWN, btn3Press); } } }//package cde_claresse_fla
Section 5
//bg4_50 (cde_claresse_fla.bg4_50) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class bg4_50 extends MovieClip { public var btn4:SimpleButton; public function bg4_50(){ addFrameScript(0, frame1); } function frame1(){ stop(); btn4.addEventListener(MouseEvent.MOUSE_DOWN, btn4Press); } public function btn4Press(_arg1:MouseEvent):void{ gotoAndStop(2); } } }//package cde_claresse_fla
Section 6
//bottoms_23 (cde_claresse_fla.bottoms_23) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class bottoms_23 extends MovieClip { public function bottoms_23(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package cde_claresse_fla
Section 7
//cdeitems_cdeitems_cde_cloud123joinmycde_9 (cde_claresse_fla.cdeitems_cdeitems_cde_cloud123joinmycde_9) package cde_claresse_fla { import flash.display.*; public dynamic class cdeitems_cdeitems_cde_cloud123joinmycde_9 extends MovieClip { public var joinCDEBtn:SimpleButton; } }//package cde_claresse_fla
Section 8
//doll_18 (cde_claresse_fla.doll_18) package cde_claresse_fla { import flash.display.*; public dynamic class doll_18 extends MovieClip { public var dress:MovieClip; public var acc:MovieClip; public var tops:MovieClip; public var bot:MovieClip; public var shoes:MovieClip; public var hair:MovieClip; } }//package cde_claresse_fla
Section 9
//dress_22 (cde_claresse_fla.dress_22) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class dress_22 extends MovieClip { public function dress_22(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package cde_claresse_fla
Section 10
//game_16 (cde_claresse_fla.game_16) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class game_16 extends MovieClip { public var hairBTN:SimpleButton; public var accBTN:SimpleButton; public var botBTN:SimpleButton; public var bg1BTN:SimpleButton; public var shoesBTN:SimpleButton; public var doll:MovieClip; public var nextBTN:SimpleButton; public var bg4BTN:SimpleButton; public var bg2BTN:SimpleButton; public var dressBTN:SimpleButton; public var topsBTN:SimpleButton; public var bg3BTN:SimpleButton; public function game_16(){ addFrameScript(0, frame1, 9, frame10); } public function bg3BTNPress(_arg1:MouseEvent):void{ gotoAndStop("bg3"); doll.visible = true; } public function bg1BTNPress(_arg1:MouseEvent):void{ gotoAndStop("bg1"); doll.visible = true; } public function topsBTNPress(_arg1:MouseEvent):void{ if (doll.tops.currentFrame < doll.tops.totalFrames){ doll.tops.nextFrame(); } else { doll.tops.gotoAndPlay(1); }; doll.tops.visible = true; doll.bot.visible = true; doll.dress.visible = false; doll.dress.gotoAndStop(1); } public function bg2BTNPress(_arg1:MouseEvent):void{ gotoAndStop("bg2"); doll.visible = true; } public function botBTNPress(_arg1:MouseEvent):void{ if (doll.bot.currentFrame < doll.bot.totalFrames){ doll.bot.nextFrame(); } else { doll.bot.gotoAndPlay(1); }; doll.tops.visible = true; doll.bot.visible = true; doll.dress.visible = false; doll.dress.gotoAndStop(1); } function frame10(){ doll.visible = false; bg1BTN.addEventListener(MouseEvent.MOUSE_DOWN, bg1BTNPress); bg2BTN.addEventListener(MouseEvent.MOUSE_DOWN, bg2BTNPress); bg3BTN.addEventListener(MouseEvent.MOUSE_DOWN, bg3BTNPress); bg4BTN.addEventListener(MouseEvent.MOUSE_DOWN, bg4BTNPress); } public function hairBTNPress(_arg1:MouseEvent):void{ if (doll.hair.currentFrame < doll.hair.totalFrames){ doll.hair.nextFrame(); } else { doll.hair.gotoAndPlay(1); }; } function frame1(){ stop(); nextBTN.addEventListener(MouseEvent.MOUSE_DOWN, nextBTNPress); doll.tops.visible = true; doll.bot.visible = true; doll.dress.visible = false; hairBTN.addEventListener(MouseEvent.MOUSE_DOWN, hairBTNPress); topsBTN.addEventListener(MouseEvent.MOUSE_DOWN, topsBTNPress); botBTN.addEventListener(MouseEvent.MOUSE_DOWN, botBTNPress); dressBTN.addEventListener(MouseEvent.MOUSE_DOWN, dressBTNPress); shoesBTN.addEventListener(MouseEvent.MOUSE_DOWN, shoesBTNPress); accBTN.addEventListener(MouseEvent.MOUSE_DOWN, accBTNPress); } public function shoesBTNPress(_arg1:MouseEvent):void{ if (doll.shoes.currentFrame < doll.shoes.totalFrames){ doll.shoes.nextFrame(); } else { doll.shoes.gotoAndPlay(1); }; } public function nextBTNPress(_arg1:MouseEvent):void{ gotoAndStop("bgs"); } public function dressBTNPress(_arg1:MouseEvent):void{ if (doll.dress.currentFrame < doll.dress.totalFrames){ doll.dress.nextFrame(); } else { doll.dress.gotoAndPlay(1); }; doll.tops.visible = false; doll.bot.visible = false; doll.dress.visible = true; doll.tops.gotoAndStop(1); doll.bot.gotoAndStop(1); } public function accBTNPress(_arg1:MouseEvent):void{ if (doll.acc.currentFrame < doll.acc.totalFrames){ doll.acc.nextFrame(); } else { doll.acc.gotoAndPlay(1); }; } public function bg4BTNPress(_arg1:MouseEvent):void{ gotoAndStop("bg4"); doll.visible = true; } } }//package cde_claresse_fla
Section 11
//hair_20 (cde_claresse_fla.hair_20) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class hair_20 extends MovieClip { public function hair_20(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package cde_claresse_fla
Section 12
//MainTimeline (cde_claresse_fla.MainTimeline) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import com.cde.graphics.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class MainTimeline extends MovieClip { public var playNowBtn:SimpleButton; public var imageGen:ImageGen; public var stopBtn:SimpleButton; public var musicSound:Sound; public var generated_image_filename:String; public var getPercent:Number; public var moreGamesCloud:MovieClip; public var musicLoops:uint; public var loadText:TextField; public var musicAutoStart:Boolean; public var joinCDEBtn:SimpleButton; public var bytes_total:Number; public var bytes_loaded:Number; public var l:LoaderInfo; public var e:ReferenceError; public var MusicClass:Class; public var playBtn:SimpleButton; public var saveBtn:SimpleButton; public var loadBar:MovieClip; public var resetBtn:SimpleButton; public var musicClassName:String; public var cde_btn:SimpleButton; public var domain:String; public var game:MovieClip; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 26, frame27, 89, frame90, 90, frame91); } public function joinCDEBtnPress(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://cde.girlsgogames.com/cdeprofile/profile_register/profile_register.html"); navigateToURL(_local2, "_blank"); } public function saveBtnPress(_arg1:MouseEvent):void{ imageGen.generateImageForDownload(this, 0, 0, 900, 700); } function frame90(){ stop(); } function frame91(){ generated_image_filename = "cde_vintageromanticdoll"; cde_btn.addEventListener(MouseEvent.MOUSE_DOWN, CDEBtnPress); joinCDEBtn.addEventListener(MouseEvent.MOUSE_DOWN, joinCDEBtnPress); domain = "00001187"; resetBtn.addEventListener(MouseEvent.MOUSE_DOWN, resetBtnPress); imageGen = new ImageGen(this.loaderInfo, "cdedoll"); saveBtn.addEventListener(MouseEvent.MOUSE_DOWN, saveBtnPress); musicClassName = "bgsound"; musicLoops = 500; musicAutoStart = true; if (((!((musicClassName == null))) && (!((musicClassName == ""))))){ try { MusicClass = (ApplicationDomain.currentDomain.getDefinition(musicClassName) as Class); } catch(err:ReferenceError) { err.message = (("Music '" + musicClassName) + "' does not exist in library. Please check that the 'musicClassName' variable is correct in Configuration layer."); throw (err); }; musicSound = (new MusicClass() as Sound); if (musicAutoStart){ musicSound.play(0, musicLoops); }; }; playBtn.addEventListener(MouseEvent.MOUSE_DOWN, playBtnPress); stopBtn.addEventListener(MouseEvent.MOUSE_DOWN, stopBtnPress); } public function CDEBtnPress(_arg1:MouseEvent):void{ var _local2:URLRequest; _local2 = new URLRequest("http://cde.girlsgogames.com"); navigateToURL(_local2, "_blank"); } function frame1(){ bytes_loaded = this.loaderInfo.bytesLoaded; bytes_total = this.loaderInfo.bytesTotal; getPercent = (Math.floor(((bytes_loaded / bytes_total) * 100)) / 100); this.loadBar.width = (getPercent * 200); this.loadText.text = (Math.round((getPercent * 100)) + "%"); if (bytes_loaded == bytes_total){ this.gotoAndPlay(3); }; } function frame27(){ this.getChildAt(4).addEventListener(MouseEvent.MOUSE_DOWN, onPlayNowBtnMouseDownHandler); this.getChildAt(2).addEventListener(MouseEvent.MOUSE_DOWN, onCdeBtnMouseDownHandler); MovieClip(this.getChildAt(6)).moreGamesBtn.addEventListener(MouseEvent.MOUSE_DOWN, onMoreGames); } public function onMoreGames(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.girlsgogames.com/?utm_source=partnergame&utm_medium=CDE&utm_campaign=CDE"), "_blank"); } public function playBtnPress(_arg1:MouseEvent):void{ SoundMixer.stopAll(); if (musicSound != null){ musicSound.play(0, musicLoops); }; } public function resetBtnPress(_arg1:MouseEvent):void{ game.gotoAndStop("doll"); game.doll.visible = true; game.doll.hair.gotoAndStop(1); game.doll.tops.gotoAndStop(1); game.doll.bot.gotoAndStop(1); game.doll.dress.gotoAndStop(1); game.doll.shoes.gotoAndStop(1); game.doll.acc.gotoAndStop(1); game.doll.tops.visible = true; game.doll.bot.visible = true; game.doll.dress.visible = false; } public function onPlayNowBtnMouseDownHandler(_arg1:MouseEvent):void{ gotoAndStop(1, "Scene 2"); } public function stopBtnPress(_arg1:MouseEvent):void{ SoundMixer.stopAll(); } public function onCdeBtnMouseDownHandler(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://cde.girlsgogames.com/"), "_blank"); } function frame2(){ this.gotoAndPlay(1); } } }//package cde_claresse_fla
Section 13
//shoes_21 (cde_claresse_fla.shoes_21) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class shoes_21 extends MovieClip { public function shoes_21(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package cde_claresse_fla
Section 14
//Symbol11111_15 (cde_claresse_fla.Symbol11111_15) package cde_claresse_fla { import flash.display.*; public dynamic class Symbol11111_15 extends MovieClip { public var moreGamesBtn:SimpleButton; } }//package cde_claresse_fla
Section 15
//tops_24 (cde_claresse_fla.tops_24) package cde_claresse_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; import flash.system.*; import flash.ui.*; public dynamic class tops_24 extends MovieClip { public function tops_24(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package cde_claresse_fla
Section 16
//BitString (com.adobe.images.BitString) package com.adobe.images { public class BitString { public var val:int;// = 0 public var len:int;// = 0 public function BitString(){ len = 0; val = 0; super(); } } }//package com.adobe.images
Section 17
//JPGEncoder (com.adobe.images.JPGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class JPGEncoder { private var fdtbl_UV:Array; private var std_ac_chrominance_values:Array; private var std_dc_chrominance_nrcodes:Array; private var std_dc_chrominance_values:Array; private var ZigZag:Array; private var YDC_HT:Array; private var bytenew:int;// = 0 private var fdtbl_Y:Array; private var YAC_HT:Array; private var std_ac_chrominance_nrcodes:Array; private var DU:Array; private var std_ac_luminance_values:Array; private var UVTable:Array; private var UDU:Array; private var YDU:Array; private var byteout:ByteArray; private var UVAC_HT:Array; private var UVDC_HT:Array; private var bytepos:int;// = 7 private var VDU:Array; private var std_ac_luminance_nrcodes:Array; private var std_dc_luminance_values:Array; private var YTable:Array; private var std_dc_luminance_nrcodes:Array; private var bitcode:Array; private var category:Array; public function JPGEncoder(_arg1:Number=50){ var _local2:int; ZigZag = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63]; YTable = new Array(64); UVTable = new Array(64); fdtbl_Y = new Array(64); fdtbl_UV = new Array(64); std_dc_luminance_nrcodes = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; std_dc_luminance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; std_ac_luminance_nrcodes = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125]; std_ac_luminance_values = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250]; std_dc_chrominance_nrcodes = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; std_dc_chrominance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; std_ac_chrominance_nrcodes = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119]; std_ac_chrominance_values = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250]; bitcode = new Array(0xFFFF); category = new Array(0xFFFF); bytenew = 0; bytepos = 7; DU = new Array(64); YDU = new Array(64); UDU = new Array(64); VDU = new Array(64); super(); if (_arg1 <= 0){ _arg1 = 1; }; if (_arg1 > 100){ _arg1 = 100; }; _local2 = 0; if (_arg1 < 50){ _local2 = int((5000 / _arg1)); } else { _local2 = int((200 - (_arg1 * 2))); }; initHuffmanTbl(); initCategoryNumber(); initQuantTables(_local2); } private function RGB2YUV(_arg1:BitmapData, _arg2:int, _arg3:int):void{ var _local4:int; var _local5:int; var _local6:int; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:Number; _local4 = 0; _local5 = 0; while (_local5 < 8) { _local6 = 0; while (_local6 < 8) { _local7 = _arg1.getPixel32((_arg2 + _local6), (_arg3 + _local5)); _local8 = Number(((_local7 >> 16) & 0xFF)); _local9 = Number(((_local7 >> 8) & 0xFF)); _local10 = Number((_local7 & 0xFF)); YDU[_local4] = ((((0.299 * _local8) + (0.587 * _local9)) + (0.114 * _local10)) - 128); UDU[_local4] = (((-0.16874 * _local8) + (-0.33126 * _local9)) + (0.5 * _local10)); VDU[_local4] = (((0.5 * _local8) + (-0.41869 * _local9)) + (-0.08131 * _local10)); _local4++; _local6++; }; _local5++; }; } private function writeWord(_arg1:int):void{ writeByte(((_arg1 >> 8) & 0xFF)); writeByte((_arg1 & 0xFF)); } private function writeByte(_arg1:int):void{ byteout.writeByte(_arg1); } private function writeDHT():void{ var _local1:int; writeWord(65476); writeWord(418); writeByte(0); _local1 = 0; while (_local1 < 16) { writeByte(std_dc_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { writeByte(std_dc_luminance_values[_local1]); _local1++; }; writeByte(16); _local1 = 0; while (_local1 < 16) { writeByte(std_ac_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { writeByte(std_ac_luminance_values[_local1]); _local1++; }; writeByte(1); _local1 = 0; while (_local1 < 16) { writeByte(std_dc_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { writeByte(std_dc_chrominance_values[_local1]); _local1++; }; writeByte(17); _local1 = 0; while (_local1 < 16) { writeByte(std_ac_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { writeByte(std_ac_chrominance_values[_local1]); _local1++; }; } private function writeBits(_arg1:BitString):void{ var _local2:int; var _local3:int; _local2 = _arg1.val; _local3 = (_arg1.len - 1); while (_local3 >= 0) { if ((_local2 & uint((1 << _local3)))){ bytenew = (bytenew | uint((1 << bytepos))); }; _local3--; bytepos--; if (bytepos < 0){ if (bytenew == 0xFF){ writeByte(0xFF); writeByte(0); } else { writeByte(bytenew); }; bytepos = 7; bytenew = 0; }; }; } private function initHuffmanTbl():void{ YDC_HT = computeHuffmanTbl(std_dc_luminance_nrcodes, std_dc_luminance_values); UVDC_HT = computeHuffmanTbl(std_dc_chrominance_nrcodes, std_dc_chrominance_values); YAC_HT = computeHuffmanTbl(std_ac_luminance_nrcodes, std_ac_luminance_values); UVAC_HT = computeHuffmanTbl(std_ac_chrominance_nrcodes, std_ac_chrominance_values); } public function encode(_arg1:BitmapData):ByteArray{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:int; var _local6:int; var _local7:BitString; byteout = new ByteArray(); bytenew = 0; bytepos = 7; writeWord(65496); writeAPP0(); writeDQT(); writeSOF0(_arg1.width, _arg1.height); writeDHT(); writeSOS(); _local2 = 0; _local3 = 0; _local4 = 0; bytenew = 0; bytepos = 7; _local5 = 0; while (_local5 < _arg1.height) { _local6 = 0; while (_local6 < _arg1.width) { RGB2YUV(_arg1, _local6, _local5); _local2 = processDU(YDU, fdtbl_Y, _local2, YDC_HT, YAC_HT); _local3 = processDU(UDU, fdtbl_UV, _local3, UVDC_HT, UVAC_HT); _local4 = processDU(VDU, fdtbl_UV, _local4, UVDC_HT, UVAC_HT); _local6 = (_local6 + 8); }; _local5 = (_local5 + 8); }; if (bytepos >= 0){ _local7 = new BitString(); _local7.len = (bytepos + 1); _local7.val = ((1 << (bytepos + 1)) - 1); writeBits(_local7); }; writeWord(65497); return (byteout); } private function initCategoryNumber():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; _local1 = 1; _local2 = 2; _local4 = 1; while (_local4 <= 15) { _local3 = _local1; while (_local3 < _local2) { category[(32767 + _local3)] = _local4; bitcode[(32767 + _local3)] = new BitString(); bitcode[(32767 + _local3)].len = _local4; bitcode[(32767 + _local3)].val = _local3; _local3++; }; _local3 = -((_local2 - 1)); while (_local3 <= -(_local1)) { category[(32767 + _local3)] = _local4; bitcode[(32767 + _local3)] = new BitString(); bitcode[(32767 + _local3)].len = _local4; bitcode[(32767 + _local3)].val = ((_local2 - 1) + _local3); _local3++; }; _local1 = (_local1 << 1); _local2 = (_local2 << 1); _local4++; }; } private function writeDQT():void{ var _local1:int; writeWord(65499); writeWord(132); writeByte(0); _local1 = 0; while (_local1 < 64) { writeByte(YTable[_local1]); _local1++; }; writeByte(1); _local1 = 0; while (_local1 < 64) { writeByte(UVTable[_local1]); _local1++; }; } private function writeAPP0():void{ writeWord(65504); writeWord(16); writeByte(74); writeByte(70); writeByte(73); writeByte(70); writeByte(0); writeByte(1); writeByte(1); writeByte(0); writeWord(1); writeWord(1); writeByte(0); writeByte(0); } private function writeSOS():void{ writeWord(65498); writeWord(12); writeByte(3); writeByte(1); writeByte(0); writeByte(2); writeByte(17); writeByte(3); writeByte(17); writeByte(0); writeByte(63); writeByte(0); } private function processDU(_arg1:Array, _arg2:Array, _arg3:Number, _arg4:Array, _arg5:Array):Number{ var _local6:BitString; var _local7:BitString; var _local8:int; var _local9:Array; var _local10:int; var _local11:int; var _local12:int; var _local13:int; var _local14:int; _local6 = _arg5[0]; _local7 = _arg5[240]; _local9 = fDCTQuant(_arg1, _arg2); _local8 = 0; while (_local8 < 64) { DU[ZigZag[_local8]] = _local9[_local8]; _local8++; }; _local10 = (DU[0] - _arg3); _arg3 = DU[0]; if (_local10 == 0){ writeBits(_arg4[0]); } else { writeBits(_arg4[category[(32767 + _local10)]]); writeBits(bitcode[(32767 + _local10)]); }; _local11 = 63; while ((((_local11 > 0)) && ((DU[_local11] == 0)))) { _local11--; }; if (_local11 == 0){ writeBits(_local6); return (_arg3); }; _local8 = 1; while (_local8 <= _local11) { _local12 = _local8; while ((((DU[_local8] == 0)) && ((_local8 <= _local11)))) { _local8++; }; _local13 = (_local8 - _local12); if (_local13 >= 16){ _local14 = 1; while (_local14 <= (_local13 / 16)) { writeBits(_local7); _local14++; }; _local13 = int((_local13 & 15)); }; writeBits(_arg5[((_local13 * 16) + category[(32767 + DU[_local8])])]); writeBits(bitcode[(32767 + DU[_local8])]); _local8++; }; if (_local11 != 63){ writeBits(_local6); }; return (_arg3); } private function initQuantTables(_arg1:int):void{ var _local2:int; var _local3:Number; var _local4:Array; var _local5:Array; var _local6:Array; var _local7:int; var _local8:int; _local4 = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local4[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; YTable[ZigZag[_local2]] = _local3; _local2++; }; _local5 = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local5[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; UVTable[ZigZag[_local2]] = _local3; _local2++; }; _local6 = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379]; _local2 = 0; _local7 = 0; while (_local7 < 8) { _local8 = 0; while (_local8 < 8) { fdtbl_Y[_local2] = (1 / (((YTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); fdtbl_UV[_local2] = (1 / (((UVTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); _local2++; _local8++; }; _local7++; }; } private function writeSOF0(_arg1:int, _arg2:int):void{ writeWord(65472); writeWord(17); writeByte(8); writeWord(_arg2); writeWord(_arg1); writeByte(3); writeByte(1); writeByte(17); writeByte(0); writeByte(2); writeByte(17); writeByte(1); writeByte(3); writeByte(17); writeByte(1); } private function computeHuffmanTbl(_arg1:Array, _arg2:Array):Array{ var _local3:int; var _local4:int; var _local5:Array; var _local6:int; var _local7:int; _local3 = 0; _local4 = 0; _local5 = new Array(); _local6 = 1; while (_local6 <= 16) { _local7 = 1; while (_local7 <= _arg1[_local6]) { _local5[_arg2[_local4]] = new BitString(); _local5[_arg2[_local4]].val = _local3; _local5[_arg2[_local4]].len = _local6; _local4++; _local3++; _local7++; }; _local3 = (_local3 * 2); _local6++; }; return (_local5); } private function fDCTQuant(_arg1:Array, _arg2:Array):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:int; _local23 = 0; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 7)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 7)]); _local4 = (_arg1[(_local23 + 1)] + _arg1[(_local23 + 6)]); _local9 = (_arg1[(_local23 + 1)] - _arg1[(_local23 + 6)]); _local5 = (_arg1[(_local23 + 2)] + _arg1[(_local23 + 5)]); _local8 = (_arg1[(_local23 + 2)] - _arg1[(_local23 + 5)]); _local6 = (_arg1[(_local23 + 3)] + _arg1[(_local23 + 4)]); _local7 = (_arg1[(_local23 + 3)] - _arg1[(_local23 + 4)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 4)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 2)] = (_local14 + _local15); _arg1[(_local23 + 6)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 5)] = (_local21 + _local16); _arg1[(_local23 + 3)] = (_local21 - _local16); _arg1[(_local23 + 1)] = (_local20 + _local18); _arg1[(_local23 + 7)] = (_local20 - _local18); _local23 = (_local23 + 8); _local22++; }; _local23 = 0; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 56)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 56)]); _local4 = (_arg1[(_local23 + 8)] + _arg1[(_local23 + 48)]); _local9 = (_arg1[(_local23 + 8)] - _arg1[(_local23 + 48)]); _local5 = (_arg1[(_local23 + 16)] + _arg1[(_local23 + 40)]); _local8 = (_arg1[(_local23 + 16)] - _arg1[(_local23 + 40)]); _local6 = (_arg1[(_local23 + 24)] + _arg1[(_local23 + 32)]); _local7 = (_arg1[(_local23 + 24)] - _arg1[(_local23 + 32)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 32)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 16)] = (_local14 + _local15); _arg1[(_local23 + 48)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 40)] = (_local21 + _local16); _arg1[(_local23 + 24)] = (_local21 - _local16); _arg1[(_local23 + 8)] = (_local20 + _local18); _arg1[(_local23 + 56)] = (_local20 - _local18); _local23++; _local22++; }; _local22 = 0; while (_local22 < 64) { _arg1[_local22] = Math.round((_arg1[_local22] * _arg2[_local22])); _local22++; }; return (_arg1); } } }//package com.adobe.images
Section 18
//PNGEncoder (com.adobe.images.PNGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class PNGEncoder { private static var crcTableComputed:Boolean = false; private static var crcTable:Array; private static function writeChunk(_arg1:ByteArray, _arg2:uint, _arg3:ByteArray):void{ var _local4:uint; var _local5:uint; var _local6:uint; var _local7:int; var _local8:uint; var _local9:uint; var _local10:uint; if (!crcTableComputed){ crcTableComputed = true; crcTable = []; _local9 = 0; while (_local9 < 0x0100) { _local8 = _local9; _local10 = 0; while (_local10 < 8) { if ((_local8 & 1)){ _local8 = uint((uint(3988292384) ^ uint((_local8 >>> 1)))); } else { _local8 = uint((_local8 >>> 1)); }; _local10++; }; crcTable[_local9] = _local8; _local9++; }; }; _local4 = 0; if (_arg3 != null){ _local4 = _arg3.length; }; _arg1.writeUnsignedInt(_local4); _local5 = _arg1.position; _arg1.writeUnsignedInt(_arg2); if (_arg3 != null){ _arg1.writeBytes(_arg3); }; _local6 = _arg1.position; _arg1.position = _local5; _local8 = 4294967295; _local7 = 0; while (_local7 < (_local6 - _local5)) { _local8 = uint((crcTable[((_local8 ^ _arg1.readUnsignedByte()) & uint(0xFF))] ^ uint((_local8 >>> 8)))); _local7++; }; _local8 = uint((_local8 ^ uint(4294967295))); _arg1.position = _local6; _arg1.writeUnsignedInt(_local8); } public static function encode(_arg1:BitmapData):ByteArray{ var _local2:ByteArray; var _local3:ByteArray; var _local4:ByteArray; var _local5:int; var _local6:uint; var _local7:int; _local2 = new ByteArray(); _local2.writeUnsignedInt(2303741511); _local2.writeUnsignedInt(218765834); _local3 = new ByteArray(); _local3.writeInt(_arg1.width); _local3.writeInt(_arg1.height); _local3.writeUnsignedInt(134610944); _local3.writeByte(0); writeChunk(_local2, 1229472850, _local3); _local4 = new ByteArray(); _local5 = 0; while (_local5 < _arg1.height) { _local4.writeByte(0); if (!_arg1.transparent){ _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | 0xFF))); _local7++; }; } else { _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel32(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | (_local6 >>> 24)))); _local7++; }; }; _local5++; }; _local4.compress(); writeChunk(_local2, 1229209940, _local4); writeChunk(_local2, 1229278788, null); return (_local2); } } }//package com.adobe.images
Section 19
//ImageGen (com.cde.graphics.ImageGen) package com.cde.graphics { import flash.display.*; import flash.events.*; import flash.utils.*; import com.adobe.images.*; import flash.net.*; import flash.text.*; import flash.geom.*; public class ImageGen { private var _loaderInfo:LoaderInfo; private var modal:Sprite; private var _downloadURL:String; private var fr:FileReference; private var _imageName:String; private var _inProgress:Boolean; private var _sourceBitmapData:BitmapData; private var encoder; private var req:URLRequest; private var _downloadMethod:String; private var _ext:String; private var _quality:Number; private var _onComplete:Function; private var _encoderType:String; private var ld:URLLoader; private var _newBitmapData:BitmapData; private var _imageGenURL:String; private var _transparency:Boolean; public static const FLASH:String = "flash"; public static const PNG:String = "png"; public static const JS:String = "js"; public static const JPEG:String = "jpg"; public function ImageGen(_arg1:LoaderInfo, _arg2:String="image", _arg3:Number=50, _arg4:String=null, _arg5:String=null){ this._loaderInfo = _arg1; this._imageName = _arg2; fr = new FileReference(); ld = new URLLoader(); ld.addEventListener(Event.COMPLETE, onComplete); encoder = new JPGEncoder(_arg3); _ext = "jpg"; _encoderType = JPEG; _imageGenURL = _arg4; _downloadURL = _arg5; _downloadMethod = FLASH; _quality = _arg3; initiateURLS(); } public function set transparency(_arg1:Boolean):void{ _transparency = _arg1; } public function set downloadMethod(_arg1:String):void{ _downloadMethod = _arg1; } public function encode(_arg1:DisplayObject, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0, _arg6:Number=1):ByteArray{ var _local7:Number; var _local8:Number; var _local9:Matrix; var _local10:ByteArray; if (_arg4 > 2880){ throw (ArgumentError("Supplied width is too big. Must be less than or equal to 2880")); }; if (_arg5 > 2880){ throw (ArgumentError("Supplied height is too big. Must be less than or equal to 2880")); }; _local7 = ((_arg1.width)>2880) ? 2880 : _arg1.width; _local8 = ((_arg1.height)>2880) ? 2880 : _arg1.height; if (_arg4 == 0){ _arg4 = _local7; }; if (_arg5 == 0){ _arg5 = _local8; }; _local7 = (_local7 * _arg6); _local8 = (_local8 * _arg6); _arg4 = (_arg4 * _arg6); _arg5 = (_arg5 * _arg6); if (_transparency){ _sourceBitmapData = new BitmapData(_local7, _local8, true, 0); } else { _sourceBitmapData = new BitmapData(_local7, _local8); }; _local9 = new Matrix(); _local9.scale(_arg6, _arg6); _sourceBitmapData.draw(_arg1, _local9); _newBitmapData = new BitmapData(_arg4, _arg5); _newBitmapData.copyPixels(_sourceBitmapData, new Rectangle(_arg2, _arg3, _arg4, _arg5), new Point(0, 0)); _local10 = encoder.encode(_newBitmapData); _sourceBitmapData.dispose(); _newBitmapData.dispose(); return (_local10); } public function initiateURLS():void{ var _local1:String; var _local2:String; var _local3:String; var _local4:String; _local1 = _loaderInfo.url; _local2 = "cdeprofile/imagegen/"; _local3 = "jpeg.php"; _local4 = "download.php"; if (_imageGenURL != null){ } else { if (_loaderInfo.parameters.hasOwnProperty("imageGenURL")){ this._imageGenURL = _loaderInfo.parameters["imageGenURL"]; } else { if (URLInfo.isLocal(_local1)){ this._imageGenURL = (("http://www.cartoondollemporium.com/" + _local2) + _local3); } else { if (URLInfo.getRootURL(_local1).search("puppy52") > -1){ this._imageGenURL = (("http://dev.cartoondollemporium.com/~andres/" + _local2) + _local3); } else { if (URLInfo.getRootURL(_local1).search("cartoondollemporium") == -1){ this._imageGenURL = (("http://www.cartoondollemporium.com/" + _local2) + _local3); } else { if (URLInfo.getRootURL(_local1).search("cartoondollemporium") > -1){ this._imageGenURL = (((URLInfo.getRootURL(_local1) + "/") + _local2) + _local3); }; }; }; }; }; }; if (_downloadURL != null){ } else { if (_loaderInfo.parameters.hasOwnProperty("downloadURL")){ this._downloadURL = _loaderInfo.parameters["downloadURL"]; } else { if (URLInfo.isLocal(_local1)){ _downloadURL = (("http://dev.cartoondollemporium.com/~andres/" + _local2) + _local4); } else { if (URLInfo.getRootURL(_local1).search("puppy52") > -1){ _downloadURL = (("http://dev.cartoondollemporium.com/~andres/" + _local2) + _local4); } else { if (URLInfo.getRootURL(_local1).search("cartoondollemporium") == -1){ _downloadURL = (("http://www.cartoondollemporium.com/" + _local2) + _local4); } else { if (URLInfo.getRootURL(_local1).search("cartoondollemporium") > -1){ _downloadURL = (((URLInfo.getRootURL(_local1) + "/") + _local2) + _local4); }; }; }; }; }; }; req = new URLRequest(this._imageGenURL); req.method = URLRequestMethod.POST; req.contentType = "application/octet-stream"; } public function set onCompleteHandler(_arg1:Function):void{ _onComplete = _arg1; } private function onComplete(_arg1:Event):void{ var filePath:String; var imageURL:String; var alert:Sprite; var txt:TextField; var evt = _arg1; filePath = evt.target.data.filePath; imageURL = evt.target.data.imageURL; if (_downloadMethod == FLASH){ alert = new Sprite(); alert.graphics.beginFill(0xDEDEDE); alert.graphics.drawRect(0, 0, 200, 100); txt = new TextField(); txt.autoSize = TextFieldAutoSize.LEFT; txt.selectable = false; txt.defaultTextFormat = new TextFormat("Arial", 20, 0, true); txt.text = "Click To Save"; txt.x = ((alert.width / 2) - (txt.width / 2)); txt.y = 30; alert.addChild(txt); alert.x = ((_loaderInfo.width / 2) - (alert.width / 2)); alert.y = ((_loaderInfo.height / 2) - (alert.height / 2)); _loaderInfo.content.stage.addChild(alert); alert.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent):void{ fr.download(new URLRequest(imageURL), ((_imageName + ".") + _ext)); _loaderInfo.content.stage.removeChild(modal); _loaderInfo.content.stage.removeChild(alert); }); } else { if (_downloadMethod == JS){ navigateToURL(new URLRequest((((((((("javascript:window.open('" + _downloadURL) + "?filename=") + _imageName) + ".") + _ext) + "&file_path=") + filePath) + "', 'p', 'width=100,height=100'); void(0);")), "_self"); }; }; _inProgress = false; } public function generateImageForDownload(_arg1:DisplayObject, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0):void{ var _local6:Number; var _local7:Number; var _local8:ByteArray; if (_inProgress){ return; }; modal = new Sprite(); modal.graphics.beginFill(0xFFFFFF, 0.1); modal.graphics.drawRect(0, 0, _loaderInfo.width, _loaderInfo.height); _loaderInfo.content.stage.addChild(modal); if (_arg4 > 2880){ throw (ArgumentError("Supplied width is too big. Must be less than or equal to 2880")); }; if (_arg5 > 2880){ throw (ArgumentError("Supplied height is too big. Must be less than or equal to 2880")); }; _local6 = ((_arg1.width)>2880) ? 2880 : _arg1.width; _local7 = ((_arg1.height)>2880) ? 2880 : _arg1.height; if (_arg4 == 0){ _arg4 = _local6; }; if (_arg5 == 0){ _arg5 = _local7; }; if (_transparency){ _sourceBitmapData = new BitmapData(_local6, _local7, true, 0); _newBitmapData = new BitmapData(_arg4, _arg5, true, 0); } else { _sourceBitmapData = new BitmapData(_local6, _local7); _newBitmapData = new BitmapData(_arg4, _arg5); }; _sourceBitmapData.draw(_arg1); _newBitmapData.copyPixels(_sourceBitmapData, new Rectangle(_arg2, _arg3, _arg4, _arg5), new Point(0, 0)); _local8 = encoder.encode(_newBitmapData); req.data = _local8; ld.dataFormat = URLLoaderDataFormat.VARIABLES; ld.load(req); _sourceBitmapData.dispose(); _newBitmapData.dispose(); _inProgress = true; if (_onComplete != null){ _onComplete(); }; } public function set encoderType(_arg1:String):void{ _encoderType = _arg1; if (_arg1 == PNG){ encoder = PNGEncoder; _ext = "png"; } else { if (_arg1 == JPEG){ encoder = new JPGEncoder(_quality); _ext = "jpg"; }; }; } } }//package com.cde.graphics class URLInfo { private function URLInfo(){ } public static function getBaseURL(_arg1:String):String{ var _local2:int; var _local3:int; _local2 = _arg1.search(/\?/); if (_local2 > -1){ _arg1 = _arg1.substr(0, _local2); }; _local3 = _arg1.search(/\/[^\/]+$/); _arg1 = _arg1.substr(0, (_local3 + 1)); return (_arg1); } public static function isLocal(_arg1:String):Boolean{ if (_arg1.search("file://") > -1){ return (true); }; return (false); } public static function getRootURL(_arg1:String):String{ return (_arg1.substr(0, (_arg1.search(/\w\//) + 2))); } }
Section 20
//bgsound (bgsound) package { import flash.media.*; public dynamic class bgsound extends Sound { } }//package

Library Items

Symbol 1 Sound {bgsound}
Symbol 2 GraphicUsed by:Timeline
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:Timeline
Symbol 8 FontUsed by:9 29 41
Symbol 9 EditableTextUses:8Used by:Timeline
Symbol 10 GraphicUsed by:23 232
Symbol 11 GraphicUsed by:12 232
Symbol 12 MovieClipUses:11Used by:23
Symbol 13 GraphicUsed by:22 232
Symbol 14 GraphicUsed by:22
Symbol 15 GraphicUsed by:22
Symbol 16 GraphicUsed by:22
Symbol 17 GraphicUsed by:22
Symbol 18 GraphicUsed by:22
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:13 14 15 16 17 18 19 20 21Used by:23
Symbol 23 MovieClipUses:10 12 22Used by:232  Timeline
Symbol 24 SoundUsed by:Timeline
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27 31
Symbol 27 MovieClipUses:26Used by:31
Symbol 28 GraphicUsed by:30 31
Symbol 29 TextUses:8Used by:30 31
Symbol 30 MovieClipUses:28 29Used by:31
Symbol 31 ButtonUses:27 30 26 28 29Used by:Timeline
Symbol 32 GraphicUsed by:39
Symbol 33 GraphicUsed by:34
Symbol 34 ButtonUses:33Used by:39
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:39
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 MovieClip {cde_claresse_fla.cdeitems_cdeitems_cde_cloud123joinmycde_9}Uses:32 34 36 38Used by:Timeline
Symbol 40 GraphicUsed by:45  Timeline
Symbol 41 TextUses:8Used by:45  Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 ButtonUses:43Used by:46  Timeline
Symbol 45 ButtonUses:40 41Used by:Timeline
Symbol 46 MovieClip {cde_claresse_fla.Symbol11111_15}Uses:44Used by:Timeline
Symbol 47 GraphicUsed by:199
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:48 49Used by:168 176 187 197 199
Symbol 51 GraphicUsed by:199
Symbol 52 GraphicUsed by:199
Symbol 53 GraphicUsed by:199
Symbol 54 GraphicUsed by:199
Symbol 55 GraphicUsed by:199
Symbol 56 GraphicUsed by:199
Symbol 57 GraphicUsed by:199
Symbol 58 GraphicUsed by:123
Symbol 59 GraphicUsed by:61
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:59 60Used by:123
Symbol 62 GraphicUsed by:67
Symbol 63 GraphicUsed by:67
Symbol 64 GraphicUsed by:67
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClip {cde_claresse_fla.hair_20}Uses:62 63 64 65 66Used by:123
Symbol 68 GraphicUsed by:78
Symbol 69 GraphicUsed by:78
Symbol 70 GraphicUsed by:78
Symbol 71 GraphicUsed by:78
Symbol 72 GraphicUsed by:78
Symbol 73 GraphicUsed by:78
Symbol 74 GraphicUsed by:78
Symbol 75 GraphicUsed by:78
Symbol 76 GraphicUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip {cde_claresse_fla.shoes_21}Uses:68 69 70 71 72 73 74 75 76 77Used by:123
Symbol 79 GraphicUsed by:89
Symbol 80 GraphicUsed by:89
Symbol 81 GraphicUsed by:89
Symbol 82 GraphicUsed by:89
Symbol 83 GraphicUsed by:89
Symbol 84 GraphicUsed by:89
Symbol 85 GraphicUsed by:89
Symbol 86 GraphicUsed by:89
Symbol 87 GraphicUsed by:89
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClip {cde_claresse_fla.dress_22}Uses:79 80 81 82 83 84 85 86 87 88Used by:123
Symbol 90 GraphicUsed by:100
Symbol 91 GraphicUsed by:100
Symbol 92 GraphicUsed by:100
Symbol 93 GraphicUsed by:100
Symbol 94 GraphicUsed by:100
Symbol 95 GraphicUsed by:100
Symbol 96 GraphicUsed by:100
Symbol 97 GraphicUsed by:100
Symbol 98 GraphicUsed by:100
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClip {cde_claresse_fla.bottoms_23}Uses:90 91 92 93 94 95 96 97 98 99Used by:123
Symbol 101 GraphicUsed by:111
Symbol 102 GraphicUsed by:111
Symbol 103 GraphicUsed by:111
Symbol 104 GraphicUsed by:111
Symbol 105 GraphicUsed by:111
Symbol 106 GraphicUsed by:111
Symbol 107 GraphicUsed by:111
Symbol 108 GraphicUsed by:111
Symbol 109 GraphicUsed by:111
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClip {cde_claresse_fla.tops_24}Uses:101 102 103 104 105 106 107 108 109 110Used by:123
Symbol 112 GraphicUsed by:122
Symbol 113 GraphicUsed by:122
Symbol 114 GraphicUsed by:122
Symbol 115 GraphicUsed by:122
Symbol 116 GraphicUsed by:122
Symbol 117 GraphicUsed by:122
Symbol 118 GraphicUsed by:122
Symbol 119 GraphicUsed by:122
Symbol 120 GraphicUsed by:122
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClip {cde_claresse_fla.acc_25}Uses:112 113 114 115 116 117 118 119 120 121Used by:123
Symbol 123 MovieClip {cde_claresse_fla.doll_18}Uses:58 61 67 78 89 100 111 122Used by:199
Symbol 124 GraphicUsed by:199
Symbol 125 GraphicUsed by:130
Symbol 126 GraphicUsed by:130
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:130 163 168
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:125 126 128 129Used by:199
Symbol 131 GraphicUsed by:134
Symbol 132 GraphicUsed by:134
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:131 132 133Used by:199
Symbol 135 GraphicUsed by:138
Symbol 136 GraphicUsed by:138
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:135 136 137Used by:199
Symbol 139 GraphicUsed by:152
Symbol 140 GraphicUsed by:152
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:152 197
Symbol 143 GraphicUsed by:152
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:152 197
Symbol 146 GraphicUsed by:152
Symbol 147 GraphicUsed by:150
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:150
Symbol 150 MovieClipUses:147 149Used by:152 197
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:139 140 142 143 145 146 150 151Used by:199
Symbol 153 GraphicUsed by:156
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 ButtonUses:153 154 155Used by:199
Symbol 157 GraphicUsed by:199
Symbol 158 GraphicUsed by:168
Symbol 159 GraphicUsed by:168 176 187 197
Symbol 160 FontUsed by:161
Symbol 161 TextUses:160Used by:168 176 187 197
Symbol 162 GraphicUsed by:168
Symbol 163 MovieClipUses:128Used by:168
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:166
Symbol 166 MovieClipUses:165Used by:167
Symbol 167 MovieClipUses:166Used by:168
Symbol 168 MovieClip {cde_claresse_fla.bg1_36}Uses:158 128 50 159 161 162 163 167Used by:199
Symbol 169 GraphicUsed by:199
Symbol 170 GraphicUsed by:176
Symbol 171 GraphicUsed by:176
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:174
Symbol 174 MovieClipUses:173Used by:175
Symbol 175 MovieClipUses:174Used by:176
Symbol 176 MovieClip {cde_claresse_fla.bg2_41}Uses:170 50 159 161 171 175Used by:199
Symbol 177 GraphicUsed by:199
Symbol 178 GraphicUsed by:187
Symbol 179 GraphicUsed by:187
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:182
Symbol 182 MovieClipUses:181Used by:187
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:184 185Used by:187
Symbol 187 MovieClip {cde_claresse_fla.bg3_45}Uses:178 50 159 161 179 182 186Used by:199
Symbol 188 GraphicUsed by:197
Symbol 189 GraphicUsed by:197
Symbol 190 GraphicUsed by:197
Symbol 191 GraphicUsed by:197
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:194
Symbol 194 MovieClipUses:193Used by:195
Symbol 195 MovieClipUses:194Used by:196
Symbol 196 MovieClipUses:195Used by:197
Symbol 197 MovieClip {cde_claresse_fla.bg4_50}Uses:188 142 189 145 190 150 50 159 161 191 196Used by:199
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClip {cde_claresse_fla.game_16}Uses:47 50 51 52 53 54 55 56 57 123 124 130 134 138 152 156 157 168 169 176 177 187 197 198Used by:Timeline
Symbol 200 GraphicUsed by:Timeline
Symbol 201 GraphicUsed by:205
Symbol 202 GraphicUsed by:205
Symbol 203 GraphicUsed by:205
Symbol 204 GraphicUsed by:205
Symbol 205 ButtonUses:201 202 203 204Used by:Timeline
Symbol 206 GraphicUsed by:210
Symbol 207 GraphicUsed by:210
Symbol 208 GraphicUsed by:210
Symbol 209 GraphicUsed by:210
Symbol 210 ButtonUses:206 207 208 209Used by:Timeline
Symbol 211 GraphicUsed by:Timeline
Symbol 212 GraphicUsed by:216
Symbol 213 GraphicUsed by:216
Symbol 214 GraphicUsed by:216
Symbol 215 GraphicUsed by:216
Symbol 216 ButtonUses:212 213 214 215Used by:Timeline
Symbol 217 GraphicUsed by:221
Symbol 218 GraphicUsed by:221
Symbol 219 GraphicUsed by:221
Symbol 220 GraphicUsed by:221
Symbol 221 ButtonUses:217 218 219 220Used by:Timeline
Symbol 222 GraphicUsed by:227
Symbol 223 FontUsed by:224 226 229 231
Symbol 224 TextUses:223Used by:227
Symbol 225 GraphicUsed by:227
Symbol 226 TextUses:223Used by:227
Symbol 227 ButtonUses:222 224 225 226Used by:Timeline
Symbol 228 GraphicUsed by:232
Symbol 229 TextUses:223Used by:232
Symbol 230 GraphicUsed by:232
Symbol 231 TextUses:223Used by:232
Symbol 232 ButtonUses:228 229 23 230 231 10 11 13Used by:Timeline

Instance Names

"loadBar"Frame 1Symbol 6 MovieClip
"loadText"Frame 1Symbol 9 EditableText
"playNowBtn"Frame 27Symbol 45 Button
"moreGamesCloud"Frame 27Symbol 46 MovieClip {cde_claresse_fla.Symbol11111_15}
"game"Frame 91Symbol 199 MovieClip {cde_claresse_fla.game_16}
"resetBtn"Frame 91Symbol 205 Button
"saveBtn"Frame 91Symbol 210 Button
"playBtn"Frame 91Symbol 216 Button
"stopBtn"Frame 91Symbol 221 Button
"joinCDEBtn"Frame 91Symbol 227 Button
"cde_btn"Frame 91Symbol 232 Button
"joinCDEBtn"Symbol 39 MovieClip {cde_claresse_fla.cdeitems_cdeitems_cde_cloud123joinmycde_9} Frame 1Symbol 34 Button
"moreGamesBtn"Symbol 46 MovieClip {cde_claresse_fla.Symbol11111_15} Frame 1Symbol 44 Button
"hair"Symbol 123 MovieClip {cde_claresse_fla.doll_18} Frame 1Symbol 67 MovieClip {cde_claresse_fla.hair_20}
"shoes"Symbol 123 MovieClip {cde_claresse_fla.doll_18} Frame 1Symbol 78 MovieClip {cde_claresse_fla.shoes_21}
"dress"Symbol 123 MovieClip {cde_claresse_fla.doll_18} Frame 1Symbol 89 MovieClip {cde_claresse_fla.dress_22}
"bot"Symbol 123 MovieClip {cde_claresse_fla.doll_18} Frame 1Symbol 100 MovieClip {cde_claresse_fla.bottoms_23}
"tops"Symbol 123 MovieClip {cde_claresse_fla.doll_18} Frame 1Symbol 111 MovieClip {cde_claresse_fla.tops_24}
"acc"Symbol 123 MovieClip {cde_claresse_fla.doll_18} Frame 1Symbol 122 MovieClip {cde_claresse_fla.acc_25}
"btn1"Symbol 168 MovieClip {cde_claresse_fla.bg1_36} Frame 1Symbol 50 Button
"btn2"Symbol 176 MovieClip {cde_claresse_fla.bg2_41} Frame 1Symbol 50 Button
"btn3"Symbol 187 MovieClip {cde_claresse_fla.bg3_45} Frame 1Symbol 50 Button
"btn4"Symbol 197 MovieClip {cde_claresse_fla.bg4_50} Frame 1Symbol 50 Button
"shoesBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"accBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"dressBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"botBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"topsBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"nextBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"hairBTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 50 Button
"doll"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1Symbol 123 MovieClip {cde_claresse_fla.doll_18}
"bg1BTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 10Symbol 156 Button
"bg2BTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 10Symbol 156 Button
"bg3BTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 10Symbol 156 Button
"bg4BTN"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 10Symbol 156 Button

Special Tags

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

Labels

"doll"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 1
"bgs"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 10
"bg1"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 20
"bg2"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 30
"bg3"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 40
"bg4"Symbol 199 MovieClip {cde_claresse_fla.game_16} Frame 50




http://swfchan.com/22/108248/info.shtml
Created: 15/3 -2019 17:24:56 Last modified: 15/3 -2019 17:24:56 Server time: 05/11 -2024 19:39:45