ja...@peck-hill.com
unread,Jul 19, 2012, 9:52:47 AM7/19/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bulkload...@googlegroups.com
Hi I'm using bulkLoader for the first time (so no doubt it's user error here), I have a very simple 'test' class at the moment, which is calling the bulkloader. It's just trying to load a single xml file but as soon as I compile it, I get the following errors.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 29 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 30 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 31 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 32 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 33 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 34 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 35 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 38 1061: Call to a possibly undefined method load through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 64 1119: Access of possibly undefined property content through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 82 1061: Call to a possibly undefined method close through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 95 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 96 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
br\com\stimuli\loading\loadingtypes\ImageItem.as, Line 103 1119: Access of possibly undefined property contentLoaderInfo through a reference with static type Loader.
I hope someone can help me, below is my class that calls it.
package {
import br.com.stimuli.loading.lazyloaders.LazyXMLLoader;
import br.com.stimuli.loading.lazyloaders.LazyBulkLoader;
import br.com.stimuli.loading.*;
import br.com.stimuli.loading.loadingtypes.*;
import br.com.stimuli.loading.BulkProgressEvent;
import flash.events.*;
public class mediaController {
private var bulkLoader:BulkLoader;
public function mediaController(_mediaPkg:Array):void {
bulkLoader = new BulkLoader("Content Loader");
bulkLoader.logLevel = BulkLoader.LOG_INFO;
bulkLoader.add("Triage_Setup.xml");
bulkLoader.addEventListener(BulkLoader.COMPLETE, onAllItemsLoaded);
bulkLoader.addEventListener(BulkLoader.PROGRESS, onAllItemsProgress);
bulkLoader.start();
}
private function onAllItemsProgress(evt : ProgressEvent) : void{
trace("Loaded" , evt.bytesLoaded," of ", evt.bytesTotal);
}
private function onAllItemsLoaded(evt : ProgressEvent) : void{
trace("All items are loaded and ready to consume");
}
}
}