Re: [flexcoders] Why is my preloader slow and jumpy?
On Tuesday 21 Apr 2009, Alex Harui wrote: There is no API for forcing the user to watch a preloader animation. You might be able to do it by blocking certain events and dispatching them later, but IMHO, a good preloader doesn't need to be watched to completion. Indeed. You could achieve the same thing with a ViewStack or using States, but is a 'splash screen' going to be a good user experience ? -- Helping to preemptively transform principle-centered virtual killer market-growth as part of the IT team of the year, '09 and '08 Tom Chiverton Developer Tel: +44 0161 618 5032 Fax: +44 0161 618 5099 tom.chiver...@halliwells.com 3 Hardman Square, Manchester, M3 3EB www.Halliwells.com 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 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. 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 2500. For more information about Halliwells LLP visit www.Halliwells.com.
[flexcoders] Why is my preloader slow and jumpy?
So I'm trying to do a simple preloader for my application. I'm going the implements IPreloaderDisplay route. I have an intro animation for my preloader (it simply tweens onto the stage usinging TweenLite). After the intro animation completes, the progress bar does it's job and then shows the app. The problem I run into is when the intro animation is playing it is real jumpy. Sometimes all I end up seeing is two key frames of the animation. It is supposed to play for 1 sec. Here is my base preloader class: http://pastie.org/453038 And here is the main preloader class that handles the animation and such: http://pastie.org/453041 I'm assuming that the memory Flash/Flex is using is bogging down the machine, so the tween does not render smoothly. Is there a way to delay the start of the rest of the application loading until the intro animation has finished? Best, Adam Duro
RE: [flexcoders] Why is my preloader slow and jumpy?
There is no API for forcing the user to watch a preloader animation. You might be able to do it by blocking certain events and dispatching them later, but IMHO, a good preloader doesn't need to be watched to completion. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of adam.duro Sent: Monday, April 20, 2009 7:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Why is my preloader slow and jumpy? So I'm trying to do a simple preloader for my application. I'm going the implements IPreloaderDisplay route. I have an intro animation for my preloader (it simply tweens onto the stage usinging TweenLite). After the intro animation completes, the progress bar does it's job and then shows the app. The problem I run into is when the intro animation is playing it is real jumpy. Sometimes all I end up seeing is two key frames of the animation. It is supposed to play for 1 sec. Here is my base preloader class: http://pastie.org/453038 And here is the main preloader class that handles the animation and such: http://pastie.org/453041 I'm assuming that the memory Flash/Flex is using is bogging down the machine, so the tween does not render smoothly. Is there a way to delay the start of the rest of the application loading until the intro animation has finished? Best, Adam Duro