When checking out the activity panel in Safari, I noticed that the LoaderMax.append() functions seems to cause the browser to attempt to load things twice. Below is the test code that I'm using.
As you can see in the image, things appear to be loading, canceled and loaded again. Is the correct? I ask because I have more complex code that seems to load things fine in Safari and Firefox... but in Chrome the images are not loading correctly and I'm trying to figure out why this is occurring.
package {
import flash.display.*;
import com.greensock.loading.*;
import com.greensock.loading.display.*;
import com.greensock.events.LoaderEvent;
import flash.events.*;
public class Test2 extends Sprite {
var queue:LoaderMax;
var queue2:LoaderMax;
public function Test2() {
LoaderMax.activate([imageLoader, SWFLoader, DataLoader, VideoLoader]);
queue = new LoaderMax({name:"mainQueue", onComplete:loadOthers});
queue.append( new XMLLoader("webAssets.xml", {name:"xmlDoc"}) );
queue.load();
}
public function loadOthers(e){
trace("loading others");
queue.getLoader("ingels_gallery").load();
}
}
}