No it's not too big the only 800 x 600 but it only happends when I make the plane object bigger then the image? But at first i draw a sprite as big as the plane.. but even then I still get the error.
On Jun 11, 5:43 pm, jens lofberg <[email protected]> wrote: > Hi > I guess yourBitmapDatais too big (2880 px in flash 9) > > jens > > Le 11/06/2010 11:36, Mech7 a crit : > > > > > I keep getting this error with the moviematerial... > > the strange thing is normally it works but now I try to set the size > > of the plane bigger and everytime this pops up... > > >InvalidBitmapData. > > at flash.display::BitmapData() > > at away3d.materials::MovieMaterial()[D:\_Work\2010\E-Book\ebook_2\src > > \away3d\materials\MovieMaterial.as:169] > > at ebook::Page/initMaterial()[D:\_Work\2010\E-Book\ebook_2\src\ebook > > \Page.as:252] > > at ebook::Page()[D:\_Work\2010\E-Book\ebook_2\src\ebook\Page.as:176] > > at ebook::Book/addPage()[D:\_Work\2010\E-Book\ebook_2\src\ebook > > \Book.as:188] > > at ebook::Book/init()[D:\_Work\2010\E-Book\ebook_2\src\ebook\Book.as: > > 127] > > at flash.events::EventDispatcher/dispatchEventFunction() > > at flash.events::EventDispatcher/dispatchEvent() > > at ebook::Settings/completeHandler()[D:\_Work\2010\E-Book\ebook_2\src > > \ebook\Settings.as:57] > > at flash.events::EventDispatcher/dispatchEventFunction() > > > I saw in a other thread that setting the lock values would help but it > > did not work for me.. > > > this.f_material.lockW = this.width; > > this.f_material.lockH = this.height; > > > Does anybody know what could be going on here ? :)
