Skip to content

Instantly share code, notes, and snippets.

Donovan Adams - Hydrotik hydrotik

  • HBC Digital | Saks 5th Avenue | Lord & Taylor | The Bay | Gilt | GALERIA Kaufhof
  • New York City
Block or report user

Report or block hydrotik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View QueueLoaderEvent Public Variables
// Event types
public static var ITEM_START : String = "itemStart";
public static var ITEM_PROGRESS : String = "itemProgress";
public static var ITEM_COMPLETE : String = "itemComplete";
public static var ITEM_ERROR : String = "itemError";
public static var ITEM_HTTP_STATUS : String = "itemHTTPStatus";
View Generic Data Loading Example
//Generic Data Loading Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
var _oLoader:QueueLoader = new QueueLoader();
_oLoader.addItem("../queueloader.html", null, {title:"HTML"});
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);
View SWF Timeline Example
//SWF Timeline Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
var _oLoader:QueueLoader = new QueueLoader();
_oLoader.addItem("../flashassets/swf/timeline.swf", this);
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);
View Direct QL Formatted XML Loading Example - AS
//Direct QL Formatted XML Loading Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
var _oLoader:QueueLoader = new QueueLoader();
_oLoader.addItem("../includes/admin/test.xml", null, {title:"XML"});
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);
View Direct QL Formatted XML Loading Example - XML
<queueloader prefix="../">
<item container="this" src="flashassets/swf/externalimages.swf">
<info>
<title><![CDATA[SWF Images]]></title>
<cacheKiller><![CDATA[true]]></cacheKiller>
<drawFrames><![CDATA[true]]></drawFrames>
</info>
</item>
<item container="imageContainer" src="flashassets/images/slideshow/1.jpg">
<info>
View MP3 Loading Example
//MP3 Loading Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
var soundChannel:SoundChannel = new SoundChannel();
var _oLoader:QueueLoader = new QueueLoader();
_oLoader.addItem("../flashassets/mp3/GetDown.mp3", null, {title:"MP3"});
View PCM Wav Loading Example
//PCM Wav Loading Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
var soundChannel:SoundChannel = new SoundChannel();
var _oLoader:QueueLoader = new QueueLoader();
_oLoader.addItem("../flashassets/pcm/loop1.wav", null, {title:"Loop1"});
View Zip Loading Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
var _oLoader:QueueLoader = new QueueLoader();
_oLoader.addItem("../flashassets/zip/assets.zip", null);
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);
_oLoader.addEventListener(QueueLoaderEvent.QUEUE_PROGRESS, onQueueProgress, false, 0, true);
_oLoader.addEventListener(QueueLoaderEvent.QUEUE_COMPLETE, onQueueComplete,false, 0, true);
View QLManager Example
// QLManager Example
import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
import com.hydrotik.queueloader.QLManager;
var _oLoader:QueueLoader = new QueueLoader(false, null, true, "loader1");
_oLoader.addItem("../flashassets/mp3/GetDown.mp3", null, {title:"MP3"});
_oLoader.addItem("../flashassets/swf/externalsounds.swf", this, {title:"SWF"});
You can’t perform that action at this time.