Flash Particle Effects

June 19, 2008 · Posted in AS3, Flash · Comment 

Another nice Flash Particle Effects engine – FLINT

MAD VERTICES: Papervision 3D Tutorials with Videos

June 6, 2008 · Posted in Flash · Comment 

Some excellent tutorials over at MADVERTICES: Papervision 3D Tutorials with Videos

Preloading in AS3

April 27, 2008 · Posted in AS3, Flash · Comment 

The process of preloading in AS3 is quite different to AS2. In my AS2 projects I often use a small (<20K) loading progress indicator to preload the larger application SWF. Once the main SWF is completely loaded, I would then replace the preloader content with that of the application.

One easy alternative to this is to add the loaded application content directly to the stage instance of the preloader.

My preloader code:

package  {
    import flash.display.DisplayObject;
    import flash.display.Loader;
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.net.URLRequest;

    /**
    * ...
    * @author Zu
    */
    public class Preloader extends Sprite {
        private var loader:Loader;

        public function Preloader() {
            loader = new Loader();
            loader.contentLoaderInfo.addEventListener( Event.INIT, onLoadInit );
            loader.contentLoaderInfo.addEventListener( ProgressEvent.PROGRESS, onLoadProgress );
            //The name of the application file to be loaded is passed in through flashvars or query string.
            //Assuming that I've named my flashvar as FILE
            var sAppFile:String = loaderInfo.parameters["FILE"];
            loader.load( new URLRequest(sAppFile));
        }

        private function onLoadProgress(e:ProgressEvent):void {
            //simple trace to see the loading progress.
            //code some sort of visual indicator of progress
            trace( e.bytesLoaded );
        }

        private function onLoadInit(e:Event):void {
            //add the loaded application to the stage
            stage.addChild(loader);
	    //remove the preloader
	    this.parent.removeChild(this);
        }

    }

}

This can easily be modified to preload multiple files.

Creating ActionScript 3.0 components in Flash

April 18, 2008 · Posted in AS3, Flash · Comment 

Adobe – Developer Center : Creating ActionScript 3.0 components in Flash

Modest Maps

April 2, 2008 · Posted in AS2, AS3, Flash · Comment 

Modest Maps

This seems like a great opensource mapping/tilling  engine for use with NASA, Google maps and other map providers.

The Flash Blog » New Video Tutorial on Binary Socket Fundamentals

April 2, 2008 · Posted in AS3, Flash · Comment 

The Flash Blog » on Binary Socket Fundamentals

Lee has added this really useful video tutorial. This will come in very handy, no doubt!

Papervision3D: Part 1- Foundation and 3D Object Basics – InsideRIA

April 1, 2008 · Posted in AS3, Flash, Tutorials · Comment 

Papervision3D: Part 1- Foundation and 3D Object Basics propecia prescription – InsideRIA

Excellent intro to get you started with the latest PV3D engine.

Yahoo! Maps goes Flash!

March 14, 2008 · Posted in AS3, Flash · Comment 

Yahoo! Developer Network – Flash Developer Center – Yahoo! Maps AS3 Component

Actionscript Classes

March 14, 2008 · Posted in AS2, AS3, Flash, Stock and assets · Comment 

Actionscript Classes

Good place to search for various AS classes/frameworks/APIs.

GreenSock » TweenLite (AS2) – A Lightweight (3k) and FAST Tweening Engine

March 13, 2008 · Posted in AS2, AS3, Flash · Comment 

GreenSock » TweenLite (AS2) – A Lightweight (3k) and FAST Tweening Engine

This is a great and possibly the smaller tweener package yet – thanks for the excellent work, Jack!

This can also be used with Papervision3D.

Has all the features that I would need for 90% of my projects without having to use Fuse etc. Will certainly give it a good try with my next project.

There’s also a AS3 version available!

« Previous PageNext Page »