home *** CD-ROM | disk | FTP | other *** search
- let2.ds = new flash.filters.DropShadowFilter(5,45,16777215,30,0,0,1,3,false,false,true);
- let2.bl = new flash.filters.BlurFilter(5,5,2);
- let2.destSize = Math.random() * 300;
- let2.destPan = Math.round(Math.random() * 50);
- var dp = 0;
- if(Math.random() < 0.5)
- {
- let2.destPan = - let.destPan;
- }
- let2.onEnterFrame = function()
- {
- this.letter.text = let.letter.text;
- this.bl.blurX = (300 - this._xscale) / 20 + 5;
- this.ds.distance = (this._xscale - 300) / 5;
- dp += (this.destPan - s2.getPan()) / 15;
- s2.setPan(dp);
- if(dp == this.destPan)
- {
- this.destPan = Math.round(Math.random() * 100);
- if(Math.random() < 0.5)
- {
- this.destPan = - this.destPan;
- }
- }
- this.ds.angle = - this._xscale;
- this.bl.blurY = this.bl.blurX;
- this.filters = [this.bl,this.ds];
- this._xscale += (this.destSize - this._xscale) / 5;
- this._yscale = this._xscale;
- if(Math.abs(this.destX - this._x) < 1)
- {
- this.destY = Math.random() * Stage.height;
- this.destX = Math.random() * Stage.width;
- }
- if(Math.abs(this.destSize - this._xscale) < 1)
- {
- this.destSize = Math.random() * 300;
- }
- };
- let.ds = new flash.filters.DropShadowFilter(5,45,16777215,30,0,0,1,3,false,false,false);
- let.bl = new flash.filters.BlurFilter(5,5,3);
- let.destSize = Math.random() * 200;
- let.onEnterFrame = function()
- {
- if(Math.random() < 0.3)
- {
- this.letter.text = "MEET TANJA";
- }
- this.bl.blurX = (300 - this._xscale) / 30 + 2;
- this.ds.distance = (this._xscale - 300) / 5;
- this.ds.angle = this._xscale;
- this.bl.blurY = this.bl.blurX;
- this.filters = [this.bl,this.ds];
- this._xscale += (this.destSize - this._xscale) / 5;
- this._yscale = this._xscale;
- if(Math.abs(this.destX - this._x) < 1)
- {
- this.destY = Math.random() * Stage.height;
- this.destX = Math.random() * Stage.width;
- }
- if(Math.abs(this.destSize - this._xscale) < 1)
- {
- this.destSize = Math.random() * 300;
- }
- };
-