Experts Exchange Flash Demos
by Lee "Thelbane" Fastenau

repeatClickView Experts Exchange questionDownload
I probably misinterpreted the question because I didn't get any feedback about my response. Regardless, I came up with something pretty interesting. It's a custom button handler that simulates repeated clicking when the user holds the mouse button down. Try using really low numbers for the clickdelay.
 
timerClickView Experts Exchange questionDownload
Starts a sound every X frames. Great for simulating a ticking clock, but might have other uses... heartbeat maybe? It's fairly configurable and very easy to use.
 
fpsTestView Experts Exchange questionDownload not available
The 3D routine in this movie is *old* (created in Flash 4), but still works nicely. I pulled it into this example to illustrate a point about the efficiency of bitmaps in certain situations over vector images. Pay close attention to the lag value.
 
randomNumberView Experts Exchange questionDownload
Just a fun way to display random numbers. It vaguely reminds me of the WOPR computer trying to find the code to launch the missiles in the movie Wargames... vaguely. :)
 
ellipseButtonsView Experts Exchange questionDownload
Quite a lot was asked for in this question. I provided a very flexible way to solve one part of the problem: Getting buttons to move in an elliptical pattern. The script is pretty powerful and highly configurable. The ellipse is actually a circle with 3D perspective instead of a manual tween.
 
mouseExitView Experts Exchange questionDownload
This person needed to detect when the mouse exited the SWF area on an HTML page. Normally, when you move your mouse off of a Flash movie, the _xmouse and _ymouse remain "stuck" on the last coordinates located just inside the Flash movie. I simply added an invisible 20-pixel buffer around the "active" area of the top movie. Just don't move your mouse too quickly!
 
preloaderView Experts Exchange questionDownload
Illustrates how to preload a Flash movie using an external preloader. Very useful in Flash 5 if you have Exported movieclips. Exported clips will always load before anything else, so you must externalize the preloader.
 
simpleDrawView Experts Exchange questionDownload
Shows how to draw lines using the mouse in Flash 5. This could have been done a little more elegantly in MX, but I wasn't sure which version of the Flash player the asker was shooting for.
 
runtsNot associated with an EE questionDownload not available
Experimenting with OOP and the registerClass method. I created two custom classes, Pixel and Runt, and gave them methods and properties for interacting with each other. This is just a toy, but its usefulness in interactive games is clear. Visit Macromedia's site for information about the registerClass method in Flash. I also used this helpful post by monolithdd.