Hi mister look at this http://tech.groups.yahoo.com/group/flexcoders/message/124722 <http://tech.groups.yahoo.com/group/flexcoders/message/124722>
--- In flexcoders@yahoogroups.com, "itdanny2002" <[EMAIL PROTECTED]> wrote: > > I have below sample code which display > the result of counter. How can I > display the progress by using some > screen refresh function ? > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute"> > <mx:Script> > <![CDATA[ > private function Counter():void{ > for (var i:int;i <400000;i++){ > counter.text = i.toString(); > } > } > ]]> > </mx:Script> > <mx:Button x="37" y="36" label="Button" click="Counter();"/> > <mx:Label id="counter" x="37" y="10" text="Label"/> > > </mx:Application> >