The maximum number of pixels in both the horizontal and vertical
directions within the BitmapData class is 2880.  It is documented here:

 

http://livedocs.adobe.com/flex/2/langref/flash/display/BitmapData.html

 

Thanks,

Andy

 

_____________________________________

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Monday, April 09, 2007 7:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] X/Y Limit for DisplayObjects?

 

I'm surprised it didn't fail sooner.  2880 is the limit for most things.
After that it is unpredictable.

 

That's why DataGrid and other list classes virtualize their children.

 

Sorry,

-Alex

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Monday, April 09, 2007 4:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] X/Y Limit for DisplayObjects?

 

I find that if I position a DisplayObject (specifically, a sprite)
beyond +/- 8192 it vanishes from the stage (well, it stops rendering)...
I couldn't find any docs that attest to this limit... and it doesn't
seem to matter if I turn on cacheAsBitmap, etc. (besides, the bitmap
limit is 2880). 

Is this a hard limit, or can it be worked around with a proper use of
cacheAsBitmap and scroll rects? Or am I basically going to have to
manage the display list manually? (I'm panning across a big sprite that
has children sporadically placed across it, each one within the bitmap
limits.) 

Thanks,

Troy.

 

Reply via email to