Section 1
//gggggg_3 (webcam_fla.gggggg_3)
package webcam_fla {
import flash.display.*;
public dynamic class gggggg_3 extends MovieClip {
public var wav:MovieClip;
}
}//package webcam_fla
Section 2
//MainTimeline (webcam_fla.MainTimeline)
package webcam_fla {
import flash.events.*;
import flash.display.*;
import flash.media.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var loadPerc:Number;
public var shrink:Boolean;
public var camera:Camera;
public var sqrt;
public var log;
public var hi1:Number;
public var stag:BitmapData;
public var hi2:Number;
public var j:int;
public var arr:Array;
public var n:int;
public var abs;
public var bmp:Bitmap;
public var wi1:Number;
public var wi2:Number;
public var i:int;
public var base:BitmapData;
public var explode:Boolean;
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function uexpl(_arg1:MouseEvent){
explode = false;
}
function frame1(){
stop();
base = new BitmapData(160, 120, false);
stag = new BitmapData(stage.stageWidth, stage.stageHeight, true, 2434861);
stage.scaleMode = StageScaleMode.NO_SCALE;
bmp = new Bitmap(stag);
addChild(bmp);
camera = Camera.getCamera();
log = new Video(160, 120);
log.attachCamera(camera);
base.draw(log);
abs = Math.abs;
sqrt = Math.sqrt;
arr = new Array();
loadPerc = new Number(0);
shrink = false;
wi1 = 50;
hi1 = 50;
wi2 = ((stage.stageWidth - 100) / 2);
hi2 = ((stage.stageHeight - 100) / 2);
i = 0;
while (i < 160) {
j = 0;
while (j < 120) {
arr.push(new Array(0, 0, 0, 0, 0));
n = (arr.length - 1);
arr[n][0] = base.getPixel32(i, j);
arr[n][1] = new Number(((i * 4) + wi1));
arr[n][2] = new Number(((j * 4) + hi1));
arr[n][3] = ((i * 4) + wi1);
arr[n][4] = ((j * 4) + hi1);
arr[n][5] = 0;
arr[n][6] = 0;
arr[n][7] = i;
arr[n][8] = j;
j++;
};
i++;
};
explode = false;
addEventListener(Event.ENTER_FRAME, update2, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_DOWN, expl, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, uexpl, false, 0, true);
}
public function update2(_arg1:Event){
var _local2:Boolean;
var _local3:int;
var _local4:Number;
base.draw(log);
_local2 = false;
stag.colorTransform(new Rectangle(0, 0, stage.stageWidth, stage.stageHeight), new ColorTransform(1, 1, 1, 0.9, 0, 0, 0, 0));
_local3 = 0;
while (_local3 < arr.length) {
arr[_local3][0] = base.getPixel32(arr[_local3][7], arr[_local3][8]);
if (!shrink){
arr[_local3][5] = (arr[_local3][5] + ((arr[_local3][1] - arr[_local3][3]) / 50));
arr[_local3][6] = (arr[_local3][6] + ((arr[_local3][2] - arr[_local3][4]) / 50));
_local4 = sqrt((((arr[_local3][3] - mouseX) * (arr[_local3][3] - mouseX)) + ((arr[_local3][4] - mouseY) * (arr[_local3][4] - mouseY))));
if (explode){
arr[_local3][5] = (arr[_local3][5] + ((450 * (arr[_local3][3] - mouseX)) / ((_local4 * _local4) + 30)));
arr[_local3][6] = (arr[_local3][6] + ((450 * (arr[_local3][4] - mouseY)) / ((_local4 * _local4) + 30)));
} else {
arr[_local3][5] = (arr[_local3][5] + ((90 * (arr[_local3][3] - mouseX)) / ((_local4 * _local4) + 30)));
arr[_local3][6] = (arr[_local3][6] + ((90 * (arr[_local3][4] - mouseY)) / ((_local4 * _local4) + 30)));
};
} else {
arr[_local3][3] = (arr[_local3][3] + (((((arr[_local3][1] - wi1) / 4) + wi2) - arr[_local3][3]) / 10));
arr[_local3][4] = (arr[_local3][4] + (((((arr[_local3][2] - hi1) / 4) + hi2) - arr[_local3][4]) / 10));
arr[_local3][5] = 0;
arr[_local3][6] = 0;
};
arr[_local3][5] = (arr[_local3][5] * 0.95);
arr[_local3][6] = (arr[_local3][6] * 0.95);
if (arr[_local3][5] > 50){
arr[_local3][5] = 50;
};
if (arr[_local3][5] < -50){
arr[_local3][5] = -50;
};
if (arr[_local3][6] > 50){
arr[_local3][6] = 50;
};
if (arr[_local3][6] < -50){
arr[_local3][6] = -50;
};
arr[_local3][3] = (arr[_local3][3] + arr[_local3][5]);
arr[_local3][4] = (arr[_local3][4] + arr[_local3][6]);
stag.fillRect(new Rectangle(arr[_local3][3], arr[_local3][4], 2, 2), arr[_local3][0]);
_local3++;
};
bmp.bitmapData = stag;
}
public function expl(_arg1:MouseEvent){
explode = true;
}
}
}//package webcam_fla
Section 3
//logo (logo)
package {
import flash.display.*;
public dynamic class logo extends MovieClip {
public var wav:MovieClip;
}
}//package