this function adding items to view3D
public function addItemsToRight(data:Object):void
{
        for(var i:int=0;i<data.length;i++)
        {
                var wi:WallItem = new WallItem(data[i]);
                wi.load();
                _wallItems.push(wi);
                _view.scene.addChild(wi);
                setPosition(_endIndex);
                _endIndex++;
                width=wi.x+wi.width
        }
}

WallItem.as
http://pastie.org/private/hblezcm34sqj6g5mcinvwq


On Apr 25, 4:19 pm, Jon Bradley <[email protected]> wrote:
> Not sure... would help if you shared relevant code?
>
> On Apr 24, 2011, at 10:57 AM, Georgi Gevorgyan wrote:
>
>
>
>
>
>
>
> > hi.
> > I'm making movement like in cooliris. and I have got a problem. here
> > it is:http://flash.egern.net/gallerybroomstcik
> > can someone tell me why frame rate dropes down when you're going
> > right ? but it happens only at startup, after going full right all
> > thiings working smooth.

Reply via email to