This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Multiple Items and Event Monitoring Example | |
import com.hydrotik.queueloader.QueueLoader; | |
import com.hydrotik.queueloader.QueueLoaderEvent; | |
var imageContainer:Sprite = new Sprite(); | |
addChild(imageContainer); | |
imageContainer.x = imageContainer.y = 25; | |
var _oLoader:QueueLoader = new QueueLoader(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bitmap Smoothing and Cache Killing 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Calling a SWF's Library Class References - Application Domain Example | |
import com.hydrotik.queueloader.QueueLoader; | |
import com.hydrotik.queueloader.QueueLoaderEvent; | |
var addedDefinitions:LoaderContext = new LoaderContext(); | |
addedDefinitions.applicationDomain = ApplicationDomain.currentDomain; | |
var _oLoader:QueueLoader = new QueueLoader(false, addedDefinitions, true, "testQueue"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Queue Disposing | |
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo '<?xml version="1.0" encoding="iso-8859-1"?> | |
<test | |
css="test.css" | |
> | |
<!-- | |
Fonts: | |
--> | |
<config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Manually Setting File Type/URL Variable 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Drawing a SWF's Frames to BitmapData Array Example | |
import com.hydrotik.queueloader.QueueLoader; | |
import com.hydrotik.queueloader.QueueLoaderEvent; | |
var _oLoader:QueueLoader = new QueueLoader(); | |
_oLoader.addItem("../flashassets/swf/externalimages.swf", null, {title:"SWF Images", drawFrames:true}); | |
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ignoring of Errors/Error Handling Example | |
import com.hydrotik.queueloader.QueueLoader; | |
import com.hydrotik.queueloader.QueueLoaderEvent; | |
var _oLoader:QueueLoader = new QueueLoader(true); //<- true arg sets ignore errors | |
var img:Sprite = new Sprite(); | |
img.x = 20; | |
img.y = 20; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stop and Resume Example | |
import com.hydrotik.queueloader.QueueLoader; | |
import com.hydrotik.queueloader.QueueLoaderEvent; | |
var _oLoader:QueueLoader = new QueueLoader(true); //<- true arg sets ignore errors | |
var img:Sprite = new Sprite(); | |
img.x = 20; | |
img.y = 20; |
OlderNewer