Hi all,
I am currently working on a project where I have to display a field of 3D Sprites (+-10000) using Away3D 3.6. I use MovieclipSprite instead of Sprite3D to catch the mouse events on each objects.
To optimize the performances I use a MaxPolyFilter on the view.
When a new MovieClipSprite is displayed on the 3D view, it appears and disappears many times (flickering effect). My understanding is that Away3D doesn’t know which sprite to display first, based on the Z value I guess.
So I wanted to simply do a nice fade-in of the movieClip inside of the MovieClipSprite. I tried 2 ideas:
1. Create a subclass of MovieClipSprite and override the set visible method, when setting the value to false, simple tween the alpha property and set the visibility to false when the tween is complete.
2. Add a visibleChanged event listener using addOnVisibleChange on each MovieClipSprite.
None of them are working. It seems that Away3D is not setting the visible value when displaying the MovieClipSprite.
Any other ideas / explanations?
I am a bit lost
Thanks in advance,
n:ko