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

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

labuat.swf

This is the info page for
Flash #243785

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


Text
Your name

Your e-mail

Add multiple e-mail addresses, separated by commas.

Friend’s e-mail

Send.

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

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

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

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

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

TU MENSAJE SE HA MANDADO CORRECTAMENTE

Message.

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

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

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

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

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

Paint again

Play video

Send to a friend

Credits

Created by:

Idea & Art Direction:
Creative Programming:
Animation:

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

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

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

Painting a song

ActionScript [AS3]

Section 1
//animacionLabuat (animaciones.animacionLabuat) package animaciones { public interface animacionLabuat { function destruye():void; function pausa():void; function initX(_arg1:Number, _arg2:Number):void; function empieza():void; function tick(_arg1:Number, _arg2:Number):void; } }//package animaciones
Section 2
//simple (animaciones.simple) package animaciones { import flash.display.*; public class simple extends MovieClip implements animacionLabuat { public function simple():void{ } public function empieza():void{ var _local1:int; var _local2:DisplayObject; var _local3:MovieClip; if (this.currentFrame != this.totalFrames){ this.play(); }; _local1 = 0; while (_local1 < this.numChildren) { _local2 = this.getChildAt(_local1); if ((_local2 is MovieClip)){ _local3 = (_local2 as MovieClip); if (_local3.currentFrame != _local3.totalFrames){ _local3.play(); }; }; _local1++; }; } public function destruye():void{ } public function initX(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function tick(_arg1:Number, _arg2:Number):void{ this.x = (this.x - _arg1); this.y = (this.y - _arg2); } public function pausa():void{ var _local1:int; var _local2:DisplayObject; var _local3:MovieClip; trace("Pausa"); trace(this); trace(this.numChildren); this.stop(); _local1 = 0; while (_local1 < this.numChildren) { _local2 = this.getChildAt(_local1); if ((_local2 is MovieClip)){ trace("Clip!"); _local3 = (_local2 as MovieClip); _local3.stop(); }; _local1++; }; } } }//package animaciones
Section 3
//BarColor (com.everydayflash.equalizer.color.BarColor) package com.everydayflash.equalizer.color { import com.everydayflash.equalizer.*; public interface BarColor { function onRendered():void; function setSettings(_arg1:EqualizerSettings):void; function getColor(_arg1:int, _arg2:int):uint; } }//package com.everydayflash.equalizer.color
Section 4
//SolidBarColor (com.everydayflash.equalizer.color.SolidBarColor) package com.everydayflash.equalizer.color { import com.everydayflash.equalizer.*; public class SolidBarColor implements BarColor { private var color:uint; public function SolidBarColor(_arg1:uint=4294967295){ color = _arg1; } public function setSettings(_arg1:EqualizerSettings):void{ } public function onRendered():void{ } public function getColor(_arg1:int, _arg2:int):uint{ return (color); } } }//package com.everydayflash.equalizer.color
Section 5
//SpectrumReader (com.everydayflash.equalizer.util.SpectrumReader) package com.everydayflash.equalizer.util { import flash.utils.*; import flash.media.*; public class SpectrumReader { private var size:int; private var ARITHMETIC_MEAN:int;// = 0 private var MEDIAN:int;// = 0 private var GEOMTRIC_MEAN:int;// = 0 private var SPECTRUM_LENGTH:Number;// = 0x0200 private var CM_ARITHMETIC_MEAN:int;// = 0 private var bytes:ByteArray; private var reduction:int; private var resultTemplate:Array; public function SpectrumReader(_arg1:int){ var _local2:int; SPECTRUM_LENGTH = 0x0200; ARITHMETIC_MEAN = 0; GEOMTRIC_MEAN = 0; MEDIAN = 0; CM_ARITHMETIC_MEAN = 0; super(); size = _arg1; reduction = Math.round((SPECTRUM_LENGTH / size)); bytes = new ByteArray(); resultTemplate = new Array(); _local2 = 0; while (_local2 < size) { resultTemplate.push(0); _local2++; }; } private function byArithmeticMean(_arg1:ByteArray):Array{ var _local2:Array; var _local3:int; _local2 = resultTemplate.concat(); _local3 = 0; while (_local3 < SPECTRUM_LENGTH) { _local2[Math.floor((_local3 / reduction))] = (_local2[Math.floor((_local3 / reduction))] + _arg1.readFloat()); _local3++; }; _local3 = 0; while (_local3 < size) { _local2[_local3] = (_local2[_local3] / reduction); _local3++; }; return (_local2); } private function byMaximumValues(_arg1:ByteArray):Array{ var _local2:Array; var _local3:uint; _local2 = resultTemplate.concat(); _local3 = 0; while (_local3 < SPECTRUM_LENGTH) { _local2[Math.floor((_local3 / reduction))] = Math.max(_arg1.readFloat(), _local2[Math.floor((_local3 / reduction))]); _local3++; }; return (_local2); } public function getSpectrum():Array{ var result:Array; try { SoundMixer.computeSpectrum(bytes, true, 0); result = byMaximumValues(bytes); } catch(e:Error) { }; try { result = reverseLeftChannel(result); } catch(e:Error) { }; return (result); } private function reverseLeftChannel(_arg1:Array):Array{ var _local2:Array; var _local3:int; var _local4:uint; _local2 = new Array(); _local3 = 0; while (_local3 < size) { _local4 = ((_local3)<(size / 2)) ? (((size / 2) - _local3) - 1) : _local3; _local2[_local4] = _arg1[_local3]; _local3++; }; return (_local2); } private function byMedian(_arg1:ByteArray):Array{ var _local2:Array; var _local3:Array; var _local4:int; _local2 = new Array(); _local3 = resultTemplate.concat(); _local4 = 0; while (_local4 < SPECTRUM_LENGTH) { _local2.push(_arg1.readFloat()); _local4++; }; _local4 = 0; while (_local4 < SPECTRUM_LENGTH) { _local3[Math.floor((_local4 / reduction))] = ((_local2[(_local4 + (reduction / 2))] + _local2[((_local4 + (reduction / 2)) + 1)]) / 2); _local4 = (_local4 + reduction); }; return (_local3); } private function byGeometricMean(_arg1:ByteArray):Array{ var _local2:Array; var _local3:int; var _local4:Number; var _local5:Number; _local2 = resultTemplate.concat(); _local3 = 0; while (_local3 < SPECTRUM_LENGTH) { _local4 = _arg1.readFloat(); _local5 = Math.floor((_local3 / reduction)); if (_local2[_local5] == 0){ _local2[_local5] = _local4; } else { if (_local4 > 0){ _local2[Math.floor((_local3 / reduction))] = (_local2[Math.floor((_local3 / reduction))] * _local4); }; }; _local3++; }; _local3 = 0; while (_local3 < size) { _local2[_local3] = Math.pow(_local2[_local3], (1 / reduction)); _local3++; }; return (_local2); } private function multiply(_arg1:Array, _arg2:Number):Array{ var _local3:Array; var _local4:int; _local3 = new Array(); _local4 = 0; while (_local4 < size) { _local3.push(Math.min((_arg1[_local4] * _arg2), 1)); _local4++; }; return (_local3); } private function byMedianNoZero(_arg1:ByteArray):Array{ var _local2:Array; var _local3:Array; var _local4:int; var _local5:int; _local2 = new Array(); _local3 = resultTemplate.concat(); _local4 = 0; while (_local4 < SPECTRUM_LENGTH) { _local2.push(_arg1.readFloat()); _local4++; }; _local4 = 0; while (_local4 < SPECTRUM_LENGTH) { if (_local2[(_local4 + (reduction / 2))] != 0){ _local3[Math.floor((_local4 / reduction))] = ((_local2[(_local4 + (reduction / 2))] + _local2[((_local4 + (reduction / 2)) + 1)]) / 2); } else { _local5 = 0; while (_local5 < reduction) { _local3[Math.floor((_local4 / reduction))] = _local2[(_local4 + _local5)]; if (_local3[Math.floor((_local4 / reduction))] > 0){ break; }; _local5++; }; }; _local4 = (_local4 + reduction); }; return (_local3); } public function getSize():int{ return (size); } } }//package com.everydayflash.equalizer.util
Section 6
//Equalizer (com.everydayflash.equalizer.Equalizer) package com.everydayflash.equalizer { import flash.events.*; import flash.display.*; import com.everydayflash.equalizer.util.*; public class Equalizer extends Sprite { private var effects:EqualizerEffects; private var settings:EqualizerSettings; private var canvasHolder:Bitmap; public var canvas:BitmapData; private var reader:SpectrumReader; public function Equalizer(_arg1:EqualizerSettings=null){ if (_arg1 == null){ _arg1 = new EqualizerSettings(); }; effects = new EqualizerEffects(this); update(_arg1); } public function render(_arg1:Event):void{ var _local2:Array; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:Number; var _local10:Number; canvas.lock(); _local2 = reader.getSpectrum(); _local3 = (reader.getSize() / 2); _local4 = settings.barSize; _local5 = (((settings.vgrid) && ((settings.barSize > 1)))) ? 1 : 0; _local6 = 0; while (_local6 < reader.getSize()) { _local9 = Math.min(settings.height, Math.round((_local2[_local6] * settings.height))); _local10 = 0; _local7 = 0; while (_local7 < settings.height) { if (canvas.getPixel32((_local6 * _local4), _local7) != 0){ _local8 = 0; while (_local8 < (_local4 - _local5)) { canvas.setPixel32(((_local6 * _local4) + _local8), _local7, 0); _local8++; }; if (settings.hgrid == 0){ _local10++; } else { if (((!((settings.hgrid == 0))) && (((_local7 % settings.hgrid) == 0)))){ _local10++; }; }; }; if (_local10 > (settings.height / (32 * (settings.hgrid + 1)))){ break; }; _local7++; }; _local7 = 0; while (_local7 < _local9) { if (((!((settings.hgrid == 0))) && (((_local7 % settings.hgrid) == 1)))){ } else { if (((!((settings.hgrid == 0))) && (((_local9 / settings.hgrid) < 1)))){ break; }; _local8 = 0; while (_local8 < (_local4 - _local5)) { canvas.setPixel32(((_local6 * _local4) + _local8), (settings.height - _local7), settings.colorManager.getColor(_local6, _local7)); _local8++; }; }; _local7++; }; _local6++; }; canvas.unlock(); settings.colorManager.onRendered(); effects.onRendered(); } public function getSettings():EqualizerSettings{ return (settings); } public function update(_arg1:EqualizerSettings):void{ settings = _arg1; if (((!((canvas == null))) && (contains(canvasHolder)))){ removeChild(canvasHolder); canvas.dispose(); }; reader = new SpectrumReader(settings.numOfBars); settings.colorManager.setSettings(settings); canvas = new BitmapData(settings.getWidth(), settings.height, true, 0); canvasHolder = new Bitmap(canvas); addChild(canvasHolder); effects.update(settings); } } }//package com.everydayflash.equalizer
Section 7
//EqualizerEffects (com.everydayflash.equalizer.EqualizerEffects) package com.everydayflash.equalizer { import com.gskinner.geom.*; import flash.display.*; import flash.geom.*; import flash.filters.*; public class EqualizerEffects { private var currentEffect:int; private var reflection:BitmapData; private var equalizer:Equalizer; private var reflectionHolder:Bitmap; public function EqualizerEffects(_arg1:Equalizer){ equalizer = _arg1; } public function update(_arg1:EqualizerSettings):void{ var _local2:ColorMatrix; currentEffect = _arg1.effect; equalizer.filters = [new BlurFilter(0, 0, 1)]; if (((!((reflection == null))) && (equalizer.contains(reflectionHolder)))){ equalizer.removeChild(reflectionHolder); reflection.dispose(); (reflection == null); }; switch (_arg1.effect){ case EqualizerSettings.FX_LIGHT_BLUR: equalizer.filters = [new BlurFilter(6, 6, 3)]; break; case EqualizerSettings.FX_STRONG_BLUR: equalizer.filters = [new BlurFilter(12, 12, 3)]; break; case EqualizerSettings.FX_REFLECTION: reflection = new BitmapData(_arg1.getWidth(), _arg1.height, true, 0); reflectionHolder = new Bitmap(reflection); reflectionHolder.y = (_arg1.height * 1.6); reflectionHolder.x = 0; reflectionHolder.rotation = 180; reflectionHolder.scaleX = -1; reflectionHolder.scaleY = 0.6; _local2 = new ColorMatrix(); _local2.adjustBrightness(-60); reflectionHolder.filters = [new ColorMatrixFilter(_local2), new BlurFilter(6, 6, 3)]; equalizer.addChild(reflectionHolder); reflectionHolder.alpha = 0.8; break; default: break; }; } public function onRendered():void{ if (currentEffect == EqualizerSettings.FX_REFLECTION){ reflection.copyPixels(equalizer.canvas, equalizer.canvas.rect, new Point(0, 0)); }; } } }//package com.everydayflash.equalizer
Section 8
//EqualizerSettings (com.everydayflash.equalizer.EqualizerSettings) package com.everydayflash.equalizer { import com.everydayflash.equalizer.color.*; public class EqualizerSettings { public var height:int; public var colorManager:BarColor; public var effect:int; public var barSize:int; public var hgrid:int; public var vgrid:Boolean; public var numOfBars:int; public static var FX_NONE:int = 0; public static var FX_REFLECTION:int = 1; public static var FX_STRONG_BLUR:int = 3; public static var FX_LIGHT_BLUR:int = 2; public function EqualizerSettings(){ numOfBars = 32; height = 32; barSize = 1; colorManager = new SolidBarColor(); vgrid = false; hgrid = 0; effect = FX_NONE; } public function toString():String{ var _local1:String; _local1 = (((((("Size: (" + numOfBars) + " * ") + barSize) + ") / ") + height) + "\n"); return (_local1); } public function getWidth():int{ return ((numOfBars * barSize)); } } }//package com.everydayflash.equalizer
Section 9
//ColorMatrix (com.gskinner.geom.ColorMatrix) package com.gskinner.geom { public dynamic class ColorMatrix extends Array { private static const IDENTITY_MATRIX:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; private static const LENGTH:Number = IDENTITY_MATRIX.length; private static const DELTA_INDEX:Array = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10]; public function ColorMatrix(_arg1:Array=null){ _arg1 = fixMatrix(_arg1); copyMatrix(((_arg1.length)==LENGTH) ? _arg1 : IDENTITY_MATRIX); } public function adjustBrightness(_arg1:Number):void{ _arg1 = cleanValue(_arg1, 100); if ((((_arg1 == 0)) || (isNaN(_arg1)))){ return; }; multiplyMatrix([1, 0, 0, 0, _arg1, 0, 1, 0, 0, _arg1, 0, 0, 1, 0, _arg1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } protected function multiplyMatrix(_arg1:Array):void{ var _local2:Array; var _local3:uint; var _local4:uint; var _local5:Number; var _local6:Number; _local2 = []; _local3 = 0; while (_local3 < 5) { _local4 = 0; while (_local4 < 5) { _local2[_local4] = this[(_local4 + (_local3 * 5))]; _local4++; }; _local4 = 0; while (_local4 < 5) { _local5 = 0; _local6 = 0; while (_local6 < 5) { _local5 = (_local5 + (_arg1[(_local4 + (_local6 * 5))] * _local2[_local6])); _local6++; }; this[(_local4 + (_local3 * 5))] = _local5; _local4++; }; _local3++; }; } public function adjustSaturation(_arg1:Number):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _arg1 = cleanValue(_arg1, 100); if ((((_arg1 == 0)) || (isNaN(_arg1)))){ return; }; _local2 = (1 + ((_arg1)>0) ? ((3 * _arg1) / 100) : (_arg1 / 100)); _local3 = 0.3086; _local4 = 0.6094; _local5 = 0.082; multiplyMatrix([((_local3 * (1 - _local2)) + _local2), (_local4 * (1 - _local2)), (_local5 * (1 - _local2)), 0, 0, (_local3 * (1 - _local2)), ((_local4 * (1 - _local2)) + _local2), (_local5 * (1 - _local2)), 0, 0, (_local3 * (1 - _local2)), (_local4 * (1 - _local2)), ((_local5 * (1 - _local2)) + _local2), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } public function reset():void{ var _local1:uint; _local1 = 0; while (_local1 < LENGTH) { this[_local1] = IDENTITY_MATRIX[_local1]; _local1++; }; } public function adjustColor(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ adjustHue(_arg4); adjustContrast(_arg2); adjustBrightness(_arg1); adjustSaturation(_arg3); } public function clone():ColorMatrix{ return (new ColorMatrix(this)); } public function toArray():Array{ return (slice(0, 20)); } protected function cleanValue(_arg1:Number, _arg2:Number):Number{ return (Math.min(_arg2, Math.max(-(_arg2), _arg1))); } public function adjustHue(_arg1:Number):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _arg1 = ((cleanValue(_arg1, 180) / 180) * Math.PI); if ((((_arg1 == 0)) || (isNaN(_arg1)))){ return; }; _local2 = Math.cos(_arg1); _local3 = Math.sin(_arg1); _local4 = 0.213; _local5 = 0.715; _local6 = 0.072; multiplyMatrix([((_local4 + (_local2 * (1 - _local4))) + (_local3 * -(_local4))), ((_local5 + (_local2 * -(_local5))) + (_local3 * -(_local5))), ((_local6 + (_local2 * -(_local6))) + (_local3 * (1 - _local6))), 0, 0, ((_local4 + (_local2 * -(_local4))) + (_local3 * 0.143)), ((_local5 + (_local2 * (1 - _local5))) + (_local3 * 0.14)), ((_local6 + (_local2 * -(_local6))) + (_local3 * -0.283)), 0, 0, ((_local4 + (_local2 * -(_local4))) + (_local3 * -((1 - _local4)))), ((_local5 + (_local2 * -(_local5))) + (_local3 * _local5)), ((_local6 + (_local2 * (1 - _local6))) + (_local3 * _local6)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } public function concat(_arg1:Array):void{ _arg1 = fixMatrix(_arg1); if (_arg1.length != LENGTH){ return; }; multiplyMatrix(_arg1); } protected function copyMatrix(_arg1:Array):void{ var _local2:Number; var _local3:uint; _local2 = LENGTH; _local3 = 0; while (_local3 < _local2) { this[_local3] = _arg1[_local3]; _local3++; }; } protected function fixMatrix(_arg1:Array=null):Array{ if (_arg1 == null){ return (IDENTITY_MATRIX); }; if ((_arg1 is ColorMatrix)){ _arg1 = _arg1.slice(0); }; if (_arg1.length < LENGTH){ _arg1 = _arg1.slice(0, _arg1.length).concat(IDENTITY_MATRIX.slice(_arg1.length, LENGTH)); } else { if (_arg1.length > LENGTH){ _arg1 = _arg1.slice(0, LENGTH); }; }; return (_arg1); } public function adjustContrast(_arg1:Number):void{ var _local2:Number; _arg1 = cleanValue(_arg1, 100); if ((((_arg1 == 0)) || (isNaN(_arg1)))){ return; }; if (_arg1 < 0){ _local2 = (127 + ((_arg1 / 100) * 127)); } else { _local2 = (_arg1 % 1); if (_local2 == 0){ _local2 = DELTA_INDEX[_arg1]; } else { _local2 = ((DELTA_INDEX[(_arg1 << 0)] * (1 - _local2)) + (DELTA_INDEX[((_arg1 << 0) + 1)] * _local2)); }; _local2 = ((_local2 * 127) + 127); }; multiplyMatrix([(_local2 / 127), 0, 0, 0, (0.5 * (127 - _local2)), 0, (_local2 / 127), 0, 0, (0.5 * (127 - _local2)), 0, 0, (_local2 / 127), 0, (0.5 * (127 - _local2)), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } public function toString():String{ return ((("ColorMatrix [ " + this.join(" , ")) + " ]")); } } }//package com.gskinner.geom
Section 10
//pantallaContacto (es.camper.imaginationwalks.visor.pantallaContacto) package es.camper.imaginationwalks.visor { import flash.display.*; import flash.text.*; public dynamic class pantallaContacto extends MovieClip { public var mascara:MovieClip; public var mensajeInput:TextField; public var t2:MovieClip; public var t3:MovieClip; public var t1:MovieClip; public var asuntoInput:TextField; public var errorMsg:TextField; public var bAceptar:SimpleButton; public var solido4:MovieClip; public var solido2:MovieClip; public var nombreInput:TextField; public var emailInput:TextField; public var solido1:MovieClip; public var tt1:MovieClip; public var tt3:MovieClip; public var tt4:MovieClip; public var tt2:MovieClip; public var solido3:MovieClip; public function pantallaContacto(){ addFrameScript(0, frame1, 24, frame25); } function frame25(){ this.stop(); } function frame1(){ this.stop(); } } }//package es.camper.imaginationwalks.visor
Section 11
//Regular (fl.transitions.easing.Regular) package fl.transitions.easing { public class Regular { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } } }//package fl.transitions.easing
Section 12
//Tween (fl.transitions.Tween) package fl.transitions { import flash.utils.*; import flash.events.*; import flash.display.*; public class Tween extends EventDispatcher { private var _position:Number;// = NAN public var prevTime:Number;// = NAN public var prevPos:Number;// = NAN public var isPlaying:Boolean;// = false public var begin:Number;// = NAN private var _fps:Number;// = NAN private var _time:Number;// = NAN public var change:Number;// = NAN private var _finish:Number;// = NAN public var looping:Boolean;// = false private var _intervalID:uint;// = 0 public var func:Function; private var _timer:Timer;// = null private var _startTime:Number;// = NAN public var prop:String;// = "" private var _duration:Number;// = NAN public var obj:Object;// = null public var useSeconds:Boolean;// = false protected static var _mc:MovieClip = new MovieClip(); public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){ isPlaying = false; obj = null; prop = ""; func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); }; begin = NaN; change = NaN; useSeconds = false; prevTime = NaN; prevPos = NaN; looping = false; _duration = NaN; _time = NaN; _fps = NaN; _position = NaN; _startTime = NaN; _intervalID = 0; _finish = NaN; _timer = null; super(); if (!arguments.length){ return; }; this.obj = _arg1; this.prop = _arg2; this.begin = _arg4; this.position = _arg4; this.duration = _arg6; this.useSeconds = _arg7; if ((_arg3 is Function)){ this.func = _arg3; }; this.finish = _arg5; this._timer = new Timer(100); this.start(); } public function continueTo(_arg1:Number, _arg2:Number):void{ this.begin = this.position; this.finish = _arg1; if (!isNaN(_arg2)){ this.duration = _arg2; }; this.start(); } public function stop():void{ this.stopEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position)); } private function fixTime():void{ if (this.useSeconds){ this._startTime = (getTimer() - (this._time * 1000)); }; } public function set FPS(_arg1:Number):void{ var _local2:Boolean; _local2 = this.isPlaying; this.stopEnterFrame(); this._fps = _arg1; if (_local2){ this.startEnterFrame(); }; } public function get finish():Number{ return ((this.begin + this.change)); } public function get duration():Number{ return (this._duration); } protected function startEnterFrame():void{ var _local1:Number; if (isNaN(this._fps)){ _mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true); } else { _local1 = (1000 / this._fps); this._timer.delay = _local1; this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true); this._timer.start(); }; this.isPlaying = true; } public function set time(_arg1:Number):void{ this.prevTime = this._time; if (_arg1 > this.duration){ if (this.looping){ this.rewind((_arg1 - this._duration)); this.update(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position)); } else { if (this.useSeconds){ this._time = this._duration; this.update(); }; this.stop(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position)); }; } else { if (_arg1 < 0){ this.rewind(); this.update(); } else { this._time = _arg1; this.update(); }; }; } protected function stopEnterFrame():void{ if (isNaN(this._fps)){ _mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame); } else { this._timer.stop(); }; this.isPlaying = false; } public function getPosition(_arg1:Number=NaN):Number{ if (isNaN(_arg1)){ _arg1 = this._time; }; return (this.func(_arg1, this.begin, this.change, this._duration)); } public function set finish(_arg1:Number):void{ this.change = (_arg1 - this.begin); } public function set duration(_arg1:Number):void{ this._duration = ((_arg1)<=0) ? Infinity : _arg1; } public function setPosition(_arg1:Number):void{ this.prevPos = this._position; if (this.prop.length){ this.obj[this.prop] = (this._position = _arg1); }; this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position)); } public function resume():void{ this.fixTime(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position)); } public function fforward():void{ this.time = this._duration; this.fixTime(); } protected function onEnterFrame(_arg1:Event):void{ this.nextFrame(); } public function get position():Number{ return (this.getPosition(this._time)); } public function yoyo():void{ this.continueTo(this.begin, this.time); } public function nextFrame():void{ if (this.useSeconds){ this.time = ((getTimer() - this._startTime) / 1000); } else { this.time = (this._time + 1); }; } protected function timerHandler(_arg1:TimerEvent):void{ this.nextFrame(); _arg1.updateAfterEvent(); } public function get FPS():Number{ return (this._fps); } public function rewind(_arg1:Number=0):void{ this._time = _arg1; this.fixTime(); this.update(); } public function set position(_arg1:Number):void{ this.setPosition(_arg1); } public function get time():Number{ return (this._time); } private function update():void{ this.setPosition(this.getPosition(this._time)); } public function start():void{ this.rewind(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position)); } public function prevFrame():void{ if (!this.useSeconds){ this.time = (this._time - 1); }; } } }//package fl.transitions
Section 13
//TweenEvent (fl.transitions.TweenEvent) package fl.transitions { import flash.events.*; public class TweenEvent extends Event { public var time:Number;// = NAN public var position:Number;// = NAN public static const MOTION_START:String = "motionStart"; public static const MOTION_STOP:String = "motionStop"; public static const MOTION_LOOP:String = "motionLoop"; public static const MOTION_CHANGE:String = "motionChange"; public static const MOTION_FINISH:String = "motionFinish"; public static const MOTION_RESUME:String = "motionResume"; public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){ time = NaN; position = NaN; super(_arg1, _arg4, _arg5); this.time = _arg2; this.position = _arg3; } override public function clone():Event{ return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable)); } } }//package fl.transitions
Section 14
//CreditosA_28 (labuat_fla.CreditosA_28) package labuat_fla { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class CreditosA_28 extends MovieClip { public var bt1:SimpleButton; public var bt2:SimpleButton; public function CreditosA_28(){ addFrameScript(0, frame1); } public function clic1(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.herraizsoto.es"), "_blank"); } function frame1(){ bt1.addEventListener(MouseEvent.CLICK, clic1); bt2.addEventListener(MouseEvent.CLICK, clic2); } public function clic2(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.badabing.es"), "_blank"); } } }//package labuat_fla
Section 15
//CreditosB_31 (labuat_fla.CreditosB_31) package labuat_fla { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class CreditosB_31 extends MovieClip { public var bt1:SimpleButton; public var bt3:SimpleButton; public var bt2:SimpleButton; public function CreditosB_31(){ addFrameScript(0, frame1); } public function clic3(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.zumbakamera.com/"), "_blank"); } public function clic1(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.herraizsoto.es"), "_blank"); } function frame1(){ bt1.addEventListener(MouseEvent.CLICK, clic1); bt2.addEventListener(MouseEvent.CLICK, clic2); bt3.addEventListener(MouseEvent.CLICK, clic3); } public function clic2(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.badabing.es"), "_blank"); } } }//package labuat_fla
Section 16
//Creditosdesplegado_27 (labuat_fla.Creditosdesplegado_27) package labuat_fla { import flash.display.*; public dynamic class Creditosdesplegado_27 extends MovieClip { public var bCerrar:SimpleButton; public function Creditosdesplegado_27(){ addFrameScript(0, frame1); } function frame1(){ if (creditos.desdeClic){ gotoAndStop(2); } else { stop(); }; } } }//package labuat_fla
Section 17
//Fondo_1 (labuat_fla.Fondo_1) package labuat_fla { import flash.display.*; public dynamic class Fondo_1 extends MovieClip { public var stage_fondofijo:MovieClip; public var stage_sombraderecha:MovieClip; public var stage_brillo:MovieClip; public var stage_sombraizquierda:MovieClip; public function Fondo_1(){ addFrameScript(0, frame1); } function frame1(){ this.stop(); } } }//package labuat_fla
Section 18
//Formularioanimado_48 (labuat_fla.Formularioanimado_48) package labuat_fla { import flash.display.*; public dynamic class Formularioanimado_48 extends MovieClip { public var bCerrar:SimpleButton; public function Formularioanimado_48(){ addFrameScript(16, frame17); } function frame17(){ this.stop(); } } }//package labuat_fla
Section 19
//Imagencargando_12 (labuat_fla.Imagencargando_12) package labuat_fla { import flash.display.*; public dynamic class Imagencargando_12 extends MovieClip { public function Imagencargando_12(){ addFrameScript(0, frame1, 69, frame70, 136, frame137, 137, frame138); } function frame70(){ this.stop(); } function frame1(){ this.stop(); } function frame138(){ this.stop(); } function frame137(){ this.stop(); } } }//package labuat_fla
Section 20
//Logo_9 (labuat_fla.Logo_9) package labuat_fla { import flash.display.*; public dynamic class Logo_9 extends MovieClip { public function Logo_9(){ addFrameScript(19, frame20); } function frame20(){ this.stop(); } } }//package labuat_fla
Section 21
//Luz_6 (labuat_fla.Luz_6) package labuat_fla { import flash.display.*; public dynamic class Luz_6 extends MovieClip { public function Luz_6(){ addFrameScript(0, frame1, 7, frame8); } function frame1(){ this.scaleX = (this.scaleY = (0.5 + (0.5 * Math.random()))); this.x = ((this.stage.mouseX - 300) + (600 * Math.random())); this.y = ((this.stage.mouseY - 300) + (600 * Math.random())); } function frame8(){ this.stop(); } } }//package labuat_fla
Section 22
//Punterodemouseencargando_13 (labuat_fla.Punterodemouseencargando_13) package labuat_fla { import flash.display.*; import flash.text.*; public dynamic class Punterodemouseencargando_13 extends MovieClip { public var texto2:TextField; public var texto:TextField; public function Punterodemouseencargando_13(){ addFrameScript(0, frame1, 21, frame22); } function frame1(){ this.stop(); } function frame22(){ this.gotoAndPlay(1); } } }//package labuat_fla
Section 23
//Salpicadura_71 (labuat_fla.Salpicadura_71) package labuat_fla { import flash.display.*; public dynamic class Salpicadura_71 extends MovieClip { public function Salpicadura_71(){ addFrameScript(0, frame1); } function frame1(){ this.rotation = (360 * Math.random()); } } }//package labuat_fla
Section 24
//Stagepastilla_42 (labuat_fla.Stagepastilla_42) package labuat_fla { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class Stagepastilla_42 extends MovieClip { public var stage_boton:MovieClip; public function Stagepastilla_42(){ addFrameScript(0, frame1); } function frame1(){ this.stage_boton.addEventListener(MouseEvent.CLICK, this.navegar); this.stage_boton.buttonMode = true; } public function navegar(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.labuat.com"), "_blank"); } } }//package labuat_fla
Section 25
//Videosalida_20 (labuat_fla.Videosalida_20) package labuat_fla { import flash.display.*; public dynamic class Videosalida_20 extends MovieClip { public function Videosalida_20(){ addFrameScript(39, frame40); } function frame40(){ this.stop(); } } }//package labuat_fla
Section 26
//pincelClimax (pinceles.pincelClimax) package pinceles { import flash.utils.*; import flash.events.*; import flash.display.*; public class pincelClimax implements gestorPinceles { private var actual:pincel; private var ref:trazo; private var vbase:Number; private var presion:Number;// = 1 private var muriendo;// = false private var amplitud:Number; private var inicio:Number; private var pistasTrazo:Array; private var velocidad:Number; private var x:Number;// = 0 private var y:Number;// = 0 private var vida:Timer; private static const velocidadBasica:Number = 10; private static const velocidadVariable:Number = 10; private static const grosorArmonico:Number = 0.5; private static const grosorVariable:Number = 0; public static const elasticidadTrazoMinima:Number = 1.1; private static const grosorBasico:Number = 0; private static const radioVariable:Number = 10; private static const radioBasico:Number = 25; public static const elasticidadTrazoVariable:Number = 0; private static const irregularidadBasica:Number = 0.6; private static const presionBasica:Number = 0; private static const irregularidadVariable:Number = 0; private static const presionVariable:Number = 1; public function pincelClimax(_arg1:trazo, _arg2:int):void{ var _local3:Array; var _local4:int; x = 0; y = 0; muriendo = false; presion = 1; super(); this.inicio = (getTimer() - (2000 * Math.random())); this.ref = _arg1; this.vbase = (40 + (20 * Math.random())); this.pistasTrazo = new Array(); _local3 = siteLabuat.setup.sincronizacion.secundario.toString().split(","); _local4 = 0; while (_local4 < _local3.length) { this.pistasTrazo.push(int(_local3[_local4])); _local4++; }; this.vida = new Timer((_arg2 * 1000), 1); this.vida.addEventListener(TimerEvent.TIMER_COMPLETE, this.muerte); this.vida.start(); this.amplitud = (pincelClimax.radioBasico + (pincelClimax.radioVariable * Math.random())); this.velocidad = (pincelClimax.velocidadBasica + (pincelClimax.velocidadVariable * Math.random())); } public function get pincelActual():pincel{ var _local1:*; var _local2:Number; 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; _local1 = new pincel(); if (this.muriendo){ this.presion = (this.presion * 0.9); }; if (this.presion < 0.1){ return (null); }; _local1.derrape = 0.1; _local2 = siteLabuat.elInterprete.volumenPistas(this.pistasTrazo); _local3 = (this.ref.trayectoria + (Math.PI / 4)); _local4 = (pincelClimax.velocidadBasica + (_local2 * pincelClimax.velocidadVariable)); this.inicio = (this.inicio + _local4); _local5 = ((getTimer() - this.inicio) / this.velocidad); _local6 = ((getTimer() - this.inicio) / (this.velocidad + 20)); _local7 = (this.ref.ultimoX + ((this.amplitud / 3) * Math.cos(_local5))); _local8 = (this.ref.ultimoY + (this.amplitud * Math.sin(_local6))); this.x = (this.x + ((_local7 - this.x) / 2)); this.y = (this.y + ((_local8 - this.y) / 2)); _local1.x = this.x; _local1.y = this.y; _local9 = (pincelClimax.grosorBasico + (_local2 * pincelClimax.grosorVariable)); _local10 = siteLabuat.elInterprete.volumenPistas(this.pistasTrazo); _local1.presion = this.presion; _local11 = (pincelClimax.irregularidadBasica + (_local10 * pincelClimax.irregularidadVariable)); _local9 = (_local9 + ((pincelClimax.grosorArmonico * dibujante.aplicaArmonicos(4, 0, 2)) * _local11)); _local1.arriba = _local9; _local1.abajo = _local9; _local12 = siteLabuat.elInterprete.volumenPistas([0]); _local1.elasticidadTrazo = (pincelClimax.elasticidadTrazoMinima + (_local12 * pincelClimax.elasticidadTrazoVariable)); return (_local1); } private function muerte(_arg1:Event):void{ this.muriendo = true; trace("Muerte"); } } }//package pinceles
Section 27
//pincelMancha (pinceles.pincelMancha) package pinceles { import flash.utils.*; import flash.events.*; import flash.display.*; public class pincelMancha implements gestorPinceles { private var frenazoPresion:Number; private var presion:Number;// = 1 private var curvatura:Number;// = 0 private var angulo:Number; private var xPincel:Number; private var velocidad:Number; private var grosor:Number; private var offsetArmonico:Number; private var yPincel:Number; private var frenazoVelocidad:Number; private static const velocidadBasica:Number = 0.5; public static const elasticidadTrazo:Number = 1.2; private static const velocidadVariable:Number = 1; private static const grosorVariable:Number = 5; public static const frenazoVelocidadBasico:Number = 0.85; public static const frenazoVelocidadVariable:Number = 0.02; private static const grosorBasico:Number = 8; private static const frenazoPresionVariable:Number = 0.05; private static const frenazoPresionBasico:Number = 0.8; private static const irregularidadArmonica:Number = 18; public function pincelMancha(_arg1:trazo, _arg2:Number=0, _arg3:Number=0):void{ curvatura = 0; offsetArmonico = (100 * Math.random()); presion = 1; super(); this.xPincel = _arg1.ultimoX; this.yPincel = _arg1.ultimoY; if (_arg3){ this.angulo = _arg3; } else { this.angulo = _arg1.trayectoria; }; if (Math.random() < 0.5){ this.angulo = (this.angulo + (Math.PI / 8)); } else { this.angulo = (this.angulo - (Math.PI / 8)); }; this.grosor = ((_arg2) || (_arg1.grosor)); this.velocidad = ((this.grosor + pincelMancha.velocidadBasica) + (pincelMancha.velocidadVariable * Math.random())); this.frenazoVelocidad = (pincelMancha.frenazoVelocidadBasico + (pincelMancha.frenazoVelocidadVariable * Math.random())); this.frenazoPresion = (pincelMancha.frenazoPresionBasico + (pincelMancha.frenazoPresionVariable * Math.random())); if (Math.random()){ this.curvatura = (0.5 + (0.2 * Math.random())); } else { this.curvatura = (-0.5 - (0.2 * Math.random())); }; } public function get pincelActual():pincel{ var _local1:*; var _local2:Number; this.presion = (this.presion * this.frenazoPresion); this.velocidad = (this.velocidad * this.frenazoVelocidad); this.angulo = (this.angulo + this.curvatura); if (Math.random() < 0.15){ this.curvatura = (this.curvatura * -1); }; if ((((this.presion < 0.1)) && ((this.velocidad < 1)))){ return (null); }; _local1 = new pincel(); this.xPincel = (this.xPincel + (((this.velocidad * 1.5) * Math.cos(this.angulo)) - siteLabuat.camarax)); this.yPincel = (this.yPincel + ((this.velocidad * Math.sin(this.angulo)) - siteLabuat.camaray)); _local1.x = this.xPincel; _local1.y = this.yPincel; _local1.presion = this.presion; _local2 = (this.grosor + (pincelMancha.irregularidadArmonica * dibujante.aplicaArmonicos(3, this.offsetArmonico))); _local1.arriba = _local2; _local1.abajo = _local2; _local1.elasticidadTrazo = pincelMancha.elasticidadTrazo; return (_local1); } } }//package pinceles
Section 28
//pincelPrincipal (pinceles.pincelPrincipal) package pinceles { import flash.utils.*; import flash.events.*; import flash.display.*; public class pincelPrincipal implements gestorPinceles { private var inicio:Number; private var pistasTrazo:Array; private var actual:pincel; private var xAnt:Number; private var yAnt:Number; private var _presion:Number;// = 0.6 public static const elasticidadTrazoVariable:Number = 0; private static const presionMinima:Number = 0.6; private static const irregularidadBasica:Number = 0.1; private static const grosorArmonico:Number = 12; private static const grosorVariable:Number = 35; public static const elasticidadTrazoMinima:Number = 1.3; private static const presionMaxima:Number = 1; private static const grosorBasico:Number = 1; private static const irregularidadVariable:Number = 0.4; public function pincelPrincipal():void{ var _local1:Array; var _local2:int; _presion = pincelPrincipal.presionMinima; super(); this.inicio = getTimer(); this.pistasTrazo = new Array(); _local1 = siteLabuat.setup.sincronizacion.principal.toString().split(","); _local2 = 0; while (_local2 < _local1.length) { this.pistasTrazo.push(int(_local1[_local2])); _local2++; }; } public function get pincelActual():pincel{ var _local1:*; var _local2:Number; 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; _local1 = new pincel(); if (siteLabuat.grabando){ _local9 = siteLabuat.stage.mouseX; _local10 = siteLabuat.stage.mouseY; dibujante.coordenadas[dibujante.punteroGrabacion] = {x:(_local9 / siteLabuat.stage.stageWidth), y:(_local10 / siteLabuat.stage.stageHeight), tiempo:(getTimer() - dibujante.inicioGrabacion)}; dibujante.punteroGrabacion++; } else { _local11 = (getTimer() - dibujante.inicioGrabacion); while ((((dibujante.punteroGrabacion < (dibujante.coordenadas.length - 1))) && ((dibujante.coordenadas[dibujante.punteroGrabacion].tiempo < _local11)))) { dibujante.punteroGrabacion++; }; _local9 = (dibujante.coordenadas[dibujante.punteroGrabacion].x * siteLabuat.stage.stageWidth); _local10 = (dibujante.coordenadas[dibujante.punteroGrabacion].y * siteLabuat.stage.stageHeight); }; siteLabuat.referenciaX = _local9; siteLabuat.referenciaY = _local10; if (siteLabuat.sigueMouse){ this.xAnt = (_local1.x = _local9); this.yAnt = (_local1.y = _local10); } else { _local1.x = this.xAnt; _local1.y = this.yAnt; }; _local1.presion = this._presion; _local2 = (0 + (siteLabuat.elInterprete.volumenPistas(this.pistasTrazo) * 1)); _local3 = (pincelPrincipal.grosorBasico + (_local2 * pincelPrincipal.grosorVariable)); _local4 = (pincelPrincipal.grosorBasico + (_local2 * (pincelPrincipal.grosorVariable + (pincelPrincipal.grosorArmonico * dibujante.aplicaArmonicos(2))))); _local5 = (pincelPrincipal.grosorBasico + (_local2 * (pincelPrincipal.grosorVariable + (pincelPrincipal.grosorArmonico * dibujante.aplicaArmonicos(2, 250))))); _local6 = siteLabuat.elInterprete.volumenPistas(this.pistasTrazo); _local7 = (pincelPrincipal.irregularidadBasica + (_local6 * pincelPrincipal.irregularidadVariable)); _local4 = (_local4 * ((1 - _local7) + (_local7 * Math.random()))); _local5 = (_local5 * ((1 - _local7) + (_local7 * Math.random()))); _local1.arriba = _local4; _local1.abajo = _local5; _local8 = _local6; _local1.elasticidadTrazo = (pincelPrincipal.elasticidadTrazoMinima + (_local8 * pincelPrincipal.elasticidadTrazoVariable)); return (_local1); } } }//package pinceles
Section 29
//pincelRamificacion (pinceles.pincelRamificacion) package pinceles { import flash.utils.*; import flash.events.*; import flash.display.*; public class pincelRamificacion implements gestorPinceles { private var frenazoPresion:Number; private var curvatura:Number;// = 0 private var presion:Number;// = 1 private var angulo:Number; private var pistasTrazo:Array; private var xPincel:Number; private var velocidad:Number; private var grosor:Number; private var offsetArmonico:Number; private var yPincel:Number; private var frenazoVelocidad:Number; private static const irregularidadVariable:Number = 0; private static const velocidadBasica:Number = 45; public static const elasticidadTrazo:Number = 1.1; private static const velocidadVariable:Number = 35; private static const grosorArmonico:Number = 0; private static const grosorVariable:Number = 4; public static const frenazoVelocidadBasico:Number = 0.3; public static const frenazoVelocidadVariable:Number = 0.2; private static const grosorBasico:Number = 2; private static const frenazoPresionVariable:Number = 0; private static const irregularidadBasica:Number = 1; private static const frenazoPresionBasico:Number = 1; public function pincelRamificacion(_arg1:Number, _arg2:Number, _arg3:trazo, _arg4:Number, _arg5:Number):void{ var _local6:Array; var _local7:int; curvatura = 0; offsetArmonico = (100 * Math.random()); presion = 1; super(); this.xPincel = _arg1; this.yPincel = _arg2; if (_arg4){ this.angulo = _arg4; }; this.grosor = (pincelRamificacion.grosorBasico + (pincelRamificacion.grosorVariable * _arg5)); this.velocidad = ((this.grosor + pincelRamificacion.velocidadBasica) + (pincelRamificacion.velocidadVariable * _arg5)); this.frenazoVelocidad = (pincelRamificacion.frenazoVelocidadBasico + (pincelRamificacion.frenazoVelocidadVariable * Math.random())); this.frenazoPresion = (pincelRamificacion.frenazoPresionBasico + (pincelRamificacion.frenazoPresionVariable * Math.random())); this.pistasTrazo = new Array(); _local6 = siteLabuat.setup.sincronizacion.ramificaciones.toString().split(","); _local7 = 0; while (_local7 < _local6.length) { this.pistasTrazo.push(int(_local6[_local7])); _local7++; }; } public function get pincelActual():pincel{ var _local1:*; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; this.presion = (this.presion * this.frenazoPresion); this.velocidad = (this.velocidad * this.frenazoVelocidad); if (this.velocidad < 1){ return (null); }; _local1 = new pincel(); this.xPincel = (this.xPincel + ((this.velocidad * Math.cos(this.angulo)) - siteLabuat.camarax)); this.yPincel = (this.yPincel + ((this.velocidad * Math.sin(this.angulo)) - siteLabuat.camaray)); _local1.x = this.xPincel; _local1.y = this.yPincel; _local1.derrape = 0; _local1.presion = this.presion; _local2 = this.grosor; _local3 = _local2; _local4 = _local2; _local5 = siteLabuat.elInterprete.volumenPistas(this.pistasTrazo); _local6 = (pincelRamificacion.irregularidadBasica + (_local5 * pincelRamificacion.irregularidadVariable)); _local3 = (_local3 * ((1 - _local6) + (_local6 * Math.random()))); _local4 = (_local4 * ((1 - _local6) + (_local6 * Math.random()))); _local1.arriba = _local3; _local1.abajo = _local4; _local1.elasticidadTrazo = pincelRamificacion.elasticidadTrazo; return (_local1); } } }//package pinceles
Section 30
//pincelSecundario (pinceles.pincelSecundario) package pinceles { import flash.utils.*; import flash.events.*; import flash.display.*; public class pincelSecundario implements gestorPinceles { private var inicio:Number; private var pistasTrazo:Array; private var actual:pincel; private var ref:trazo; private var vbase:Number; private var x:Number;// = 0 private var y:Number;// = 0 private static const velocidadBasica:Number = 0.1; private static const velocidadVariable:Number = 0.05; private static const grosorArmonico:Number = 0.2; private static const grosorVariable:Number = 0; public static const elasticidadTrazoMinima:Number = 1.1; private static const grosorBasico:Number = 0; private static const radioVariable:Number = 3; private static const radioBasico:Number = 0.5; public static const elasticidadTrazoVariable:Number = 0.3; private static const irregularidadBasica:Number = 0.6; private static const presionBasica:Number = 0; private static const irregularidadVariable:Number = 0; private static const presionVariable:Number = 1; public function pincelSecundario(_arg1:trazo):void{ var _local2:Array; var _local3:int; x = 0; y = 0; super(); this.inicio = (getTimer() - (100000 * Math.random())); this.ref = _arg1; this.vbase = (40 + (20 * Math.random())); this.pistasTrazo = new Array(); _local2 = siteLabuat.setup.sincronizacion.secundario.toString().split(","); _local3 = 0; while (_local3 < _local2.length) { this.pistasTrazo.push(int(_local2[_local3])); _local3++; }; } public function get pincelActual():pincel{ var _local1:*; var _local2:Number; 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; _local1 = new pincel(); _local2 = siteLabuat.elInterprete.volumenPistas(this.pistasTrazo); _local3 = (this.ref.trayectoria + (Math.PI / 4)); _local4 = (pincelSecundario.velocidadBasica + (_local2 * pincelSecundario.velocidadVariable)); this.inicio = (this.inicio + _local4); _local5 = (((this.ref.grosor / 2) + pincelSecundario.radioBasico) + (_local2 * pincelSecundario.radioVariable)); _local6 = (this.ref.ultimoX + (_local5 * Math.cos(this.inicio))); _local7 = (this.ref.ultimoY + (_local5 * Math.sin(this.inicio))); this.x = (this.x + ((_local6 - this.x) / 1)); this.y = (this.y + ((_local7 - this.y) / 1)); _local1.x = this.x; _local1.y = this.y; _local8 = (pincelSecundario.grosorBasico + (_local2 * pincelSecundario.grosorVariable)); _local9 = siteLabuat.elInterprete.volumenPistas(this.pistasTrazo); _local1.presion = (pincelSecundario.presionBasica + (_local2 * pincelSecundario.presionVariable)); _local10 = (pincelSecundario.irregularidadBasica + (_local9 * pincelSecundario.irregularidadVariable)); _local8 = (_local8 + ((pincelSecundario.grosorArmonico * dibujante.aplicaArmonicos(2)) * _local10)); _local1.arriba = _local8; _local1.abajo = _local8; _local11 = siteLabuat.elInterprete.volumenPistas([0]); _local1.elasticidadTrazo = (pincelSecundario.elasticidadTrazoMinima + (_local11 * pincelSecundario.elasticidadTrazoVariable)); return (_local1); } } }//package pinceles
Section 31
//BTPlay (BTPlay) package { import animaciones.*; public dynamic class BTPlay extends simple { } }//package
Section 32
//Cabezal (Cabezal) package { import flash.display.*; public dynamic class Cabezal extends MovieClip { public var stage_cabeza:MovieClip; public function Cabezal(){ addFrameScript(0, frame1); } function frame1(){ this.stop(); } } }//package
Section 33
//cargando_eng (cargando_eng) package { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.text.*; import flash.ui.*; public class cargando_eng extends MovieClip { public var porcentaje:TextField; private var masks:int;// = 2 private var textoActual:int;// = -1 private var iniciado:Boolean;// = false private var descubriendo:Boolean;// = false private var pReal:Number;// = 0 private var entrandoTexto:Boolean;// = false private var timer:Timer; private var cnt:int;// = 0 private var antx:Number;// = 0 private var wait:int; private var mascaraActual:int;// = -1 private var anty:Number;// = 0 public var stage_fondo:MovieClip; private var pTotal:Number;// = 0 public var stage_puntero:MovieClip; private var pMinimo:Number;// = 0 private var textos:Array; private var dondeX:Number; private var dondeY:Number; public var entrando:MovieClip; public function cargando_eng():void{ pMinimo = 0; pReal = 0; pTotal = 0; textos = ["Loading eddies in the air", "Loading trickles of water", "Loading night flights", "Loading shifting memories", "Loading lines in the sand", "Loading hugs and kisses", "Loading floating laments", "Doubling fantasies", "Dreaming of shadows", "Readying sighs", "Drawing butterflies", "Going over your skin", "Opening wings", "Singing in your ear", "I am your air.", ""]; entrandoTexto = false; textoActual = -1; mascaraActual = -1; descubriendo = false; antx = 0; anty = 0; cnt = 0; masks = 2; iniciado = false; super(); addFrameScript(0, frame1, 16, frame17, 70, frame71, 71, frame72); this.mouseEnabled = (this.mouseChildren = false); Mouse.hide(); this.addEventListener(Event.ENTER_FRAME, this.irA); this.stage_puntero.x = this.mouseX; this.stage_puntero.y = this.mouseY; } function frame72(){ this.parent.removeChild(this); this.stop(); } public function empieza(){ this.timer = new Timer(200, 0); this.timer.addEventListener(TimerEvent.TIMER, this.tim); this.timer.start(); } public function init():void{ this.iniciado = true; this.play(); } function frame71(){ this.dispatchEvent(new Event(Event.COMPLETE)); } private function mueve(_arg1:Event=null):void{ this.stage_puntero.x = this.mouseX; this.stage_puntero.y = this.mouseY; } private function setP(_arg1:Number):void{ var t:int; var p = _arg1; this.pTotal = p; this.porcentaje.text = (Math.round(p) + "%"); if (!this.iniciado){ return; }; if (p == 100){ this.removeChild(this.stage_puntero); this.removeEventListener(Event.ENTER_FRAME, this.mueve); Mouse.show(); this.timer.removeEventListener(TimerEvent.TIMER, this.tim); this.timer.stop(); this.play(); } else { t = Math.round(((p / 100) * (this.textos.length - 2))); if (t > this.textoActual){ this.textoActual = t; try { this.stage_puntero.texto.text = this.textos[t]; } catch(e:Error) { }; try { this.stage_puntero.texto2.text = this.textos[t]; } catch(e:Error) { }; this.entrandoTexto = false; }; }; } private function irA(_arg1:Event):void{ var _local2:Number; var _local3:Number; if (this.stage_puntero.alpha <= 1){ this.stage_puntero.alpha = (this.stage_puntero.alpha + 0.05); }; trace(this.stage_puntero.alpha); _local2 = (this.mouseX - this.stage_puntero.x); _local3 = (this.mouseY - this.stage_puntero.y); this.stage_puntero.x = (this.stage_puntero.x + (_local2 / 3)); this.stage_puntero.y = (this.stage_puntero.y + (_local3 / 3)); if ((((Math.abs(_local2) < 1)) && ((Math.abs(_local2) < 2)))){ this.addEventListener(Event.ENTER_FRAME, this.mueve); this.removeEventListener(Event.ENTER_FRAME, this.irA); this.stage_puntero.gotoAndStop(this.stage_puntero.totalFrames); this.mueve(); }; } function frame1(){ this.stop(); } public function setPercent(_arg1:Number):void{ this.pReal = _arg1; this.setP(Math.min(this.pMinimo, this.pReal)); } private function tim(_arg1:Event):void{ if (this.pMinimo < 100){ this.pMinimo++; }; this.setP(Math.min(this.pMinimo, this.pReal)); } function frame17(){ this.empieza(); this.stop(); } } }//package
Section 34
//creditos (creditos) package { import flash.utils.*; import flash.events.*; import flash.display.*; public class creditos extends MovieClip { public var bCreditos:SimpleButton; public var bCerrar:MovieClip; public static var desdeClic:Boolean = false; public function creditos():void{ addFrameScript(0, frame1, 28, frame29); } function frame1(){ this.stop(); this.bCreditos.addEventListener(MouseEvent.CLICK, this.despliega); } function frame29(){ this.stop(); this.bCerrar.bCerrar.addEventListener(MouseEvent.CLICK, this.pliega); } public function despliega(_arg1:Event=null):void{ creditos.desdeClic = !((_arg1 == null)); if (this.currentFrame == 1){ this.removeEventListener(Event.ENTER_FRAME, this.patras); this.play(); }; } private function patras(_arg1:Event=null):void{ this.gotoAndStop((this.currentFrame - 1)); if (this.currentFrame == 1){ this.removeEventListener(Event.ENTER_FRAME, this.patras); }; } public function pliega(_arg1:Event=null):void{ if (this.currentFrame == this.totalFrames){ this.addEventListener(Event.ENTER_FRAME, this.patras); this.stop(); }; } } }//package
Section 35
//Cursor (Cursor) package { import flash.display.*; public dynamic class Cursor extends MovieClip { } }//package
Section 36
//curvaEvent (curvaEvent) package { import flash.events.*; public class curvaEvent extends Event { public var fuerza:Number; public var trayectoria:Number; public function curvaEvent(_arg1:String, _arg2:Number, _arg3:Number):void{ super(_arg1); this.trayectoria = _arg2; this.fuerza = _arg3; } } }//package
Section 37
//dibujante (dibujante) package { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.geom.*; import animaciones.*; import pinceles.*; import flash.filters.*; import flash.net.*; import flash.system.*; public class dibujante extends EventDispatcher { private var estadoMancha:int;// = 0 private var luz:Sprite; private var timerSalpicaduras; private var clipContainer:Sprite; private var clips:Array; private var bDataCanvas:BitmapData; private var ng:Number;// = 0 private var transformTinta:Matrix; private var pistasLuces:Array; private var bDataLuz:BitmapData; private var clipEntrando:MovieClip; private var viewPort:Rectangle; private var sheip:Shape; private var canvas:Sprite; private var trazos:Array; private var clipEntrandoAncho:Number; private var bitmapLuz:Bitmap; private var cabezal:MovieClip; private var contadorFotos:int; private var bitmapCanvas:Bitmap; private var fotos:Array; private var trazoPrincipal:trazo; private var puntero:Shape; private var pistasCabezal:Array; public static const tiempoSalpicaduras:Number = 0.3; public static var escala:Number = 1; public static var viewPort:Rectangle; public static var imagenTinta2:BitmapData; public static var imagenTinta:BitmapData; public static var presionReal:Number = 1; public static var presion:Number = 1; public static var punteroGrabacion:int; private static var inicio = getTimer(); public static var coordenadas:Array; public static var inicioGrabacion:Number; public static var escalaReal:Number = 1; public function dibujante(_arg1:Sprite):void{ var _local2:Loader; ng = 0; estadoMancha = 0; super(); this.canvas = _arg1; this.luz = new Gluz(); _local2 = new Loader(); _local2.load(new URLRequest(siteLabuat.setup.media.gfx.tinta.tinta1.toString())); _local2.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this.tinta1LoadProgress); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, this.tinta1LoadComplete); this.cabezal = new Cabezal(); } private function cargaUnaAnimacion():void{ var _local1:String; var _local2:Loader; _local1 = siteLabuat.setup.media.animaciones.swf[this.contadorFotos].toString(); _local2 = new Loader(); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, this.animacionLoadComplete); _local2.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this.animacionLoadProgress); _local2.load(new URLRequest(_local1), new LoaderContext(false, ApplicationDomain.currentDomain)); } public function mancha(_arg1:String, _arg2:Number):void{ var _local3:int; var _local4:BitmapData; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; var _local9:Matrix; var _local10:trazo; if (this.estadoMancha > 0){ return; }; _local3 = 10; _local4 = this.fotos[_arg1]; _local5 = (_arg2 / (_local4.width * 1.5)); _local6 = (_arg2 / (_local4.height * 1.5)); _local7 = Math.max(_local5, _local6); _local8 = 0; while (_local8 < _local3) { _local9 = new Matrix(); _local9.translate(Math.round((this.trazoPrincipal.ultimoX - (_local4.width / 2))), Math.round((this.trazoPrincipal.ultimoY - (_local4.height / 2)))); _local10 = new trazo(this.trazoPrincipal.ultimoX, this.trazoPrincipal.ultimoY, new pincelMancha(this.trazoPrincipal, (_arg2 / 8), (((_local8 * 2) * Math.PI) / (_local3 - 1))), _local4, _local4, _local9); _local10.addEventListener(Event.COMPLETE, this.finMancha); this.estadoMancha++; this.nuevoTrazo(_local10); _local8++; }; this.trazoPrincipal.tinta1 = _local4; this.trazoPrincipal.tinta2 = _local4; _local9 = new Matrix(); _local9.translate(Math.round((this.trazoPrincipal.ultimoX - ((_local4.width * _local7) / 2))), Math.round((this.trazoPrincipal.ultimoY - ((_local4.height * _local7) / 2)))); this.transformTinta = _local9; _local9 = new Matrix(); _local9.translate(Math.round((this.trazoPrincipal.ultimoX - ((_local4.width * _local7) / 2))), Math.round((this.trazoPrincipal.ultimoY - ((_local4.height * _local7) / 2)))); this.transformTinta = _local9; this.trazoPrincipal.transformTinta = _local9; } private function tinta2LoadComplete(_arg1:Event):void{ var _local2:Loader; _local2 = (_arg1.target as LoaderInfo).loader; dibujante.imagenTinta2 = (_local2.content as Bitmap).bitmapData.clone(); this.contadorFotos = 0; this.fotos = new Array(); this.cargaOtraFoto(); } private function tinta2LoadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); this.dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, ((1 + _local2) * 1000), (((siteLabuat.setup.media.gfx.fotos.foto.length() + 2) + siteLabuat.setup.media.animaciones.swf.length()) * 1000))); } private function animacionLoadComplete(_arg1:Event):void{ this.contadorFotos++; if (siteLabuat.setup.media.animaciones.swf.length() > this.contadorFotos){ this.cargaUnaAnimacion(); } else { this.dispatchEvent(new Event(Event.COMPLETE)); }; } private function animacionLoadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); this.dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, ((((this.contadorFotos + siteLabuat.setup.media.gfx.fotos.foto.length()) + 2) + _local2) * 1000), (((siteLabuat.setup.media.gfx.fotos.foto.length() + 2) + siteLabuat.setup.media.animaciones.swf.length()) * 1000))); } private function tinta1LoadComplete(_arg1:Event):void{ var _local2:Loader; _local2 = (_arg1.target as LoaderInfo).loader; dibujante.imagenTinta = (_local2.content as Bitmap).bitmapData.clone(); _local2 = new Loader(); _local2.load(new URLRequest(siteLabuat.setup.media.gfx.tinta.tinta2.toString())); _local2.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this.tinta2LoadProgress); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, this.tinta2LoadComplete); } public function empieza():void{ var _local1:int; var _local2:animacionLabuat; siteLabuat.elDisparadorXML.addEventListener("eventoXML", this.procesaEventos); if (siteLabuat.grabando){ dibujante.coordenadas = new Array(); }; dibujante.punteroGrabacion = 0; dibujante.inicioGrabacion = getTimer(); dibujante.presionReal = 0; this.timerSalpicaduras.start(); this.canvas.addChild(this.cabezal); _local1 = 0; while (_local1 < this.clips.length) { _local2 = (this.clips[_local1] as animacionLabuat); _local2.empieza(); _local1++; }; } public function alCentro():void{ var _local1:int; _local1 = 0; while (_local1 < this.trazos.length) { this.trazos[_local1].moveTo((siteLabuat.stage.stageWidth / 2), (siteLabuat.stage.stageHeight / 2)); _local1++; }; } private function nuevoTrazo(_arg1:trazo):void{ _arg1.addEventListener(Event.COMPLETE, this.trazoCompletado); this.trazos[this.trazos.length] = _arg1; } public function para():void{ var _local1:int; var _local2:animacionLabuat; this.timerSalpicaduras.stop(); this.canvas.removeChild(this.cabezal); _local1 = 0; while (_local1 < this.clips.length) { _local2 = (this.clips[_local1] as animacionLabuat); _local2.pausa(); _local1++; }; } public function nuevoClip(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false):MovieClip{ var _local6:Class; var _local7:MovieClip; var _local8:animacionLabuat; _local6 = (getDefinitionByName(_arg1) as Class); _local7 = (new (_local6) as MovieClip); this.clips[this.clips.length] = _local7; this.clipContainer.addChild(_local7); _local8 = (_local7 as animacionLabuat); _local8.initX(_arg2, _arg3); _local8.empieza(); if (_arg4){ siteLabuat.sigueMouse = false; this.clipEntrando = _local7; this.clipEntrandoAncho = _local7.width; if (!_arg5){ this.trazoPrincipal.enabled = false; }; }; return (_local7); } public function tick():void{ var _local1:int; dibujante.presionReal = (dibujante.presionReal + ((dibujante.presion - dibujante.presionReal) / 2)); if (dibujante.escalaReal < dibujante.escala){ dibujante.escalaReal = (dibujante.escalaReal + 0.1); }; if (dibujante.escalaReal > dibujante.escala){ dibujante.escalaReal = (dibujante.escalaReal - 0.1); }; this.transformTinta.translate(-(siteLabuat.camarax), -(siteLabuat.camaray)); this.bDataCanvas.scroll(-(siteLabuat.camarax), -(siteLabuat.camaray)); if (siteLabuat.camarax > 0){ this.bDataCanvas.fillRect(new Rectangle((this.bDataCanvas.width - siteLabuat.camarax), 0, siteLabuat.camarax, this.bDataCanvas.height), 0); } else { this.bDataCanvas.fillRect(new Rectangle(0, 0, -(siteLabuat.camarax), this.bDataCanvas.height), 0); }; if (siteLabuat.camaray < 0){ this.bDataCanvas.fillRect(new Rectangle(0, 0, this.bDataCanvas.width, -(siteLabuat.camaray)), 0); } else { this.bDataCanvas.fillRect(new Rectangle(0, (this.bDataCanvas.height - siteLabuat.camaray), this.bDataCanvas.width, siteLabuat.camaray), 0); }; _local1 = 0; while (_local1 < this.trazos.length) { this.trazos[_local1].tick(); _local1++; }; } private function cargaAnimaciones():void{ this.contadorFotos = 0; if (siteLabuat.setup.media.animaciones.swf.length() > 0){ this.cargaUnaAnimacion(); } else { this.dispatchEvent(new Event(Event.COMPLETE)); }; } public function ramificacion(_arg1:curvaEvent):void{ var _local2:Number; var _local3:Number; var _local4:int; var _local5:Number; var _local6:Number; _local2 = (Math.cos(_arg1.trayectoria) * (40 * _arg1.fuerza)); _local3 = (Math.sin(_arg1.trayectoria) * (40 * _arg1.fuerza)); _local4 = 0; while (_local4 < 1) { _local5 = (((_local2 + this.trazoPrincipal.ultimoX) - 5) + (10 * Math.random())); _local6 = (((_local3 + this.trazoPrincipal.ultimoY) - 5) + (10 * Math.random())); this.nuevoTrazo(new trazo(_local5, _local6, new pincelRamificacion(_local5, _local6, this.trazoPrincipal, _arg1.trayectoria, _arg1.fuerza))); _local4++; }; } public function borra():void{ var _local1:BitmapData; var _local2:int; var _local3:MovieClip; var _local4:animacionLabuat; _local1 = new BitmapData(this.bDataCanvas.width, this.bDataCanvas.height, true, 0); this.bitmapCanvas.bitmapData = _local1; this.bDataCanvas.dispose(); this.bDataCanvas = _local1; this.puntero.graphics.clear(); _local2 = 0; while (_local2 < this.clips.length) { _local3 = (this.clips[_local2] as MovieClip); _local4 = (this.clips[_local2] as animacionLabuat); _local4.destruye(); this.clips.splice(_local2, 1); this.clipContainer.removeChild(_local3); _local2--; _local2++; }; } private function trazoCompletado(_arg1:Event):void{ var _local2:trazo; var _local3:Number; _local2 = (_arg1.target as trazo); _local2.removeEventListener(Event.COMPLETE, this.trazoCompletado); _local3 = this.trazos.indexOf(_local2); if (_local3 >= 0){ this.trazos.splice(_local3, 1); }; } public function inicializa(_arg1:Number, _arg2:Number):void{ var _local3:Array; var _local4:int; this.bDataCanvas = new BitmapData(siteLabuat.stage.stageWidth, siteLabuat.stage.stageHeight, true, 0); this.bitmapCanvas = new Bitmap(this.bDataCanvas, "never", true); this.canvas.addChild(this.bitmapCanvas); this.puntero = new Shape(); this.canvas.addChild(this.puntero); this.transformTinta = new Matrix(); this.sheip = new Shape(); this.trazos = new Array(); this.trazoPrincipal = (this.trazos[0] = new trazo(_arg1, _arg2, new pincelPrincipal())); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.nuevoTrazo(new trazo(_arg1, _arg2, new pincelSecundario(this.trazoPrincipal))); this.clipContainer = new Sprite(); this.canvas.addChild(this.clipContainer); this.clips = new Array(); this.timerSalpicaduras = new Timer((dibujante.tiempoSalpicaduras * 1000), 0); this.timerSalpicaduras.addEventListener(TimerEvent.TIMER, this.unaSalpicadura); siteLabuat.elInterprete.addEventListener("subidon", this.gestionSubidon); this.pistasCabezal = new Array(); _local3 = siteLabuat.setup.sincronizacion.cabezal.toString().split(","); _local4 = 0; while (_local4 < _local3.length) { this.pistasCabezal.push(int(_local3[_local4])); _local4++; }; this.pistasLuces = new Array(); _local3 = siteLabuat.setup.sincronizacion.luces.toString().split(","); _local4 = 0; while (_local4 < _local3.length) { this.pistasLuces.push(int(_local3[_local4])); _local4++; }; } public function redimensiona(_arg1:Number, _arg2:Number):void{ var _local3:BitmapData; var _local4:Point; var _local5:Rectangle; _local3 = new BitmapData(_arg1, _arg2, true, 0); _local4 = new Point(((_local3.width - this.bDataCanvas.width) / 2), ((_local3.height - this.bDataCanvas.height) / 2)); _local5 = new Rectangle(0, 0, this.bDataCanvas.width, this.bDataCanvas.height); _local3.copyPixels(this.bDataCanvas, _local5, _local4, null, null, true); this.bitmapCanvas.bitmapData = _local3; this.bDataCanvas.dispose(); this.bDataCanvas = _local3; dibujante.viewPort = new Rectangle(0, 0, _arg1, _arg2); } private function esperaOnda(_arg1:Event):void{ var _local2:MovieClip; _local2 = (_arg1.target as MovieClip); if (_local2.currentFrame == _local2.totalFrames){ _local2.removeEventListener(Event.ENTER_FRAME, this.esperaOnda); _local2.parent.removeChild(_local2); }; } public function actualizaClips():void{ var _local1:int; var _local2:MovieClip; var _local3:animacionLabuat; var _local4:Rectangle; _local1 = 0; while (_local1 < this.clips.length) { _local2 = (this.clips[_local1] as MovieClip); _local3 = (this.clips[_local1] as animacionLabuat); _local4 = _local2.getBounds(this.canvas.stage); if (_local4.intersects(dibujante.viewPort)){ _local3.tick(siteLabuat.camarax, siteLabuat.camaray); } else { _local3.destruye(); this.clips.splice(_local1, 1); this.clipContainer.removeChild(_local2); _local1--; }; _local1++; }; if (this.clipEntrando){ if (this.clipEntrando.currentFrame == this.clipEntrando.totalFrames){ siteLabuat.sigueMouse = true; _local1 = 0; while (_local1 < trazos.length) { this.trazos[_local1].enabled = true; this.trazos[_local1].offset((this.clipEntrandoAncho * Math.cos(((this.clipEntrando.rotation * Math.PI) / 180))), (this.clipEntrandoAncho * Math.sin(((this.clipEntrando.rotation * Math.PI) / 180)))); _local1++; }; this.clipEntrando = null; }; }; } public function tinta(_arg1:String):void{ var _local2:BitmapData; var _local3:Matrix; var _local4:Number; _local2 = this.fotos[_arg1]; this.trazos[1].tinta1 = (this.trazoPrincipal.tinta1 = ((_local2) || (dibujante.imagenTinta))); this.trazos[1].tinta2 = (this.trazoPrincipal.tinta2 = ((_local2) || (dibujante.imagenTinta2))); _local3 = new Matrix(); _local4 = this.trazoPrincipal.trayectoria; if (_local2){ _local3.rotate(_local4); _local3.translate(Math.round(this.trazoPrincipal.ultimoX), Math.round((this.trazoPrincipal.ultimoY - (_local2.height / 2)))); }; this.transformTinta = _local3; _local3 = new Matrix(); if (_local2){ _local3.rotate(_local4); _local3.translate(Math.round(this.trazoPrincipal.ultimoX), Math.round((this.trazoPrincipal.ultimoY - (_local2.height / 2)))); }; this.trazoPrincipal.transformTinta = _local3; _local3 = new Matrix(); if (_local2){ _local3.rotate(_local4); _local3.translate(Math.round(this.trazoPrincipal.ultimoX), Math.round((this.trazoPrincipal.ultimoY - (_local2.height / 2)))); }; this.trazos[1].transformTinta = _local3; } private function procesaEventos(_arg1:xmlEvent):void{ var _local2:XML; var _local3:int; var _local4:XML; var _local5:gestorPinceles; _local2 = _arg1.xml; _local3 = 0; while (_local3 < _local2.movieclip.length()) { _local4 = _local2.movieclip[_local3]; this.nuevoClip(_local4.@clase.toString(), this.trazoPrincipal.ultimoX, this.trazoPrincipal.ultimoY, (_local4.@enlinea.toString() == "true"), (_local4.@conTrazo.toString() == "true")); _local3++; }; _local3 = 0; while (_local3 < _local2.foto.length()) { _local4 = _local2.foto[_local3]; this.mancha(_local4.@id.toString(), int(_local4.@radio.toString())); _local3++; }; _local3 = 0; while (_local3 < _local2.tinta.length()) { _local4 = _local2.tinta[_local3]; this.tinta(_local4.@id.toString()); _local3++; }; if (_local2.presion.length() > 0){ dibujante.presion = Number(_local2.presion); }; if (_local2.escala.length() > 0){ dibujante.escala = Number(_local2.escala); }; if (_local2.separacion.length() > 0){ this.trazoPrincipal.separacion = int(_local2.separacion); }; if (_local2.velocidad.length() > 0){ siteLabuat.acelera = parseFloat(_local2.velocidad); }; _local3 = 0; while (_local3 < _local2.pincelClimax.length()) { _local4 = _local2.pincelClimax[_local3]; _local5 = new pincelClimax(this.trazoPrincipal, int(_local4.toString())); this.nuevoTrazo(new trazo(this.trazoPrincipal.ultimoX, this.trazoPrincipal.ultimoY, _local5)); _local3++; }; } private function fotoLoadComplete(_arg1:Event):void{ var _local2:Loader; _local2 = (_arg1.target as LoaderInfo).loader; this.fotos[siteLabuat.setup.media.gfx.fotos.foto[this.contadorFotos].@id.toString()] = (_local2.content as Bitmap).bitmapData.clone(); this.contadorFotos++; if (this.contadorFotos >= siteLabuat.setup.media.gfx.fotos.foto.length()){ this.cargaAnimaciones(); } else { this.cargaOtraFoto(); }; } private function cargaOtraFoto():void{ var _local1:Loader; _local1 = new Loader(); _local1.load(new URLRequest(siteLabuat.setup.media.gfx.fotos.foto[this.contadorFotos].toString())); _local1.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this.fotoLoadProgress); _local1.contentLoaderInfo.addEventListener(Event.COMPLETE, this.fotoLoadComplete); } private function gestionSubidon(_arg1:subidonEvent):void{ var _local2:int; var _local3:MovieClip; _local2 = _arg1.pista; if (((!(this.clipEntrando)) && ((this.pistasCabezal.indexOf(_local2) >= 0)))){ _local3 = new Onda(); this.cabezal.addChild(_local3); _local3.addEventListener(Event.ENTER_FRAME, this.esperaOnda); }; if (this.pistasLuces.indexOf(_local2) >= 0){ siteLabuat.fondoClip.gotoAndPlay(2); }; } private function finMancha(_arg1:Event):void{ this.estadoMancha--; if (this.estadoMancha == 0){ this.trazoPrincipal.tinta1 = dibujante.imagenTinta; this.trazoPrincipal.tinta2 = dibujante.imagenTinta2; this.transformTinta = new Matrix(); this.trazoPrincipal.transformTinta = new Matrix(); }; } private function fotoLoadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); this.dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, (((this.contadorFotos + 2) + _local2) * 1000), (((siteLabuat.setup.media.gfx.fotos.foto.length() + 2) + siteLabuat.setup.media.animaciones.swf.length()) * 1000))); } private function unaSalpicadura(_arg1:Event):void{ var _local2:MovieClip; if (Math.random() < 0.7){ if (Math.random() < 0.3){ _local2 = this.nuevoClip("splatter9", this.trazoPrincipal.ultimoX, this.trazoPrincipal.ultimoY); } else { _local2 = this.nuevoClip("splatter4", this.trazoPrincipal.ultimoX, this.trazoPrincipal.ultimoY); }; _local2.width = (_local2.height = (8 + (this.trazoPrincipal.grosor * 2))); _local2.rotation = (360 * Math.random()); _local2.cacheAsBitmap = true; }; } public function actualizaTrazos():void{ var i:int; var bounds:Rectangle; var grosTrazo:Number; var grosTotal:Number; this.sheip.graphics.clear(); i = 0; while (i < this.trazos.length) { if (this.trazos[i].enabled){ this.trazos[i].dibujaEn(this.sheip); }; i = (i + 1); }; bounds = this.sheip.getBounds(this.sheip); bounds = bounds.intersection(dibujante.viewPort); try { this.bDataCanvas.draw(this.sheip, null, null, null, null, true); } catch(e:Error) { }; grosTrazo = (this.trazoPrincipal.grosor / 1.8); grosTotal = grosTrazo; this.ng = (this.ng + ((grosTotal - this.ng) / 1)); this.puntero.graphics.clear(); this.transformTinta = this.trazoPrincipal.transformTinta.clone(); this.puntero.graphics.beginBitmapFill(dibujante.imagenTinta2, this.transformTinta, true, false); this.puntero.graphics.drawCircle(this.trazoPrincipal.ultimoX, this.trazoPrincipal.ultimoY, grosTrazo); this.puntero.graphics.endFill(); this.cabezal.stage_cabeza.scaleX = (this.cabezal.stage_cabeza.scaleY = (grosTrazo / 20)); this.cabezal.x = this.trazoPrincipal.ultimoX; this.cabezal.y = this.trazoPrincipal.ultimoY; } private function tinta1LoadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); this.dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, (_local2 * 1000), (((siteLabuat.setup.media.gfx.fotos.foto.length() + 2) + siteLabuat.setup.media.animaciones.swf.length()) * 1000))); } public static function aplicaArmonicos(_arg1:int, _arg2:Number=0, _arg3:int=0):Number{ var _local4:*; var _local5:Number; var _local6:Number; var _local7:int; _local4 = [0.8, 1.5, 3, 4.5, 7, 9, 11, 3]; _local5 = 1; _local6 = (((getTimer() - dibujante.inicio) / 100) + _arg2); _local7 = 0; while (_local7 < _arg1) { _local5 = (_local5 + (Math.sin((_local6 * _local4[(_local7 + _arg3)])) / (1 + _local7))); _local7++; }; return (_local5); } } }//package
Section 38
//ecualizador (ecualizador) package { import com.everydayflash.equalizer.*; import flash.events.*; import flash.display.*; import com.everydayflash.equalizer.color.*; public class ecualizador extends Sprite { public function ecualizador(){ var _local1:EqualizerSettings; var _local2:Equalizer; super(); _local1 = new EqualizerSettings(); _local1.numOfBars = 6; _local1.height = 15; _local1.barSize = 3; _local1.vgrid = true; _local1.hgrid = 0; _local1.colorManager = new SolidBarColor(4278190080); _local2 = new Equalizer(); _local2.update(_local1); _local2.x = 9; _local2.y = 10; this.addChild(_local2); this.addEventListener(Event.ENTER_FRAME, _local2.render); } } }//package
Section 39
//formulario (formulario) package { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; public class formulario extends MovieClip { public var mascara:MovieClip; private var susmails:Array; public var tapa:MovieClip; public var mensajeInput:TextField; public var t2:MovieClip; public var t3:MovieClip; public var t1:MovieClip; public var t4:MovieClip; public var errorMsg:TextField; public var bAceptar:SimpleButton; private var tunombre:String; public var solido4:MovieClip; public var solido2:MovieClip; public var nombreInput:TextField; private var contador:int; public var emailInput:TextField; public var solido1:MovieClip; public var tt1:MovieClip; public var tt3:MovieClip; private var secuencia:String; public var tt4:MovieClip; public var tt2:MovieClip; public var amigosInput:TextField; private var tumail:String; public var solido3:MovieClip; private var mensaje:String; public function formulario():void{ addFrameScript(0, frame1, 24, frame25); this.tapa.visible = false; this.emailInput.addEventListener(Event.CHANGE, this.cambio); this.nombreInput.addEventListener(Event.CHANGE, this.cambio); this.amigosInput.addEventListener(Event.CHANGE, this.cambio); this.mensajeInput.addEventListener(Event.CHANGE, this.cambio); this.bAceptar.addEventListener(MouseEvent.CLICK, this.aceptar); this.solido1.visible = (this.solido2.visible = (this.solido3.visible = (this.solido4.visible = false))); this.emailInput.addEventListener(FocusEvent.FOCUS_IN, this.focusInHandler1); this.emailInput.addEventListener(FocusEvent.FOCUS_OUT, this.focusOutHandler1); this.nombreInput.addEventListener(FocusEvent.FOCUS_IN, this.focusInHandler2); this.nombreInput.addEventListener(FocusEvent.FOCUS_OUT, this.focusOutHandler2); this.amigosInput.addEventListener(FocusEvent.FOCUS_IN, this.focusInHandler3); this.amigosInput.addEventListener(FocusEvent.FOCUS_OUT, this.focusOutHandler3); this.mensajeInput.addEventListener(FocusEvent.FOCUS_IN, this.focusInHandler4); this.mensajeInput.addEventListener(FocusEvent.FOCUS_OUT, this.focusOutHandler4); this.mensajeInput.addEventListener(Event.CHANGE, this.cambio); } function frame25(){ this.stop(); } private function aceptar(_arg1:Event):void{ var _local2:int; if (nombreInput.text == ""){ this.errorMsg.text = "NECESITAS PONER UN NOMBRE"; return; }; if (emailInput.text == ""){ this.errorMsg.text = "NECESITAS PONER TU EMAIL"; return; }; if (!_slot1.isValidEmail(emailInput.text)){ this.errorMsg.text = "TU EMAIL NO PARECE VÁLIDO"; return; }; if (amigosInput.text == ""){ this.errorMsg.text = "NECESITAS PONER ALMENOS UNA DIRECCIÓN DE UN AMIGO"; return; }; this.tumail = emailInput.text; this.tunombre = nombreInput.text; this.susmails = amigosInput.text.toString().split(","); _local2 = 0; while (_local2 < this.susmails.length) { if (!_slot1.isValidEmail(this.susmails[_local2])){ if (this.susmails.length == 1){ this.errorMsg.text = "EL EMAIL DE TU AMIGO NO PARECE VÁLIDO"; } else { this.errorMsg.text = (("EL EMAIL " + (_local2 + 1)) + " DE LA LISTA NO PARECE VÁLIDO"); }; return; }; _local2++; }; if ((((mensajeInput.text == "")) || ((mensajeInput.text.length < 3)))){ this.errorMsg.text = "DEBES ESCRIBIR ALGO EN EL MENSAJE"; return; }; this.mensaje = mensajeInput.text; this.secuencia = ""; this.contador = 0; _local2 = 0; while (_local2 < dibujante.coordenadas.length) { this.secuencia = (this.secuencia + (((((int((dibujante.coordenadas[_local2].x * 2000)) + ",") + int((dibujante.coordenadas[_local2].y * 1000))) + ",") + Math.round((dibujante.coordenadas[_local2].tiempo / 10))) + "|")); _local2++; }; this.mouseEnabled = false; this.tapa.visible = true; this.enviaUnMensaje(); } private function focusInHandler3(_arg1:Event):void{ this.solido3.visible = true; } private function focusInHandler1(_arg1:Event):void{ this.solido1.visible = true; } private function focusOutHandler3(_arg1:Event):void{ this.solido3.visible = (this.amigosInput.text.length > 1); } private function contactoLoadListener(_arg1:Event):void{ var _local2:*; var _local3:Number; _local2 = new XML(_arg1.target.data); _local3 = parseInt(_local2.resultado); if (_local3 == 0){ if (this.contador < (this.susmails.length - 1)){ this.contador++; this.enviaUnMensaje(); } else { this.addEventListener(Event.ENTER_FRAME, this.funde); this.play(); }; } else { this.errorMsg.text = ("ERROR ENVIANDO MENSAJE: " + _local3); }; this.mouseEnabled = true; this.tapa.visible = false; } private function focusOutHandler1(_arg1:Event):void{ this.solido1.visible = (this.emailInput.text.length > 1); } private function focusOutHandler2(_arg1:Event):void{ this.solido2.visible = (this.nombreInput.text.length > 1); } private function focusOutHandler4(_arg1:Event):void{ this.solido4.visible = (this.mensajeInput.text.length > 1); } private function focusInHandler4(_arg1:Event):void{ this.solido4.visible = true; this.cambio(_arg1); } private function cerrar(_arg1:Event):void{ var _local2:MovieClip; _local2 = (this.parent.parent as MovieClip); _local2.play(); } function frame1(){ this.stop(); } private function cambio(_arg1:Event):void{ var _local2:Array; this.errorMsg.text = ""; _local2 = this.mensajeInput.text.split("\r"); if (_local2[0].length == 0){ _local2.splice(0, 1); }; this.mensajeInput.text = _local2.join("\r"); } private function focusInHandler2(_arg1:Event):void{ this.solido2.visible = true; } private function enviaUnMensaje():void{ var _local1:URLVariables; var _local2:URLRequest; var _local3:URLLoader; _local1 = new URLVariables(); _local1.tumail = this.tumail; _local1.tunombre = this.tunombre; _local1.sunombre = this.susmails[this.contador].split("@")[0]; _local1.sumail = this.susmails[this.contador]; _local1.mensaje = this.mensaje; _local1.secuencia = this.secuencia; _local2 = new URLRequest("enviar.php"); _local2.data = _local1; _local2.method = URLRequestMethod.POST; _local3 = new URLLoader(); _local3.dataFormat = URLLoaderDataFormat.TEXT; _local3.addEventListener(Event.COMPLETE, this.contactoLoadListener); _local3.load(_local2); } private function funde(_arg1:Event):void{ var e = _arg1; try { t1.alpha = (t1.alpha - 0.1); tt1.alpha = (tt1.alpha - 0.1); solido1.alpha = (solido1.alpha - 0.1); t2.alpha = (t2.alpha - 0.1); tt2.alpha = (tt2.alpha - 0.1); solido2.alpha = (solido2.alpha - 0.1); t3.alpha = (t3.alpha - 0.1); tt3.alpha = (tt3.alpha - 0.1); solido3.alpha = (solido3.alpha - 0.1); t4.alpha = (t4.alpha - 0.1); tt4.alpha = (tt4.alpha - 0.1); solido4.alpha = (solido4.alpha - 0.1); mascara.alpha = (mascara.alpha - 0.1); bAceptar.alpha = (bAceptar.alpha - 0.1); } catch(e:Error) { this.removeEventListener(Event.ENTER_FRAME, this.funde); }; } public static function isValidEmail(_arg1:String):Boolean{ var _local2:RegExp; _local2 = /^[a-z][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i; return (_local2.test(_arg1)); } } }//package
Section 40
//gestorPinceles (gestorPinceles) package { public interface gestorPinceles { function get pincelActual():pincel; } }//package
Section 41
//Gluz (Gluz) package { import flash.display.*; public dynamic class Gluz extends MovieClip { } }//package
Section 42
//interpreteAudio (interpreteAudio) package { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.net.*; public class interpreteAudio extends EventDispatcher { private var volumenes:Array; private var sounds:Array; private var pistas:Array; private var mainSoundChannel:SoundChannel; private var mainSound:Sound; private var pistasCargadas:int; private var cancion:String; private var timerCambios:Timer; private var soundChannels:Array; public static const umbralSubidon:Number = 0.2; public static const umbralBajon:Number = 0.05; public function interpreteAudio(_arg1, _arg2:Array):void{ this.cancion = _arg1; this.pistas = _arg2; this.sounds = new Array(); this.soundChannels = new Array(); this.volumenes = new Array(); this.timerCambios = new Timer(10, 0); this.timerCambios.addEventListener(TimerEvent.TIMER, this.detectaCambios); } private function soundCompleteHandler(_arg1:Event):void{ this.dispatchEvent(_arg1); } public function volumenGlobal():Number{ var _local1:Number; var _local2:int; var _local3:Number; _local1 = 0; _local2 = 0; while (_local2 < this.pistas.length) { _local3 = (((this.soundChannels[_local2].leftPeak + this.soundChannels[_local2].rightPeak) / 2) * 100); if (_local3 > _local1){ _local1 = _local3; }; _local2++; }; return (_local1); } public function get tiempoReproduccion():Number{ return ((this.mainSoundChannel.position / this.mainSound.length)); } private function cancionCargada(_arg1:Event):void{ if (this.pistasCargadas == this.pistas.length){ this.dispatchEvent(new Event(Event.COMPLETE)); } else { this.cargaSiguiente(); this.pistasCargadas++; }; } public function para():void{ var _local1:int; this.mainSoundChannel.stop(); _local1 = 0; while (_local1 < this.pistas.length) { this.soundChannels[_local1].stop(); _local1++; }; this.timerCambios.stop(); } private function cancionCargando(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); this.dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, ((this.pistasCargadas + _local2) * 1000), ((this.pistas.length + 1) * 1000))); } public function volumenPistas(_arg1:Array):Number{ var _local2:Number; var _local3:int; var _local4:Number; _local2 = 0; _local3 = 0; while (_local3 < _arg1.length) { _local4 = (((this.soundChannels[_arg1[_local3]].leftPeak + this.soundChannels[_arg1[_local3]].rightPeak) / 2) * 100); if (_local4 > _local2){ _local2 = _local4; }; _local3++; }; return (_local2); } public function carga():void{ this.pistasCargadas = 0; this.mainSound = new Sound(); this.mainSound.load(new URLRequest(this.cancion)); this.mainSound.addEventListener(ProgressEvent.PROGRESS, this.cancionCargando); this.mainSound.addEventListener(Event.COMPLETE, this.cancionCargada); } public function reproduce(_arg1:Number=0):void{ var _local2:int; this.mainSoundChannel = this.mainSound.play((_arg1 * 1000)); this.mainSoundChannel.addEventListener(Event.SOUND_COMPLETE, this.soundCompleteHandler); _local2 = 0; while (_local2 < this.pistas.length) { this.soundChannels[_local2] = this.sounds[_local2].play((_arg1 * 1000), 0, new SoundTransform(0.01)); _local2++; }; this.timerCambios.start(); } private function cargaSiguiente():void{ var _local1:int; _local1 = this.pistasCargadas; this.sounds[_local1] = new Sound(); this.volumenes[_local1] = false; this.sounds[_local1].load(new URLRequest(this.pistas[_local1])); this.sounds[_local1].addEventListener(ProgressEvent.PROGRESS, this.cancionCargando); this.sounds[_local1].addEventListener(Event.COMPLETE, this.cancionCargada); } private function detectaCambios(_arg1:Event):void{ var _local2:int; var _local3:Number; _local2 = 0; while (_local2 < this.pistas.length) { _local3 = (((this.soundChannels[_local2].leftPeak + this.soundChannels[_local2].rightPeak) / 2) * 100); if (((this.volumenes[_local2]) && ((_local3 < interpreteAudio.umbralBajon)))){ this.volumenes[_local2] = false; }; if (((!(this.volumenes[_local2])) && ((_local3 > interpreteAudio.umbralSubidon)))){ this.dispatchEvent(new subidonEvent("subidon", _local2, _local3)); this.volumenes[_local2] = true; }; _local2++; }; } } }//package
Section 43
//interpreteXML (interpreteXML) package { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.media.*; import flash.net.*; public class interpreteXML extends EventDispatcher { private var timer:Timer; private var eventosPendientes:Array; private var ultimoEvento:int; public var inicio:Number; private var eventos:Array; public static const sincronizacionEventos:Number = 0.05; public function interpreteXML(_arg1:XMLList):void{ var _local2:int; var _local3:XML; var _local4:Array; var _local5:Number; super(); this.eventos = new Array(); _local2 = 0; while (_local2 < _arg1.length()) { _local3 = _arg1[_local2]; _local4 = _local3.@tiempo.toString().split(":"); _local5 = ((((int(_local4[0]) * 60) + int(_local4[1])) * 1000) + (int(_local4[2]) * 10)); this.eventos[this.eventos.length] = new xmlEvent("eventoXML", _local5, _local3); _local2++; }; this.timer = new Timer((interpreteXML.sincronizacionEventos * 1000), 0); this.timer.addEventListener(TimerEvent.TIMER, this.sync); } public function empieza(_arg1:Number=0):void{ this.inicio = (getTimer() - (_arg1 * 1000)); this.ultimoEvento = 0; while (((this.eventos[this.ultimoEvento]) && ((this.eventos[this.ultimoEvento].tiempo < (_arg1 * 1000))))) { this.ultimoEvento++; }; this.timer.start(); } private function sync(_arg1:Event):void{ var _local2:Number; _local2 = (getTimer() - this.inicio); while (((this.eventos[this.ultimoEvento]) && ((this.eventos[this.ultimoEvento].tiempo < _local2)))) { this.dispatchEvent(this.eventos[this.ultimoEvento]); this.ultimoEvento++; }; } public function para():void{ this.timer.stop(); } } }//package
Section 44
//Manchacargando (Manchacargando) package { import flash.display.*; public dynamic class Manchacargando extends MovieClip { public function Manchacargando(){ addFrameScript(0, frame1, 17, frame18); } function frame18(){ this.stop(); } function frame1(){ this.stop(); } } }//package
Section 45
//Manchacargando2 (Manchacargando2) package { import flash.display.*; public dynamic class Manchacargando2 extends MovieClip { public function Manchacargando2(){ addFrameScript(0, frame1, 15, frame16); } function frame16(){ this.parent.removeChild(this); this.stop(); } function frame1(){ this.stop(); } } }//package
Section 46
//Onda (Onda) package { import flash.display.*; public dynamic class Onda extends MovieClip { public function Onda(){ addFrameScript(25, frame26); } function frame26(){ this.stop(); } } }//package
Section 47
//opcionesFinales (opcionesFinales) package { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.geom.*; import fl.transitions.easing.*; import fl.transitions.*; import flash.text.*; import flash.net.*; public class opcionesFinales extends MovieClip { public var b2:SimpleButton; public var b1:SimpleButton; public var b3:SimpleButton; public var stage_form:MovieClip; public function opcionesFinales():void{ addFrameScript(28, frame29, 41, frame42, 55, frame56); } private function reproducir(_arg1:Event):void{ var _local2:siteLabuat; siteLabuat.grabando = false; _local2 = (this.parent as siteLabuat); _local2.gotoAndPlay("Volver"); this.pliega(); } private function atras2(_arg1:Event):void{ var _local2:Tween; this.gotoAndStop((this.currentFrame - 1)); if (this.stage_form.currentFrame > 1){ this.stage_form.gotoAndStop((this.stage_form.currentFrame - 1)); }; if (this.currentFrame == 40){ _local2 = new Tween(this.b3, "y", Regular.easeInOut, this.b3.y, 82, 10, false); _local2.start(); }; if (this.currentFrame == 29){ this.removeEventListener(Event.ENTER_FRAME, this.atras2); }; } private function atras1(_arg1:Event):void{ this.gotoAndStop((this.currentFrame - 1)); if (this.currentFrame == 1){ this.removeEventListener(Event.ENTER_FRAME, this.atras1); }; } function frame29(){ this.iniBotones(); this.stop(); } public function iniBotones():void{ b1.mouseEnabled = true; b2.mouseEnabled = true; b3.mouseEnabled = true; b1.alpha = 1; b2.alpha = 1; b1.addEventListener(MouseEvent.CLICK, this.otro); b2.addEventListener(MouseEvent.CLICK, this.reproducir); b3.addEventListener(MouseEvent.CLICK, this.enviar); } private function enviar(_arg1:Event):void{ var _local2:Tween; _local2 = new Tween(this.b3, "y", Regular.easeInOut, this.b3.y, Math.round(((this.stage.stageHeight - 390) / 2)), 10, false); _local2.start(); this.play(); b1.alpha = 0.5; b2.alpha = 0.5; b1.mouseEnabled = false; b2.mouseEnabled = false; b3.mouseEnabled = false; } function frame42(){ this.stage_form.y = this.b3.y; } function frame56(){ this.iniForm(); this.stop(); } public function iniForm():void{ b1.mouseEnabled = false; b2.mouseEnabled = false; b3.mouseEnabled = false; this.stage_form.bCerrar.addEventListener(MouseEvent.CLICK, this.cierraForm); } private function cierraForm(_arg1:Event):void{ this.addEventListener(Event.ENTER_FRAME, this.atras2); } private function otro(_arg1:Event):void{ var _local2:siteLabuat; siteLabuat.grabando = true; _local2 = (this.parent as siteLabuat); _local2.gotoAndPlay("Volver"); this.pliega(); } private function pliega():void{ this.addEventListener(Event.ENTER_FRAME, this.atras1); } } }//package
Section 48
//pincel (pincel) package { public class pincel { public var abajo:Number;// = 0 public var elasticidadTrazo:Number;// = 1 public var derrape:Number; public var arriba:Number;// = 0 public var x:Number;// = 0 public var y:Number;// = 0 public var presion:Number;// = 1 public function pincel(){ x = 0; y = 0; presion = 1; arriba = 0; abajo = 0; elasticidadTrazo = 1; derrape = trazo.derrapaje; super(); } } }//package
Section 49
//Reproductor (Reproductor) package { import flash.utils.*; import flash.events.*; import flash.display.*; public class Reproductor extends MovieClip { private var timer:Timer; public var btFin:SimpleButton; public var stage_posicion:MovieClip; public var btPlay:SimpleButton; public var btPausa:SimpleButton; public function Reproductor():void{ addFrameScript(0, frame1, 1, frame2); this.timer = new Timer(1000, 0); this.timer.addEventListener(TimerEvent.TIMER, this.sincroniza); } public function empieza():void{ this.timer.start(); this.sincroniza(); } public function clicPlay(_arg1:Event):void{ var _local2:siteLabuat; _local2 = (this.parent as siteLabuat); _local2.reanuda(); this.gotoAndStop(1); } private function sincroniza(_arg1:Event=null):void{ this.stage_posicion.x = Math.round((9 + (132 * siteLabuat.elInterprete.tiempoReproduccion))); } function frame1(){ this.btPausa.addEventListener(MouseEvent.CLICK, this.clicPausa); this.btFin.addEventListener(MouseEvent.CLICK, this.clicFin); } public function clicPausa(_arg1:Event):void{ var _local2:siteLabuat; _local2 = (this.parent as siteLabuat); _local2.pausa(); this.gotoAndStop(2); } public function clicFin(_arg1:Event):void{ this.dispatchEvent(new Event(Event.COMPLETE)); } public function para():void{ this.timer.stop(); } function frame2(){ this.btPlay.addEventListener(MouseEvent.CLICK, this.clicPlay); this.btFin.addEventListener(MouseEvent.CLICK, this.clicFin); } } }//package
Section 50
//siteLabuat (siteLabuat) package { import flash.utils.*; import flash.events.*; import flash.display.*; import flash.geom.*; import flash.text.*; import flash.filters.*; import flash.net.*; import flash.ui.*; public class siteLabuat extends MovieClip { private var fondo:Shape; private var bitmapDataFondo:BitmapData; private var transFondo:Matrix; public var stage_logo:MovieClip; private var pistasLateral:Array; public var stage_credits:creditos; private var yAnterior:Number;// = 0 public var stage_reproductor:Reproductor; private var realCamarax:Number;// = 0 private var realCamaray:Number;// = 0 public var stage_pastilla:MovieClip; private var pistasCamara:Array; private var pistasBrillo:Array; public var stage_cargando:cargando_eng; private var elReproductor:Reproductor; private var dondeEstaba:int;// = 0 private var elDibujante:dibujante; private var xAnterior:Number;// = 0 private var cursor:Sprite; private var velocidadFijaCamara:Number;// = 0 public var stage_fondo:MovieClip; public var stage_canvas:MovieClip; public var stage_marco:MovieClip; private var anguloActual:Number;// = 0 private var timerCamara:Timer; public static const velocidadVariableCamara:Number = 0; public static const brilloMinimo:Number = 0.11; public static const lateralMinimo:Number = 0.5; public static const lateralVariable:Number = 0.5; public static const elasticidadCamara:Number = 8; public static const brilloVariable:Number = 0.4; public static const velocidadMaximaCamara:Number = 46; public static const sincronizacionCamara:Number = 0.1; public static const velocidadMinimaCamara:Number = 8; public static var fondoClip:MovieClip; public static var sigueMouse:Boolean = true; public static var referenciaY:Number = 0; public static var grabando:Boolean = true; public static var elDisparadorXML:interpreteXML; public static var acelera:Number = 1; public static var referenciaX:Number = 0; public static var camarax:Number = 0; public static var camaray:Number = 0; public static var setup:XML; public static var stage:Stage; public static var elInterprete:interpreteAudio; public function siteLabuat():void{ velocidadFijaCamara = 0; xAnterior = 0; yAnterior = 0; realCamarax = 0; realCamaray = 0; anguloActual = 0; dondeEstaba = 0; super(); addFrameScript(0, frame1, 3, frame4, 34, frame35, 36, frame37, 63, frame64, 79, frame80, 88, frame89, 120, frame121, 130, frame131); this.stage.align = "TL"; this.stage.scaleMode = "noScale"; siteLabuat.stage = this.stage; this.stage.quality = "low"; this.timerCamara = new Timer((siteLabuat.sincronizacionCamara * 1000)); this.timerCamara.addEventListener(TimerEvent.TIMER, this.sincronizaCamara); this.stage.addEventListener(Event.RESIZE, this.redimensiona); this.stage_logo.addEventListener(MouseEvent.CLICK, toggleFullScreen); this.stage_logo.buttonMode = true; this.redimensiona(); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, this.movieLoadProgress); this.loaderInfo.addEventListener(Event.COMPLETE, this.movieLoadComplete); this.cursor = new Cursor(); } public function empieza():void{ this.timerCamara.start(); dibujante.presion = 1; siteLabuat.acelera = 1; siteLabuat.sigueMouse = true; this.addEventListener(Event.ENTER_FRAME, this.tick); this.elDibujante.alCentro(); this.elDibujante.empieza(); this.elReproductor.empieza(); siteLabuat.elDisparadorXML.empieza(0); if (siteLabuat.grabando){ this.addChild(this.cursor); Mouse.hide(); }; } public function reanuda():void{ this.timerCamara.start(); this.addEventListener(Event.ENTER_FRAME, this.tick); this.elDibujante.empieza(); this.elReproductor.empieza(); siteLabuat.elInterprete.reproduce((this.dondeEstaba / 1000)); siteLabuat.elDisparadorXML.empieza((this.dondeEstaba / 1000)); dibujante.inicioGrabacion = (getTimer() - this.dondeEstaba); } private function redimensiona(_arg1:Event=null):void{ var e = _arg1; try { this.stage_fondo.stage_sombraderecha.x = this.stage.stageWidth; this.stage_fondo.stage_sombraizquierda.height = (this.stage_fondo.stage_sombraderecha.height = this.stage.stageHeight); } catch(e:Error) { }; try { this.stage_logo.x = (this.stage.stageWidth - 10); this.stage_logo.y = (this.stage.stageHeight - 10); this.stage_credits.y = this.stage.stageHeight; } catch(e:Error) { }; try { this.stage_cargando.x = Math.round((this.stage.stageWidth / 2)); this.stage_cargando.y = Math.round((this.stage.stageHeight / 2)); this.stage_cargando.porcentaje.y = ((this.stage.stageHeight - this.stage_cargando.y) - 30); } catch(e:Error) { }; try { this.stage_pastilla.stage_boton.x = Math.round((this.stage.stageWidth / 2)); this.stage_pastilla.stage_boton.y = Math.round((this.stage.stageHeight / 2)); } catch(e:Error) { }; try { this.dibujaFondo(); } catch(e:Error) { }; try { this.stage_fondo.stage_brillo.x = Math.round((this.stage.stageWidth / 2)); this.stage_fondo.stage_brillo.y = Math.round((this.stage.stageHeight / 2)); } catch(e:Error) { }; try { this.elDibujante.redimensiona(this.stage.stageWidth, this.stage.stageHeight); } catch(e:Error) { }; this.stage_marco.graphics.clear(); this.stage_marco.graphics.beginFill(0xFFFFFF, 1); this.stage_marco.graphics.drawRect(0, 0, this.stage.stageWidth, 10); this.stage_marco.graphics.drawRect(0, (this.stage.stageHeight - 10), this.stage.stageWidth, 10); this.stage_marco.graphics.drawRect(0, 10, 10, (this.stage.stageHeight - 20)); this.stage_marco.graphics.drawRect((this.stage.stageWidth - 10), 10, 10, (this.stage.stageHeight - 20)); } private function cancionCargada(_arg1:Event):void{ this.elDibujante = new dibujante(this.stage_canvas); this.elDibujante.addEventListener(ProgressEvent.PROGRESS, this.dibujanteCargando); this.elDibujante.addEventListener(Event.COMPLETE, this.dibujanteCargado); } public function toggleFullScreen(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.labuat.com"), "_blank"); } private function dibujanteCargado(_arg1:Event):void{ var _local2:Object; var _local3:Number; var _local4:URLRequest; var _local5:URLLoader; _local2 = LoaderInfo(this.root.loaderInfo).parameters; _local3 = Number(_local2["id"]); if (((_local3) && (!(isNaN(_local3))))){ _local4 = new URLRequest(("getinfo.php?id=" + _local3)); _local5 = new URLLoader(_local4); _local5.load(_local4); _local5.addEventListener(Event.COMPLETE, this.XMLPersoCargado, false, 0, true); } else { this.stage_cargando.addEventListener(Event.COMPLETE, this.cargandoCompletado); this.stage_cargando.setPercent(100); }; } function frame1(){ Mouse.hide(); this.stop(); } function frame4(){ this.redimensiona(); } private function movieLoadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); } function frame35(){ this.stage_cargando.init(); this.redimensiona(); } function frame37(){ this.iniciaCargaMedia(); this.stop(); } private function backgroundLoadComplete(_arg1:Event):void{ var _local2:Loader; _local2 = (_arg1.target as LoaderInfo).loader; this.bitmapDataFondo = (_local2.content as Bitmap).bitmapData.clone(); this.transFondo = new Matrix(); this.fondo = new Shape(); this.stage_fondo.addChildAt(this.fondo, 1); this.dibujaFondo(); this.play(); } public function playable():void{ var _local1:MovieClip; siteLabuat.elDisparadorXML = new interpreteXML(siteLabuat.setup.eventos.evento); this.elDibujante.borra(); _local1 = this.elDibujante.nuevoClip("BTPlay", (this.stage.stageWidth / 2), (this.stage.stageHeight / 2)); this.redimensiona(); _local1.buttonMode = true; _local1.addEventListener(MouseEvent.CLICK, this.go); this.stage_credits.pliega(); } private function dibujaFondo():void{ this.transFondo.translate(-(Math.round((siteLabuat.camarax / 2))), -(Math.round((siteLabuat.camaray / 2)))); this.transFondo.tx = (this.transFondo.tx % this.bitmapDataFondo.width); this.transFondo.ty = (this.transFondo.ty % this.bitmapDataFondo.height); this.fondo.graphics.clear(); this.fondo.graphics.beginBitmapFill(this.bitmapDataFondo, this.transFondo, true, false); this.fondo.graphics.drawRect(10, 10, (this.stage.stageWidth - 20), (this.stage.stageHeight - 20)); this.fondo.graphics.endFill(); } private function iniciaCargaMedia():void{ var _local1:String; var _local2:Array; var _local3:int; siteLabuat.fondoClip = this.stage_fondo; this.elReproductor = this.stage_reproductor; _local1 = siteLabuat.setup.media.audio.cancion; _local2 = []; _local3 = 0; while (_local3 < siteLabuat.setup.media.audio.pistas.pista.length()) { _local2[_local2.length] = siteLabuat.setup.media.audio.pistas.pista[_local3].toString(); _local3++; }; siteLabuat.elInterprete = new interpreteAudio(_local1, _local2); siteLabuat.elInterprete.addEventListener(ProgressEvent.PROGRESS, this.cancionCargando); siteLabuat.elInterprete.addEventListener(Event.COMPLETE, this.cancionCargada); siteLabuat.elInterprete.carga(); } private function XMLCargado(_arg1:Event):void{ var _local2:Array; var _local3:int; var _local4:Loader; siteLabuat.setup = new XML(_arg1.target.data); this.pistasCamara = new Array(); _local2 = siteLabuat.setup.sincronizacion.camara.toString().split(","); _local3 = 0; while (_local3 < _local2.length) { this.pistasCamara.push(int(_local2[_local3])); _local3++; }; this.pistasBrillo = new Array(); _local2 = siteLabuat.setup.sincronizacion.brillo.toString().split(","); _local3 = 0; while (_local3 < _local2.length) { this.pistasBrillo.push(int(_local2[_local3])); _local3++; }; this.pistasLateral = new Array(); _local2 = siteLabuat.setup.sincronizacion.lateral.toString().split(","); _local3 = 0; while (_local3 < _local2.length) { this.pistasLateral.push(int(_local2[_local3])); _local3++; }; _local4 = new Loader(); _local4.load(new URLRequest(siteLabuat.setup.media.gfx.fondo.toString())); _local4.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, this.backgroundLoadProgress); _local4.contentLoaderInfo.addEventListener(Event.COMPLETE, this.backgroundLoadComplete); } private function cancionCargando(_arg1:ProgressEvent):void{ var p:Number; var e = _arg1; p = (e.bytesLoaded / e.bytesTotal); try { this.stage_cargando.setPercent(Math.round((75 * p))); } catch(e:Error) { }; } private function soundCompleteHandler(_arg1:Event):void{ var e = _arg1; try { this.para(); } catch(e:Error) { }; this.gotoAndPlay("Termina"); this.stage_credits.despliega(); } private function go(_arg1:Event):void{ var _local2:MovieClip; var _local3:MovieClip; _local2 = (_arg1.target as MovieClip); _local2.buttonMode = false; _local2.removeEventListener(MouseEvent.CLICK, this.go); siteLabuat.elInterprete.reproduce(0); siteLabuat.elInterprete.addEventListener(Event.SOUND_COMPLETE, this.soundCompleteHandler); this.elReproductor.addEventListener(Event.COMPLETE, this.soundCompleteHandler); this.velocidadFijaCamara = 50; this.empieza(); _local3 = this.elDibujante.nuevoClip("splatter4", (this.stage.stageWidth / 2), (this.stage.stageHeight / 2)); _local3.scaleX = (_local3.scaleY = 0.3); this.gotoAndPlay("Reproduce"); if (siteLabuat.grabando){ this.elReproductor.gotoAndStop(3); } else { this.elReproductor.gotoAndStop(1); }; } private function sincronizaCamara(_arg1:Event):void{ this.velocidadFijaCamara = ((siteLabuat.velocidadMinimaCamara + ((siteLabuat.velocidadMaximaCamara - siteLabuat.velocidadMinimaCamara) * siteLabuat.elInterprete.volumenPistas(this.pistasCamara))) * siteLabuat.acelera); } function frame80(){ this.redimensiona(); } function frame89(){ this.stop(); } function frame64(){ this.stop(); } private function iniSite():void{ siteLabuat.elDisparadorXML = new interpreteXML(siteLabuat.setup.eventos.evento); this.elDibujante.inicializa((this.stage.stageWidth / 2), (this.stage.stageHeight / 2)); this.elDibujante.redimensiona(this.stage.stageWidth, this.stage.stageHeight); this.playable(); } private function dibujanteCargando(_arg1:ProgressEvent):void{ var p:Number; var e = _arg1; p = (e.bytesLoaded / e.bytesTotal); try { this.stage_cargando.setPercent((75 + Math.round((24 * p)))); } catch(e:Error) { }; } private function backgroundLoadProgress(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = (_arg1.bytesLoaded / _arg1.bytesTotal); } private function tick(_arg1:Event):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; if (siteLabuat.grabando){ _local6 = siteLabuat.stage.mouseX; _local7 = siteLabuat.stage.mouseY; } else { _local6 = (dibujante.coordenadas[dibujante.punteroGrabacion].x * siteLabuat.stage.stageWidth); _local7 = (dibujante.coordenadas[dibujante.punteroGrabacion].y * siteLabuat.stage.stageHeight); }; this.cursor.x = _local6; this.cursor.y = _local7; _local2 = siteLabuat.getAngle(0, (this.stage.stageHeight / 2), _local6, _local7); _local3 = (_local2 - this.anguloActual); if (_local3 > Math.PI){ _local3 = (_local3 - (2 * Math.PI)); }; if (_local3 < -(Math.PI)){ _local3 = (_local3 + (2 * Math.PI)); }; _local3 = (_local3 / siteLabuat.elasticidadCamara); this.anguloActual = (this.anguloActual + _local3); _local4 = (this.velocidadFijaCamara * Math.cos(this.anguloActual)); _local5 = (this.velocidadFijaCamara * Math.sin(this.anguloActual)); this.xAnterior = _local6; this.yAnterior = _local7; this.realCamarax = (this.realCamarax + ((_local4 - this.realCamarax) / siteLabuat.elasticidadCamara)); this.realCamaray = (this.realCamaray + ((_local5 - this.realCamaray) / siteLabuat.elasticidadCamara)); siteLabuat.camarax = Math.round(this.realCamarax); siteLabuat.camaray = Math.round(this.realCamaray); this.elDibujante.tick(); this.elDibujante.actualizaTrazos(); this.elDibujante.actualizaClips(); this.dibujaFondo(); this.stage_fondo.stage_brillo.alpha = (siteLabuat.brilloMinimo + (siteLabuat.brilloVariable * siteLabuat.elInterprete.volumenPistas(this.pistasBrillo))); this.stage_fondo.stage_brillo.x = (this.stage_fondo.stage_brillo.x + ((_local6 - this.stage_fondo.stage_brillo.x) / 14)); this.stage_fondo.stage_brillo.y = (this.stage_fondo.stage_brillo.y + ((_local7 - this.stage_fondo.stage_brillo.y) / 14)); this.stage_fondo.stage_sombraizquierda.alpha = (this.stage_fondo.stage_sombraderecha.alpha = (siteLabuat.lateralMinimo + (siteLabuat.lateralVariable * siteLabuat.elInterprete.volumenPistas(this.pistasLateral)))); } private function movieLoadComplete(_arg1:Event):void{ var _local2:URLRequest; var _local3:URLLoader; _local2 = new URLRequest("setup.xml"); _local3 = new URLLoader(_local2); _local3.load(_local2); _local3.addEventListener(Event.COMPLETE, this.XMLCargado, false, 0, true); this.redimensiona(); } function frame121(){ this.playable(); } function frame131(){ this.stop(); } private function XMLPersoCargado(_arg1:Event):void{ var _local2:*; var _local3:String; var _local4:Array; var _local5:int; var _local6:Array; _local2 = new XML(_arg1.target.data); _local3 = _local2.secuencia.toString(); if (((_local3) && ((_local3.length > 0)))){ _local4 = _local3.split("|"); siteLabuat.grabando = false; dibujante.coordenadas = new Array(); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split(","); dibujante.coordenadas[dibujante.coordenadas.length] = {x:(parseFloat(_local6[0]) / 2000), y:(parseFloat(_local6[1]) / 1000), tiempo:(parseFloat(_local6[2]) * 10)}; _local5++; }; }; this.stage_cargando.addEventListener(Event.COMPLETE, this.cargandoCompletado); this.stage_cargando.setPercent(100); } public function para():void{ Mouse.show(); this.timerCamara.stop(); this.removeEventListener(Event.ENTER_FRAME, this.tick); this.elReproductor.para(); this.elDibujante.para(); siteLabuat.elInterprete.para(); siteLabuat.sigueMouse = false; siteLabuat.elDisparadorXML.para(); if (siteLabuat.grabando){ this.removeChild(this.cursor); }; } private function cargandoCompletado(_arg1:Event):void{ this.stage.quality = "high"; this.stage_cargando.removeEventListener(Event.COMPLETE, this.cargandoCompletado); this.iniSite(); } public function pausa():void{ this.dondeEstaba = (getTimer() - elDisparadorXML.inicio); this.timerCamara.stop(); this.removeEventListener(Event.ENTER_FRAME, this.tick); siteLabuat.elInterprete.para(); this.elDibujante.para(); this.elReproductor.para(); siteLabuat.elDisparadorXML.para(); } public static function getAngle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number; _local5 = Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)); return (_local5); } } }//package
Section 51
//subidonEvent (subidonEvent) package { import flash.events.*; public class subidonEvent extends Event { public var pista:int; public var volumen:Number; public function subidonEvent(_arg1:String, _arg2:int, _arg3:Number):void{ super(_arg1); this.pista = _arg2; this.volumen = _arg3; } } }//package
Section 52
//trazo (trazo) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; public class trazo extends EventDispatcher { private var yAnterior1:Number;// = 0 private var yAnterior2:Number;// = 0 private var ultimoY2Int:Number;// = 0 private var ultimoX2_A:Number;// = 0 private var xAnterior2_A:Number;// = 0 private var ultimoX1Int:Number;// = 0 public var ultimoX:Number;// = 0 public var ultimoY:Number;// = 0 public var tinta2:BitmapData; private var yAnterior2Int:Number;// = 0 private var xAnterior2Int_A:Number;// = 0 public var grosor:Number;// = 0 public var separacionReal:Number;// = 0 private var ultimoY1Int_A:Number;// = 0 public var enabled:Boolean;// = true public var tinta1:BitmapData; private var ultimoX1_A:Number;// = 0 private var ultimoX1:Number;// = 0 private var ultimoX2:Number;// = 0 private var xAnterior:Number;// = 0 private var angulo1:Number;// = 1.5707963267949 public var velocidadTotal:Number;// = 0 private var yAnterior:Number;// = 0 private var xAnterior1Int:Number;// = 0 private var xAnterior1_A:Number;// = 0 private var ultimoY1:Number;// = 0 private var ultimoY2:Number;// = 0 private var ultimoY2_A:Number;// = 0 private var yAnterior2Int_A:Number;// = 0 private var angulo2:Number;// = 4.71238898038469 public var v1:Point; public var v2:Point; private var yAnterior2_A:Number;// = 0 private var ultimoX2Int:Number;// = 0 private var desviacion:Number;// = 0 private var ultimoX2Int_A:Number;// = 0 private var elGestorPinceles:gestorPinceles; private var xAnterior1Int_A:Number;// = 0 private var ultimoY1_A:Number;// = 0 private var ultimoY1Int:Number;// = 0 private var xAnterior2Int:Number;// = 0 public var transformTinta:Matrix; private var vx:Number;// = 0 private var vy:Number;// = 0 private var ultimoY2Int_A:Number;// = 0 private var yAnterior1Int:Number;// = 0 private var yAnterior1_A:Number;// = 0 private var yAnterior1Int_A:Number;// = 0 public var trayectoria:Number;// = 0 private var xAnterior1:Number;// = 0 private var xAnterior2:Number;// = 0 private var ultimoX1Int_A:Number;// = 0 private var derrape:Number;// = 0 public var separacion:Number;// = 0 private var primero:Boolean;// = true public static const minDistanciaTrazo:Number = 0; public static const maxDistanciaTrazo:Number = 53; public static const derrapaje:Number = 1.2; public function trazo(_arg1:Number, _arg2:Number, _arg3:gestorPinceles, _arg4:BitmapData=null, _arg5:BitmapData=null, _arg6:Matrix=null):void{ trayectoria = 0; velocidadTotal = 0; grosor = 0; enabled = true; derrape = 0; desviacion = 0; vx = 0; vy = 0; primero = true; separacion = 0; separacionReal = 0; v1 = new Point(); v2 = new Point(); ultimoX = 0; ultimoY = 0; xAnterior = 0; yAnterior = 0; xAnterior1 = 0; yAnterior1 = 0; ultimoX1 = 0; ultimoY1 = 0; xAnterior1Int = 0; yAnterior1Int = 0; ultimoX1Int = 0; ultimoY1Int = 0; xAnterior1_A = 0; yAnterior1_A = 0; ultimoX1_A = 0; ultimoY1_A = 0; ultimoX1Int_A = 0; ultimoY1Int_A = 0; xAnterior1Int_A = 0; yAnterior1Int_A = 0; xAnterior2 = 0; yAnterior2 = 0; ultimoX2 = 0; ultimoY2 = 0; xAnterior2Int = 0; yAnterior2Int = 0; ultimoX2Int = 0; ultimoY2Int = 0; xAnterior2_A = 0; yAnterior2_A = 0; ultimoX2_A = 0; ultimoY2_A = 0; ultimoX2Int_A = 0; ultimoY2Int_A = 0; xAnterior2Int_A = 0; yAnterior2Int_A = 0; angulo1 = (Math.PI / 2); angulo2 = ((3 * Math.PI) / 2); super(); this.elGestorPinceles = _arg3; this.transformTinta = ((_arg6) || (new Matrix())); this.tinta1 = ((_arg4) || (dibujante.imagenTinta)); this.tinta2 = ((_arg5) || (dibujante.imagenTinta2)); this.moveTo(_arg1, _arg2); } public function moveTo(_arg1:Number, _arg2:Number):void{ this.ultimoX = _arg1; this.ultimoY = _arg2; this.xAnterior = _arg1; this.yAnterior = _arg2; this.xAnterior1 = _arg1; this.yAnterior1 = _arg2; this.ultimoX1 = _arg1; this.ultimoY1 = _arg2; this.xAnterior1Int = _arg1; this.yAnterior1Int = _arg2; this.ultimoX1Int = _arg1; this.ultimoY1Int = _arg2; this.xAnterior1_A = _arg1; this.yAnterior1_A = _arg2; this.ultimoX1_A = _arg1; this.ultimoY1_A = _arg2; this.xAnterior1Int_A = _arg1; this.yAnterior1Int_A = _arg2; this.ultimoX1Int_A = _arg1; this.ultimoY1Int_A = _arg2; this.xAnterior2 = _arg1; this.yAnterior2 = _arg2; this.ultimoX2 = _arg1; this.ultimoY2 = _arg2; this.xAnterior2Int = _arg1; this.yAnterior2Int = _arg2; this.ultimoX2Int = _arg1; this.ultimoY2Int = _arg2; this.xAnterior2_A = _arg1; this.yAnterior2_A = _arg2; this.ultimoX2_A = _arg1; this.ultimoY2_A = _arg2; this.xAnterior2Int_A = _arg1; this.yAnterior2Int_A = _arg2; this.ultimoX2Int_A = _arg1; this.ultimoY2Int_A = _arg2; } public function offset(_arg1:Number, _arg2:Number):void{ this.ultimoX = (this.ultimoX + _arg1); this.ultimoY = (this.ultimoY + _arg2); this.xAnterior = (this.xAnterior + _arg1); this.yAnterior = (this.yAnterior + _arg2); this.xAnterior1 = (this.xAnterior1 + _arg1); this.yAnterior1 = (this.yAnterior1 + _arg2); this.ultimoX1 = (this.ultimoX1 + _arg1); this.ultimoY1 = (this.ultimoY1 + _arg2); this.xAnterior1Int = (this.xAnterior1Int + _arg1); this.yAnterior1Int = (this.yAnterior1Int + _arg2); this.ultimoX1Int = (this.ultimoX1Int + _arg1); this.ultimoY1Int = (this.ultimoY1Int + _arg2); this.xAnterior1_A = (this.xAnterior1_A + _arg1); this.yAnterior1_A = (this.yAnterior1_A + _arg2); this.ultimoX1_A = (this.ultimoX1_A + _arg1); this.ultimoY1_A = (this.ultimoY1_A + _arg2); this.xAnterior1Int_A = (this.xAnterior1Int_A + _arg1); this.yAnterior1Int_A = (this.yAnterior1Int_A + _arg2); this.ultimoX1Int_A = (this.ultimoX1Int_A + _arg1); this.ultimoY1Int_A = (this.ultimoY1Int_A + _arg2); this.xAnterior2 = (this.xAnterior2 + _arg1); this.yAnterior2 = (this.yAnterior2 + _arg2); this.ultimoX2 = (this.ultimoX2 + _arg1); this.ultimoY2 = (this.ultimoY2 + _arg2); this.xAnterior2Int = (this.xAnterior2Int + _arg1); this.yAnterior2Int = (this.yAnterior2Int + _arg2); this.ultimoX2Int = (this.ultimoX2Int + _arg1); this.ultimoY2Int = (this.ultimoY2Int + _arg2); this.xAnterior2_A = (this.xAnterior2_A + _arg1); this.yAnterior2_A = (this.yAnterior2_A + _arg2); this.ultimoX2_A = (this.ultimoX2_A + _arg1); this.ultimoY2_A = (this.ultimoY2_A + _arg2); this.xAnterior2Int_A = (this.xAnterior2Int_A + _arg1); this.yAnterior2Int_A = (this.yAnterior2Int_A + _arg2); this.ultimoX2Int_A = (this.ultimoX2Int_A + _arg1); this.ultimoY2Int_A = (this.ultimoY2Int_A + _arg2); } public function tick():void{ this.transformTinta.translate(-(siteLabuat.camarax), -(siteLabuat.camaray)); if (this.transformTinta.tx < -3000){ this.transformTinta.tx = (this.transformTinta.tx + 3000); }; if (this.transformTinta.ty < -3000){ this.transformTinta.ty = (this.transformTinta.ty + 3000); }; if (this.transformTinta.ty > 3000){ this.transformTinta.ty = (this.transformTinta.ty - 3000); }; if (this.separacionReal < this.separacion){ this.separacionReal = (this.separacionReal + 3); }; if (this.separacionReal > this.separacion){ this.separacionReal = (this.separacionReal - 2); }; this.ultimoX = (this.ultimoX - siteLabuat.camarax); this.ultimoY = (this.ultimoY - siteLabuat.camaray); this.xAnterior = (this.xAnterior - siteLabuat.camarax); this.yAnterior = (this.yAnterior - siteLabuat.camaray); this.xAnterior1 = (this.xAnterior1 - siteLabuat.camarax); this.yAnterior1 = (this.yAnterior1 - siteLabuat.camaray); this.ultimoX1 = (this.ultimoX1 - siteLabuat.camarax); this.ultimoY1 = (this.ultimoY1 - siteLabuat.camaray); this.xAnterior1Int = (this.xAnterior1Int - siteLabuat.camarax); this.yAnterior1Int = (this.yAnterior1Int - siteLabuat.camaray); this.ultimoX1Int = (this.ultimoX1Int - siteLabuat.camarax); this.ultimoY1Int = (this.ultimoY1Int - siteLabuat.camaray); this.xAnterior1_A = (this.xAnterior1_A - siteLabuat.camarax); this.yAnterior1_A = (this.yAnterior1_A - siteLabuat.camaray); this.ultimoX1_A = (this.ultimoX1_A - siteLabuat.camarax); this.ultimoY1_A = (this.ultimoY1_A - siteLabuat.camaray); this.xAnterior1Int_A = (this.xAnterior1Int_A - siteLabuat.camarax); this.yAnterior1Int_A = (this.yAnterior1Int_A - siteLabuat.camaray); this.ultimoX1Int_A = (this.ultimoX1Int_A - siteLabuat.camarax); this.ultimoY1Int_A = (this.ultimoY1Int_A - siteLabuat.camaray); this.xAnterior2 = (this.xAnterior2 - siteLabuat.camarax); this.yAnterior2 = (this.yAnterior2 - siteLabuat.camaray); this.ultimoX2 = (this.ultimoX2 - siteLabuat.camarax); this.ultimoY2 = (this.ultimoY2 - siteLabuat.camaray); this.xAnterior2Int = (this.xAnterior2Int - siteLabuat.camarax); this.yAnterior2Int = (this.yAnterior2Int - siteLabuat.camaray); this.ultimoX2Int = (this.ultimoX2Int - siteLabuat.camarax); this.ultimoY2Int = (this.ultimoY2Int - siteLabuat.camaray); this.xAnterior2_A = (this.xAnterior2_A - siteLabuat.camarax); this.yAnterior2_A = (this.yAnterior2_A - siteLabuat.camaray); this.ultimoX2_A = (this.ultimoX2_A - siteLabuat.camarax); this.ultimoY2_A = (this.ultimoY2_A - siteLabuat.camaray); this.xAnterior2Int_A = (this.xAnterior2Int_A - siteLabuat.camarax); this.yAnterior2Int_A = (this.yAnterior2Int_A - siteLabuat.camaray); this.ultimoX2Int_A = (this.ultimoX2Int_A - siteLabuat.camarax); this.ultimoY2Int_A = (this.ultimoY2Int_A - siteLabuat.camaray); } public function dibujaEn(_arg1:Shape):void{ var _local2:pincel; 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:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:*; var _local36:*; var _local37:Number; var _local38:Number; var _local39:Number; var _local40:Number; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:Number; var _local45:Number; var _local46:Number; var _local47:Number; var _local48:Number; var _local49:Number; _local2 = this.elGestorPinceles.pincelActual; if (!_local2){ this.dispatchEvent(new Event(Event.COMPLETE)); return; }; _local3 = _local2.x; _local4 = _local2.y; if (_local3 < 20){ _local3 = 20; }; if (_local4 < 20){ _local4 = 20; }; if (_local3 > (dibujante.viewPort.width - 20)){ _local3 = (dibujante.viewPort.width - 20); }; if (_local4 > (dibujante.viewPort.height - 20)){ _local4 = (dibujante.viewPort.height - 20); }; _local5 = (_local2.presion * dibujante.presionReal); _local6 = (this.xAnterior + this.vx); _local7 = (this.yAnterior + this.vy); _local8 = (_local3 - this.xAnterior); _local9 = (_local4 - this.yAnterior); _local10 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); if (_local10 > trazo.maxDistanciaTrazo){ _local10 = trazo.maxDistanciaTrazo; }; if (_local10 < trazo.minDistanciaTrazo){ _local10 = trazo.minDistanciaTrazo; }; _local11 = siteLabuat.getAngle(this.xAnterior, this.yAnterior, _local3, _local4); _local12 = siteLabuat.getAngle(this.xAnterior, this.yAnterior, _local6, _local7); _local13 = (_local11 - _local12); if (_local13 > Math.PI){ _local13 = (_local13 - (2 * Math.PI)); }; if (_local13 < -(Math.PI)){ _local13 = (_local13 + (2 * Math.PI)); }; if (Math.abs(_local13) > 0.3){ this.dispatchEvent(new curvaEvent("curva", _local12, Math.abs(_local13))); }; this.desviacion = (this.desviacion + ((_local13 - this.desviacion) / _local2.elasticidadTrazo)); this.trayectoria = (this.trayectoria + this.desviacion); _local3 = (this.xAnterior + (_local10 * Math.cos(this.trayectoria))); _local4 = (this.yAnterior + (_local10 * Math.sin(this.trayectoria))); _local14 = (this.separacionReal * (0.95 + (0.1 * Math.random()))); _local15 = ((_local2.arriba + _local14) * _local5); _local16 = ((_local2.abajo + _local14) * _local5); _local17 = angulo1; _local18 = angulo2; _local19 = Math.cos((this.trayectoria + _local17)); _local20 = Math.sin((this.trayectoria + _local17)); _local21 = Math.cos((this.trayectoria + _local18)); _local22 = Math.sin((this.trayectoria + _local18)); _local23 = (_local15 * _local19); _local24 = (_local15 * _local20); _local25 = (_local16 * _local21); _local26 = (_local16 * _local22); _local27 = ((_local14 * _local19) * _local5); _local28 = ((_local14 * _local20) * _local5); _local29 = ((_local14 * _local21) * _local5); _local30 = ((_local14 * _local22) * _local5); _local31 = (_local3 + _local23); _local32 = (_local4 + _local24); _local33 = (_local3 + _local25); _local34 = (_local4 + _local26); _local35 = new Point((_local31 - this.xAnterior1), (_local32 - this.yAnterior1)); _local36 = new Point((_local33 - this.xAnterior2), (_local34 - this.yAnterior2)); _local37 = (1 + (_local2.derrape * _local5)); this.v1.x = (this.v1.x + ((_local35.x - this.v1.x) / _local37)); this.v1.y = (this.v1.y + ((_local35.y - this.v1.y) / _local37)); this.v2.x = (this.v2.x + ((_local36.x - this.v2.x) / _local37)); this.v2.y = (this.v2.y + ((_local36.y - this.v2.y) / _local37)); _local31 = (this.xAnterior1 + this.v1.x); _local32 = (this.yAnterior1 + this.v1.y); _local33 = (this.xAnterior2 + this.v2.x); _local34 = (this.yAnterior2 + this.v2.y); _local38 = (_local3 + _local27); _local39 = (_local4 + _local28); _local40 = (_local3 + _local29); _local41 = (_local4 + _local30); this.vx = (_local3 - this.xAnterior); this.vy = (_local4 - this.yAnterior); _local42 = ((this.xAnterior1Int + _local38) / 2); _local43 = ((this.yAnterior1Int + _local39) / 2); _local44 = ((this.xAnterior1 + _local31) / 2); _local45 = ((this.yAnterior1 + _local32) / 2); _local46 = ((this.xAnterior2Int + _local40) / 2); _local47 = ((this.yAnterior2Int + _local41) / 2); _local48 = ((this.xAnterior2 + _local33) / 2); _local49 = ((this.yAnterior2 + _local34) / 2); if (((!(this.primero)) && ((_local5 > 0.01)))){ _arg1.graphics.beginBitmapFill(this.tinta1, this.transformTinta, (this.tinta1 == dibujante.imagenTinta), !((this.tinta1 == dibujante.imagenTinta))); _arg1.graphics.moveTo(this.ultimoX1_A, this.ultimoY1_A); _arg1.graphics.curveTo(this.xAnterior1_A, this.yAnterior1_A, this.ultimoX1, this.ultimoY1); _arg1.graphics.curveTo(this.xAnterior1, this.yAnterior1, _local44, _local45); _arg1.graphics.lineTo(_local42, _local43); _arg1.graphics.curveTo(this.xAnterior1Int, this.yAnterior1Int, this.ultimoX1Int, this.ultimoY1Int); _arg1.graphics.curveTo(this.xAnterior1Int_A, this.yAnterior1Int_A, this.ultimoX1Int_A, this.ultimoY1Int_A); _arg1.graphics.lineTo(this.ultimoX1_A, this.ultimoY1_A); _arg1.graphics.endFill(); _arg1.graphics.beginBitmapFill(this.tinta2, this.transformTinta, (this.tinta2 == dibujante.imagenTinta2), !((this.tinta2 == dibujante.imagenTinta2))); _arg1.graphics.moveTo(this.ultimoX2_A, this.ultimoY2_A); _arg1.graphics.curveTo(this.xAnterior2_A, this.yAnterior2_A, this.ultimoX2, this.ultimoY2); _arg1.graphics.curveTo(this.xAnterior2, this.yAnterior2, _local48, _local49); _arg1.graphics.lineTo(_local46, _local47); _arg1.graphics.curveTo(this.xAnterior2Int, this.yAnterior2Int, this.ultimoX2Int, this.ultimoY2Int); _arg1.graphics.curveTo(this.xAnterior2Int_A, this.yAnterior2Int_A, this.ultimoX2Int_A, this.ultimoY2Int_A); _arg1.graphics.lineTo(this.ultimoX2_A, this.ultimoY2_A); _arg1.graphics.endFill(); }; this.primero = false; this.xAnterior1_A = this.xAnterior1; this.yAnterior1_A = this.yAnterior1; this.xAnterior1Int_A = this.xAnterior1Int; this.yAnterior1Int_A = this.yAnterior1Int; this.ultimoX1_A = this.ultimoX1; this.ultimoY1_A = this.ultimoY1; this.ultimoX1Int_A = this.ultimoX1Int; this.ultimoY1Int_A = this.ultimoY1Int; this.xAnterior1 = _local31; this.yAnterior1 = _local32; this.xAnterior1Int = _local38; this.yAnterior1Int = _local39; this.ultimoX1 = _local44; this.ultimoY1 = _local45; this.ultimoX1Int = _local42; this.ultimoY1Int = _local43; this.xAnterior2_A = this.xAnterior2; this.yAnterior2_A = this.yAnterior2; this.xAnterior2Int_A = this.xAnterior2Int; this.yAnterior2Int_A = this.yAnterior2Int; this.ultimoX2_A = this.ultimoX2; this.ultimoY2_A = this.ultimoY2; this.ultimoX2Int_A = this.ultimoX2Int; this.ultimoY2Int_A = this.ultimoY2Int; this.xAnterior2 = _local33; this.yAnterior2 = _local34; this.xAnterior2Int = _local40; this.yAnterior2Int = _local41; this.ultimoX2 = _local48; this.ultimoY2 = _local49; this.ultimoX2Int = _local46; this.ultimoY2Int = _local47; this.grosor = Math.sqrt((((_local31 - _local33) * (_local31 - _local33)) + ((_local32 - _local34) * (_local32 - _local34)))); this.xAnterior = _local3; this.yAnterior = _local4; this.ultimoX = ((_local44 + _local48) / 2); this.ultimoY = ((_local45 + _local49) / 2); this.velocidadTotal = Math.sqrt(((this.vx * this.vx) + (this.vy * this.vy))); } } }//package
Section 53
//xmlEvent (xmlEvent) package { import flash.events.*; public class xmlEvent extends Event { public var xml:XML; public var tiempo:Number; public function xmlEvent(_arg1:String, _arg2:Number, _arg3:XML):void{ super(_arg1); this.tiempo = _arg2; this.xml = _arg3; } } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:33 64
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:33 64
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:33 64
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:33 64
Symbol 11 FontUsed by:12 14 18 20 53 68 74 76 110 114 141
Symbol 12 TextUses:11Used by:13
Symbol 13 MovieClipUses:12Used by:33 64
Symbol 14 TextUses:11Used by:15
Symbol 15 MovieClipUses:14Used by:33 64
Symbol 16 FontUsed by:17 153 158
Symbol 17 TextUses:16Used by:19
Symbol 18 TextUses:11Used by:19
Symbol 19 MovieClipUses:17 18Used by:33 64
Symbol 20 TextUses:11Used by:22
Symbol 21 GraphicUsed by:22
Symbol 22 ButtonUses:20 21Used by:33 64
Symbol 23 FontUsed by:24 25 28
Symbol 24 EditableTextUses:23Used by:33
Symbol 25 EditableTextUses:23Used by:33
Symbol 26 FontUsed by:27
Symbol 27 EditableTextUses:26Used by:33
Symbol 28 EditableTextUses:23Used by:33
Symbol 29 FontUsed by:30 31
Symbol 30 EditableTextUses:29Used by:33
Symbol 31 TextUses:29Used by:32
Symbol 32 MovieClipUses:31Used by:33 64
Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto}Uses:2 5 8 10 13 15 19 22 24 25 27 28 30 32
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip {labuat_fla.Salpicadura_71}Uses:34Used by:37
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:35 36Used by:38
Symbol 38 MovieClip {Cabezal}Uses:37
Symbol 39 ShapeTweeningUsed by:42
Symbol 40 GraphicUsed by:42
Symbol 41 ShapeTweeningUsed by:42
Symbol 42 MovieClip {Onda}Uses:39 40 41
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClipUses:44Used by:46
Symbol 46 MovieClip {Cursor}Uses:45
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:49
Symbol 49 MovieClipUses:48Used by:50 51
Symbol 50 MovieClip {Manchacargando2}Uses:49
Symbol 51 MovieClip {Manchacargando}Uses:49
Symbol 52 GraphicUsed by:61 64 89 107 125 126
Symbol 53 TextUses:11Used by:54
Symbol 54 MovieClipUses:53Used by:64
Symbol 55 FontUsed by:56 57 58 59 60 123
Symbol 56 EditableTextUses:55Used by:64
Symbol 57 EditableTextUses:55Used by:64
Symbol 58 EditableTextUses:55Used by:64
Symbol 59 EditableTextUses:55Used by:64
Symbol 60 EditableTextUses:55Used by:64
Symbol 61 MovieClipUses:52Used by:64
Symbol 62 ShapeTweeningUsed by:64
Symbol 63 ShapeTweeningUsed by:64
Symbol 64 MovieClip {formulario}Uses:52 2 5 8 10 13 15 19 54 22 56 57 58 59 60 61 62 63 32Used by:87
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:88
Symbol 67 GraphicUsed by:78 85 86 88
Symbol 68 TextUses:11Used by:78 88
Symbol 69 GraphicUsed by:80 88
Symbol 70 BitmapUsed by:71 97
Symbol 71 GraphicUses:70Used by:72 80
Symbol 72 MovieClipUses:71Used by:80 88 103
Symbol 73 GraphicUsed by:80 88
Symbol 74 TextUses:11Used by:80 88
Symbol 75 GraphicUsed by:82 88
Symbol 76 TextUses:11Used by:82 88
Symbol 77 GraphicUsed by:78
Symbol 78 ButtonUses:67 68 77Used by:88
Symbol 79 GraphicUsed by:80
Symbol 80 ButtonUses:69 72 73 74 79 71Used by:88
Symbol 81 GraphicUsed by:82
Symbol 82 ButtonUses:75 76 81Used by:88
Symbol 83 BitmapUsed by:84 118
Symbol 84 GraphicUses:83Used by:86
Symbol 85 MovieClipUses:67Used by:86
Symbol 86 ButtonUses:84 85 67Used by:87
Symbol 87 MovieClip {labuat_fla.Formularioanimado_48}Uses:64 86Used by:88
Symbol 88 MovieClip {opcionesFinales}Uses:66 67 68 69 72 73 74 75 76 78 80 82 87Used by:Timeline
Symbol 89 MovieClip {ecualizador}Uses:52Used by:107
Symbol 90 GraphicUsed by:91 107 115 157 159
Symbol 91 MovieClipUses:90Used by:107
Symbol 92 GraphicUsed by:95
Symbol 93 GraphicUsed by:95
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:92 93 94Used by:107
Symbol 96 GraphicUsed by:100
Symbol 97 GraphicUses:70Used by:98 100
Symbol 98 MovieClipUses:97Used by:100
Symbol 99 GraphicUsed by:100
Symbol 100 ButtonUses:96 98 99 97Used by:107
Symbol 101 GraphicUsed by:103
Symbol 102 GraphicUsed by:103
Symbol 103 ButtonUses:101 72 102Used by:107
Symbol 104 GraphicUsed by:107
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:107
Symbol 107 MovieClip {Reproductor}Uses:52 89 90 91 95 100 103 104 106Used by:Timeline
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:111 126
Symbol 110 TextUses:11Used by:111 126
Symbol 111 ButtonUses:109 110Used by:126
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:116
Symbol 114 TextUses:11Used by:116
Symbol 115 ButtonUses:90Used by:116 124
Symbol 116 MovieClip {labuat_fla.CreditosA_28}Uses:113 114 115Used by:125
Symbol 117 GraphicUsed by:120
Symbol 118 GraphicUses:83Used by:120
Symbol 119 GraphicUsed by:120
Symbol 120 ButtonUses:117 118 119Used by:125
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:124
Symbol 123 TextUses:55Used by:124
Symbol 124 MovieClip {labuat_fla.CreditosB_31}Uses:122 123 115Used by:125
Symbol 125 MovieClip {labuat_fla.Creditosdesplegado_27}Uses:116 120 124 52Used by:126
Symbol 126 MovieClip {creditos}Uses:111 52 109 110 125Used by:Timeline
Symbol 127 GraphicUsed by:134
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:130
Symbol 130 MovieClipUses:129Used by:134
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClipUses:132Used by:134
Symbol 134 MovieClip {BTPlay}Uses:127 130 133Used by:163
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135Used by:137 174
Symbol 137 MovieClipUses:136Used by:163
Symbol 138 BitmapUsed by:139 160
Symbol 139 GraphicUses:138Used by:140
Symbol 140 MovieClip {labuat_fla.Imagencargando_12}Uses:139Used by:163
Symbol 141 EditableTextUses:11Used by:163
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:144
Symbol 144 MovieClipUses:143Used by:148
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClipUses:146Used by:148
Symbol 148 MovieClipUses:144 147Used by:159
Symbol 149 ShapeTweeningUsed by:159
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:152
Symbol 152 MovieClipUses:151Used by:157 159
Symbol 153 EditableTextUses:16Used by:159
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:159
Symbol 156 ShapeTweeningUsed by:157
Symbol 157 MovieClipUses:156 152 90Used by:159
Symbol 158 EditableTextUses:16Used by:159
Symbol 159 MovieClip {labuat_fla.Punterodemouseencargando_13}Uses:148 149 152 153 155 90 157 158Used by:163
Symbol 160 GraphicUses:138Used by:161
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClip {labuat_fla.Videosalida_20}Uses:161Used by:163
Symbol 163 MovieClip {cargando_eng}Uses:137 140 141 159 162 134Used by:Timeline
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClip {Gluz}Uses:164Used by:173
Symbol 166 MovieClipUsed by:174
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:169
Symbol 169 MovieClipUses:168Used by:174
Symbol 170 BitmapUsed by:171
Symbol 171 GraphicUses:170Used by:172
Symbol 172 MovieClipUses:171Used by:174
Symbol 173 MovieClip {labuat_fla.Luz_6}Uses:165Used by:174
Symbol 174 MovieClip {labuat_fla.Fondo_1}Uses:166 169 172 136 173Used by:Timeline
Symbol 175 MovieClipUsed by:Timeline
Symbol 176 BitmapUsed by:177
Symbol 177 GraphicUses:176Used by:178
Symbol 178 MovieClip {labuat_fla.Logo_9}Uses:177Used by:Timeline
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:Timeline
Symbol 181 FontUsed by:182
Symbol 182 TextUses:181Used by:Timeline
Symbol 183 MovieClipUsed by:Timeline
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:186
Symbol 186 MovieClipUses:185Used by:187
Symbol 187 MovieClip {labuat_fla.Stagepastilla_42}Uses:186Used by:Timeline

