John Kirby wrote:
Ok great must of missed that. I looked at DateFormatter and I couldn't figure how to take just seconds and convert it to the string (00:00:00). If there is a simpler way ... someone please show me. <mx:DateFormatter id="playHeadTimeFormat" formatString="NN:SS"/> private function updatePlayHead(event:TimerEvent):void { playHeadTime.setMinutes(0,ns.time,0); preloadBar.playHeadTime.text = playHeadTimeFormat.format(playHeadTime).toString(); } this is what i have, it seems to do funky stuff with ram, u can monitor that with the System.totelMemory setting, im not sure if it will show hours. statusBar.statsMemoryUsed.text = Math.round(flash.system.System.totalMemory / 1000000).toString(); |
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
