My favorites | Sign in
Project Logo
                
Show all Featured wiki pages:
QueueLoaderGuide
People details
Project owners:
  dono...@hydrotik.com
Project committers:
justinlevi, justgooddesign, mosesoak

Description QueueLoader is an actionscript library for sequential asset loading and monitoring. QueueLoader is designed to be used with Actionscript 3.0 and has become an open source project. If you are interested in contributing please contact the project leader.

MAJOR UPDATE!

QueueLoader 3.1.0 now has a number of dependancies. Only the QueueLoader specific source can be found on the SVN as well as the Download Section. Click the link below to download the complete source with example files and assets to get up and running. Also a comprehensive list of example source code can be found as well.

QueueLoader 3.1.0 Source and Example Files

Class Documentation

Wiki Info

Current Features:

Example:

// Most Basic Example

import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;

var _oLoader:QueueLoader = new QueueLoader();

var img:Sprite = new Sprite();
img.name = "image_1";
img.x = 20;
img.y = 20;
img.scaleX = img.scaleY = .075;
addChild(img);

_oLoader.addItem("../flashassets/images/slideshow/1.jpg", img);

_oLoader.addEventListener(QueueLoaderEvent.QUEUE_PROGRESS, onQueueProgress, false, 0, true);
_oLoader.addEventListener(QueueLoaderEvent.QUEUE_COMPLETE, onQueueComplete,false, 0, true);

_oLoader.execute();

function onQueueProgress(event:QueueLoaderEvent):void {
	trace("\t>>onQueueProgress: "+event.queuepercentage);
}

function onQueueComplete(event:QueueLoaderEvent):void {
	trace("** "+event.type);
}








Hosted by Google Code