I think I got BulkLoader to work...
example:
function bulkLoad(){
textureLoader = new BulkLoader("main-site");
textureLoader.logLevel = BulkLoader.LOG_INFO;
textureLoader.add("http://example.url.com/model/images/Plane1.jpg");
textureLoader.add("http://example.url.com/model/images/Plane2.jpg");
textureLoader.add("http://example.url.com/model/images/Plane3.jpg");
textureLoader.addEventListener(BulkLoader.COMPLETE, onAllItemsLoaded);
textureLoader.addEventListener(BulkLoader.PROGRESS,
onAllItemsProgress);
textureLoader.start();
}
public function onAllItemsProgress(evt : BulkProgressEvent) : void{
trace(evt.loadingStatus());
}
public function onAllItemsLoaded(evt : Event) : void{
_tree = BSPTree(AWData.parse(new BSPFile(), {customPath:"http://
example.url.com/model/images/"}));
_view.scene.addChild(_tree);
}
That worked for me:)
Regards,
MG
On 24 Paź, 13:47, John Wilson <[email protected]> wrote:
> Hi MG,
>
> Yes, I read your post about using MouseEvent3D and you seem to be
> right. I have also found that 3.6.0 causes problems when one tries
> to rotate a cube added to the BSP Tree at runtime (in my case to open
> a door). Two steps forward one step back, I suppose. Still, I think
> the BSP/PVS classes are so extraordinary that I can live with the odd
> glitch, and with luck they will be resolved before long.
>
> Regards,
>
> John Wilson
>
> On Oct 24, 11:50 am, macgor <[email protected]> wrote:
>
> > Sorry I didn't check this mysealf.. but in few days I will, cause also
> > need that.
> > I will post the solution when I find.
> > btw. have You
> > readhttp://groups.google.com/group/away3d-dev/t/df170fee95580fb0
> > ??
>
> > MG