This has always worked in the past, so not sure whether there's a bug
in the render of Sprite3Ds at the moment?

I've got an Vector of snowflakes which is actually a lot of sprite3Ds.

                        for(var i:int = 0; i < snowflakes.length; i++)
                        {
                                var sn :Sprite3D = snowflakes[i];
                                sn.y -=10;
                                if(sn.y < 0)
                                {
                                        sn.y = 300;
                                }
                        }
                        trace(snowflakes[i].y);

                        view.render();

Funny thing is, the trace works, but the sprite3Ds are not updating in
the view. And when they get less than zero, they jump to 300, and stay
there.

Any idea what's going on there? It's a very basic thing that I've
tried the whole afternoon to get round(and I've done this loads of
times before!) but it's not working.

Cheers,

Kevin.


Reply via email to