Category Archives: Demos w/ Source

Organic Code Drawing API Experiments

A small collection of classes for drawing irregular spirals, waves and circles This is SineMonger, which instantiates a sequence of sine waves to produce a more complex visual pattern.

Posted in Demos w/ Source | Leave a comment

Loading External SWFs

Sometimes it is handy to work on parts of your project as separate swf files and have a mother swf that loads the child swfs. It is a bit of overkill in this example to be loading the screen content as a separate swf but I think you can see where this is going. Once [...]

Posted in Demos w/ Source | Tagged , , | 1 Comment

AS3 String/Chain Physics

Here is the source code for making physics strings like in the top banner.  The key to this example is a class I wrote called ApeChain which handles the creation and behaviour of a physics chain. This class is an extension of APE physics engine.  In this example only one string is created by instantiating [...]

Posted in Demos w/ Source | Tagged , , , , | Leave a comment

Another Audio Visualization

This example modifies the properties of existing movieclips rather than creating new graphics ground up like in the last audio visualization example. The audio file (which lives in the library) has mostly low frequency sounds, so the movieclips are setup to react only to these low sounds.

Posted in Demos w/ Source | Tagged , | Leave a comment

Flash Video Players

We took a look at how to get videos to play in flash in the post called Flash Video on the Web. However this post has resources for when you need more complex video playback features such as playlists, volume control, and customized interfaces.

Also posted in Resources | Tagged , , | Leave a comment

As2 Dynamic Objects

For all you as2′ers out there, this is an example of generating animated movieclips from the library. Here is a copy of the code. It can all go on frame 1: var numOfCircles = 25; var circleSpeed = 2;   for (var i= 0; i < numOfCircles; i++){ // loop through each circle   //this.createEmptyMovieClip("mc_allGraphics", [...]

Posted in Demos w/ Source | Tagged , | 2 Comments