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] [mailto:[email protected]] On Behalf Of wayneposner
Sent: Thursday, September 28, 2006 9:05 AM
To: [email protected]
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, 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.
>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to