Instance Names

"stage_fondo"Frame 1Symbol 174 MovieClip {labuat_fla.Fondo_1}
"stage_marco"Frame 1Symbol 175 MovieClip
"stage_logo"Frame 1Symbol 178 MovieClip {labuat_fla.Logo_9}
"stage_cargando"Frame 2Symbol 163 MovieClip {cargando_eng}
"stage_credits"Frame 3Symbol 126 MovieClip {creditos}
"stage_canvas"Frame 36Symbol 183 MovieClip
"stage_reproductor"Frame 36Symbol 107 MovieClip {Reproductor}
"stage_pastilla"Frame 79Symbol 187 MovieClip {labuat_fla.Stagepastilla_42}
"mascara"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 2 MovieClip
"tt4"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 5 MovieClip
"tt3"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 8 MovieClip
"tt2"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 8 MovieClip
"tt1"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 8 MovieClip
"solido1"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 10 MovieClip
"solido2"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 10 MovieClip
"solido3"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 10 MovieClip
"solido4"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 10 MovieClip
"t1"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 13 MovieClip
"t2"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 15 MovieClip
"t3"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 19 MovieClip
"bAceptar"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 22 Button
"emailInput"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 24 EditableText
"nombreInput"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 25 EditableText
"mensajeInput"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 27 EditableText
"asuntoInput"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 28 EditableText
"errorMsg"Symbol 33 MovieClip {es.camper.imaginationwalks.visor.pantallaContacto} Frame 1Symbol 30 EditableText
"stage_cabeza"Symbol 38 MovieClip {Cabezal} Frame 1Symbol 37 MovieClip
"mascara"Symbol 64 MovieClip {formulario} Frame 1Symbol 2 MovieClip
"tt4"Symbol 64 MovieClip {formulario} Frame 1Symbol 5 MovieClip
"tt3"Symbol 64 MovieClip {formulario} Frame 1Symbol 8 MovieClip
"tt2"Symbol 64 MovieClip {formulario} Frame 1Symbol 8 MovieClip
"tt1"Symbol 64 MovieClip {formulario} Frame 1Symbol 8 MovieClip
"solido2"Symbol 64 MovieClip {formulario} Frame 1Symbol 10 MovieClip
"solido1"Symbol 64 MovieClip {formulario} Frame 1Symbol 10 MovieClip
"solido3"Symbol 64 MovieClip {formulario} Frame 1Symbol 10 MovieClip
"solido4"Symbol 64 MovieClip {formulario} Frame 1Symbol 10 MovieClip
"t1"Symbol 64 MovieClip {formulario} Frame 1Symbol 13 MovieClip
"t2"Symbol 64 MovieClip {formulario} Frame 1Symbol 15 MovieClip
"t3"Symbol 64 MovieClip {formulario} Frame 1Symbol 19 MovieClip
"t4"Symbol 64 MovieClip {formulario} Frame 1Symbol 54 MovieClip
"bAceptar"Symbol 64 MovieClip {formulario} Frame 1Symbol 22 Button
"nombreInput"Symbol 64 MovieClip {formulario} Frame 1Symbol 56 EditableText
"emailInput"Symbol 64 MovieClip {formulario} Frame 1Symbol 57 EditableText
"mensajeInput"Symbol 64 MovieClip {formulario} Frame 1Symbol 58 EditableText
"amigosInput"Symbol 64 MovieClip {formulario} Frame 1Symbol 59 EditableText
"errorMsg"Symbol 64 MovieClip {formulario} Frame 1Symbol 60 EditableText
"tapa"Symbol 64 MovieClip {formulario} Frame 1Symbol 61 MovieClip
"bCerrar"Symbol 87 MovieClip {labuat_fla.Formularioanimado_48} Frame 13Symbol 86 Button
"b1"Symbol 88 MovieClip {opcionesFinales} Frame 29Symbol 78 Button
"b2"Symbol 88 MovieClip {opcionesFinales} Frame 29Symbol 80 Button
"b3"Symbol 88 MovieClip {opcionesFinales} Frame 29Symbol 82 Button
"stage_form"Symbol 88 MovieClip {opcionesFinales} Frame 41Symbol 87 MovieClip {labuat_fla.Formularioanimado_48}
"stage_posicion"Symbol 107 MovieClip {Reproductor} Frame 1Symbol 91 MovieClip
"btPausa"Symbol 107 MovieClip {Reproductor} Frame 1Symbol 95 Button
"btFin"Symbol 107 MovieClip {Reproductor} Frame 1Symbol 100 Button
"btPlay"Symbol 107 MovieClip {Reproductor} Frame 2Symbol 103 Button
"bt1"Symbol 116 MovieClip {labuat_fla.CreditosA_28} Frame 1Symbol 115 Button
"bt2"Symbol 116 MovieClip {labuat_fla.CreditosA_28} Frame 1Symbol 115 Button
"bt1"Symbol 124 MovieClip {labuat_fla.CreditosB_31} Frame 1Symbol 115 Button
"bt2"Symbol 124 MovieClip {labuat_fla.CreditosB_31} Frame 1Symbol 115 Button
"bt3"Symbol 124 MovieClip {labuat_fla.CreditosB_31} Frame 1Symbol 115 Button
"bCerrar"Symbol 125 MovieClip {labuat_fla.Creditosdesplegado_27} Frame 1Symbol 120 Button
"bCreditos"Symbol 126 MovieClip {creditos} Frame 1Symbol 111 Button
"bCerrar"Symbol 126 MovieClip {creditos} Frame 29Symbol 125 MovieClip {labuat_fla.Creditosdesplegado_27}
"texto"Symbol 159 MovieClip {labuat_fla.Punterodemouseencargando_13} Frame 1Symbol 153 EditableText
"texto2"Symbol 159 MovieClip {labuat_fla.Punterodemouseencargando_13} Frame 23Symbol 158 EditableText
"stage_fondo"Symbol 163 MovieClip {cargando_eng} Frame 1Symbol 137 MovieClip
"entrando"Symbol 163 MovieClip {cargando_eng} Frame 1Symbol 140 MovieClip {labuat_fla.Imagencargando_12}
"porcentaje"Symbol 163 MovieClip {cargando_eng} Frame 1Symbol 141 EditableText
"stage_puntero"Symbol 163 MovieClip {cargando_eng} Frame 1Symbol 159 MovieClip {labuat_fla.Punterodemouseencargando_13}
"stage_fondofijo"Symbol 174 MovieClip {labuat_fla.Fondo_1} Frame 1Symbol 166 MovieClip
"stage_sombraizquierda"Symbol 174 MovieClip {labuat_fla.Fondo_1} Frame 1Symbol 169 MovieClip
"stage_sombraderecha"Symbol 174 MovieClip {labuat_fla.Fondo_1} Frame 1Symbol 172 MovieClip
"stage_brillo"Symbol 174 MovieClip {labuat_fla.Fondo_1} Frame 1Symbol 136 MovieClip
"stage_boton"Symbol 187 MovieClip {labuat_fla.Stagepastilla_42} Frame 1Symbol 186 MovieClip

Special Tags

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

Labels

"Carga site"Frame 1
"Carga media"Frame 37
"Reproduce"Frame 48
"Termina"Frame 70
"Volver"Frame 90
"Entrada"Symbol 88 MovieClip {opcionesFinales} Frame 1
"A formulario"Symbol 88 MovieClip {opcionesFinales} Frame 30
"Salida"Symbol 163 MovieClip {cargando_eng} Frame 18




http://swfchan.com/49/243785/info.shtml
Created: 5/12 -2021 11:07:34 Last modified: 5/12 -2021 11:07:34 Server time: 05/02 -2023 08:27:01