The first step here is to verify that it's really the SWFs that are causing the problem. Can you replace the animated SWFS with static assets (like very simple non-animated SWFs, or even just blank Sprite objects)? Then test and see if the performance is better. If not then it's a Flex problem. If it turns out to really be your SWFs then you're more or less stuck trying to go back and make those SWFS not take up so much CPU. I second Josh's suggestion of checking any filters on your SWFs. Try to make them as simple as possible to test.
Second, what is holding the 25 SWFs that you are moving around? The biggest issue I can see if that if you're using a typical container, then moving one of the SWfs or changing it's size might be triggering an invalidation, which means that for every frame rendered there's a full loop over every item in the display list. Might be worth using a custom component to hold these 25 swfs instead of one of the Flex containers. Also, nobody has addressed the issue of why the CPU would spike after adding a popup with the PopUpManager. I was originally going to say that I thought this was probably due to the PopUpManager adding the blur effect, but if the popup is non-modal then the PopUpManager shouldn't add any blur effect to the app, so it doesn't make any sense to me why that would make the CPU usage spike. Doug On Sat, Jun 21, 2008 at 3:07 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > There are no workarounds. Good design for Flash minimizes use of resources. > The profiler can help you tune things, but if you use lots of SWFs you're > going to pay a price. However, that may not be your main problem, and the > profiler can help you determine that. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Alen Balja > Sent: Saturday, June 21, 2008 3:57 AM > To: [email protected] > Subject: Re: [flexcoders] Flex Efficiency > > > > Alex, do you have any more info on the subject, especially what are the > workarounds? I too am using lots of really tiny and simple external swf > animations and performance is really really bad. If I remember correctly > it's much worse than Flash Player 7. > > > > The profiler will help you find inefficiencies in your app. > > > > Loading lots of SWFs is, of course, going to eat resources. > > > > > >

