A couple of suggestions.

1. If not already, work with your BitmapData object (fill line etc...)
separately before adding it to your display. Modifying a displayed object
may interfere with rendering causing some lag.
2. The base component class for display does not need to be Image. If you
use UIComponent as your base, with a Bitmap object as a child (added via
actionscript or mxml), you can swap out the child Bitmap instance's
"bitmapData" property.

I've used this for an adjustable equalizer for audio display that refreshes
off the frame rate (default 24 fps) with no problems.

On Fri, Aug 20, 2010 at 8:08 AM, Atlanta Geek <[email protected]> wrote:

> I am using a BitmapData object as a buffer and the way I am displaying
> the data is in an Image object using
>
> beginBitmapFill
> drawRect
> endFill
>
> the only thing in this image is the bitmap data so I thought there
> should be a faster way to copy it.
>
> This image is being updated about 5 times a second and after 2 minutes
> or so it begins to drag and the application is not as responsive.
>
> Does anyone have a suggestion/example code of how to make this faster.
>
> --
> http://www.atlantageek.com
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>


-- 
Darin Kohles
Adobe Certified Developer

Reply via email to