Embedded views : Problem with AssetEvent.ASSET_COMPLETE

Software: Away3D 4.x

aeki, Member
Posted: 13 November 2012 07:38 PM   Total Posts: 73

Hi there,

I have a problem when loading models with embedded wiews3D

I have a custom class, myCustomView3D, extending the away3d.containers.View3D class and which itself contains a view3D property

public class myCustomView3D_left extends away3d.containers.View3D
 {
              
public var anOtherView3D View3D

 

I use AssetLibrary to load my models, i have 2 listeners (one for each view) to the AssetEvent.ASSET_COMPLETE event.

the problem is that i cannot control the triggering order of theses listeners, and hence my models are mix between the 2 views.

How can i ensure that a the loading of a model will show up in the correct view3D?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X