Re: [Flashcoders] Re: showing code progress with progress bar

2008-11-24 Thread Christoffer Enedahl
You'll have to make your own threading code. ie this var processCursor = 0; var processLength = 1; //example who many lines to parse function onEnterFrame(){ if( processCursor < processLength){ processLittlePiece(); updateProgressBar(); }else{ //go to complete fr

Re: [Flashcoders] Re: showing code progress with progress bar

2008-11-24 Thread Hans Wichman
wont work On Mon, Nov 24, 2008 at 6:36 PM, Latcho <[EMAIL PROTECTED]> wrote: > what about a functioncall every 100th loop that has to return fake data (a > true or false or anything else) to the loop? > Within that function you update the display progress > Latcho > > > Mac Angell wrote: > >> Yea

Re: [Flashcoders] Re: showing code progress with progress bar

2008-11-24 Thread Latcho
what about a functioncall every 100th loop that has to return fake data (a true or false or anything else) to the loop? Within that function you update the display progress Latcho Mac Angell wrote: Yeah, I actually do have a huge parse that I want to show progress on, but using ENTER_FRAME just

[Flashcoders] Re: showing code progress with progress bar

2008-11-24 Thread Mac Angell
Yeah, I actually do have a huge parse that I want to show progress on, but using ENTER_FRAME just seems like a hack. So I guess the answer to my question is "no". Thanks everyone for the ideas! > Yikes! I don't think he actually wants the loop to take any longer than > necessary. I'm assumi