I've also tried a using a dispatchevent to a callLater
which calls
my recursive function. Still no progress bar until the recursive
function completes. This isn't the first issue I've had with the
callLater function either--it seems there may be some sort of bug
with how it actually executes because for me, it always executes
immediately after I call it.
Anyway, doing what you suggest--using a break in the code--if my
dispatchEvent (on Click) displays my ProgressBar, theres a break in
the code. I then had it set up so that the ProgressBar would fire a
call for the CreationComplete event to call my rescursion. So
there's two steps before the recursion gets called and still no
progress bar.
I'd be more than happy to send you the code, because something
definitely isn't right.
Wayne
--- In [EMAIL PROTECTED]ups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> You really need to break your function up into multiple calls so
that a
> frame can draw in between. There is no concept of forcing the UI
to
> draw, your AS code has to exit. Look into writing your function
so that
> you can call it in phases using something like a timer or
callLater.
>
>
>
> Matt
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of wayneposner
> Sent: Thursday, September 28, 2006 9:05 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: issue with progress bar loader becoming
stuck
>
>
>
> Is there a method or some call to use that forces the UI to
> refresh. I actaully tried staging the call to my recursive
function
> so that it wouldn't get called until three events later--
> creationComplete dispatched to a render event which then
dispatched
> to my event which called the recursion. Still no progress bar.
>
> Thanks,
> Wayne
>
> --- In [EMAIL PROTECTED]ups.com
<mailto:flexcoders%
40yahoogroups.com>
> , Tom Chiverton <tom.chiverton@>
> wrote:
> >
> > On Thursday 28 September 2006 14:09, Mark Hawley wrote:
> > > Flash is single-threaded. You're not going to ever get screen
> refreshes
> > > during a function's execution.
> >
> > Sometimes the internal model isn't even updated during execution.
> >
> > --
> > Tom Chiverton
> > Helping to globally foster B2B clusters
> >
> > ****************************************************
> >
> > This email is sent for and on behalf of Halliwells LLP.
> >
> > Halliwells LLP is a limited liability partnership registered in
> England and Wales under
registered number OC307980 whose
registered
> office address is at St James's Court Brown Street Manchester M2
> 2JF. A list of members is available for inspection at the
> registered office. Any reference to a partner in relation to
> Halliwells LLP means a member of Halliwells LLP. Regulated by the
> Law Society.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee named
> above and may be confidential or legally privileged. If you are
not
> the addressee you must not read it and must not use any
information
> contained in nor copy it nor inform any person other than
Halliwells
> LLP or the addressee of its existence or contents. If you have
> received this email in error please delete it and notify
Halliwells
> LLP IT Department on 0870 365 8008.
> >
> > For more information about Halliwells LLP visit
www.halliwells.com.
> >
>