I was experimenting to pull my slow-FPS model from Flex to Flash and could see it turn very fastly. So the issue remains...
On Nov 20, 4:32 pm, Jensa <[EMAIL PROTECTED]> wrote: > ok. I took another approach, but I'm still seeing the same reduction > in FPS. I'll try to debug this a little tomorrow as I have to run to > meet a friend now. > > Below you find the way I solved recreated the demo in Flex (using the > same UIComponent trick, but the demo source from SVN): > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute" xmlns:ns1="*" width="800" height="600" > frameRate="60" creationComplete="init()"> > <mx:Script> > <![CDATA[ > import mx.core.UIComponent; > import Advanced_SaltFlatsFerrari; > > private var UIRef:UIComponent; > private var demo:Advanced_SaltFlatsFerrari; > > private function init():void > { > UIRef = new UIComponent(); > > UIRef.addEventListener(Event.ADDED_TO_STAGE,start); > demo = new Advanced_SaltFlatsFerrari(); > UIRef.addChild( demo ); > this.addChild(UIRef); > } > private function start(e:Event):void > { > demo.init(); > } > ]]> > </mx:Script> > </mx:Application>
