Hi rayYee,

   the power of 2 is mean (power of 2) example
2,4,8,16,32,64,128,256.....(and more number) ,this may help you.

Kapom

On Mon, Mar 7, 2011 at 8:20 AM, rayYee <[email protected]> wrote:

> I set BitmapMaterial.bitmapData=MyLoaderBmp.bitmapData ,
> Away3d4.0 throw a Error :
> "Invalid bitmapData! Must be power of 2 and not exceeding 2048".
>
> I trace my bitmapData.width is 53 & my bitmapData.height is 53.
>
> I found away3d4.0`s source :
> "function isPowerOfTwo(value:int):void{ return value ?((value & -
> value) == value) : false;}".
>
> the bitmapData.width must be 1?




-- 
http://www.kapom.com

Reply via email to