Yes, I see a lot of red. What does this mean? How can it be fixed?

--- In [email protected], "Rick Winscot" <[EMAIL PROTECTED]>
wrote:
>
> Right click on the app and show your redraw regions. is there a
solid red
> rectangle around the entire application? If so - the entire stage is
getting
> re-circulated in redraw cycles. If the small swfs/areas are getting
hammered
> then you'll see that as well. 
> 
>  
> 
> Rick Winscot
> 
>  
> 
>  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Josh McDonald
> Sent: Saturday, June 21, 2008 2:51 AM
> To: [email protected]
> Subject: Re: [flexcoders] Flex Efficiency
> 
>  
> 
> It's possible that your background SWFs are doing something that
makes the
> player's filter code nervous, and so either  drop shadow, or the "blur
> background" filter is having to be re-run every frame, which will
own your
> CPU since it's not accelerated (afaik).
> 
> Just an idea, but could be somewhere to start your investigations :)
> 
> -Josh
> 
> On Sat, Jun 21, 2008 at 3:25 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
> 
> The profiler will help you find inefficiencies in your app.
> 
>  
> 
> Loading lots of SWFs is, of course, going to eat resources.
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of kenny14390
> Sent: Friday, June 20, 2008 9:44 PM
> To: [email protected]
> Subject: [flexcoders] Flex Efficiency
> 
>  
> 
> I'm making a simple game in Flex and I'm noticing a lot of performance
> issues. The game is very easy and simple: you have 25 tiles and you
> need to click them one at a time to reveal the prize (or no prize)
> behind them - match three like prizes and win. Getting everything on
> the screen and coding it together wasn't bad, but I'm noticing a
> considerable lack in performance when the game is running.
> 
> To be honest, I have a lot of SWF files in there, and I'm making heavy
> use of the Move transition (usually for each of the 25 tiles to
> animate them). Some of the SWFs are on an infinite loop and those are
> probably eating up a good amount of the resources.
> 
> Another thing that was surprising was the CPU usage eaten up when I
> added a PopUp to the application. The browser page seems to freeze
> while it's open and only after I close the PopUp does the page resume
> its task. I guess I can get away without it, but it was odd how that
> happened.
> 
> Is this common to have such monstrous applications, while using the
> features I mentioned? Is there something wrong with my programming
> instead? If I run the game in Firefox 3, it is using well over 150M of
> memory and 50% of my CPU. When the PopUp is open, that spikes to 95%!
> What can I do to alleviate this stress on the computer?
> 
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>


Reply via email to