Scribbles III
The Flash
The Script
function DrawBox(sName,fc,bc,w,h,x,y,dpth,opc,speed){ ref = _root.createEmptyMovieClip(sName,dpth); ref.lineStyle(0,0xFFFFFF,100); ref.moveTo(x,y); ref.lineStyle(0,bc,opc); ref.beginFill(fc,opc); ref.lineTo(x+w,y); ref.lineTo(x+w,y+h); ref.lineTo(x,y+h); ref.lineTo(x,y); ref.endfill(); ref.onEnterFrame = function(){ this._X -= _root.randomX; this._X *= speed; this._X += _root.randomX; this._Y -= _root.randomY; this._Y *= speed; this._Y += _root.randomY; if(xxx>24){setStage()} }; } function setStage(){ xxx=1; randomX = random(stage.width); randomY = random(stage.height); } onLoad(){ DrawBox("box",0x666666,0x000000,5,5,0,0,25,50,0.9) ; } onEnterFrame(){ xxx++; if(xxx>48){setStage()} _root.lineStyle(0,0x333333,25); _root.lineTo(box._X+2.5,box._Y+2.5); }
The Download
Download swish file
Comments
Comments Disabled For Now
Name:
URL:
Comments:
Chicago Web Design
Posts
Latest
Advice (5)
API (2)
ASP.NET (12)
Blogging (2)
Browsers (5)
Classic ASP (1)
Design (1)
Ecommerce (3)
GDI+ (7)
Handy Stuff (5)
IIS (1)
Misc (8)
Money (8)
Opinion (8)
Side Projects (2)
Swish (12)
VBS (3)
LATEST POSTS
Long Overdue Update
Reading Various Files into Datatable
Some quick ways to access common data files
More Handy .NET
Dont say I never gave you anything.
Viewstate
bad developer, bad.
Animation != Application
Frame-based illiteration engulfs world. Developers worldwide cry.
ADS
MOST POPULAR
Multiple IEs in Windows
Firefox Vs. The World
Who Is Xperya?
ActionScript Form Fields
Quick Watermark
IE 7 beta 2 standalone
IP Address Tool
Chicago Web Design
Free Text Messaging
Dual Monitor Wallpapers
Tattoo Fonts