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...
Invalid BitmapData.
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 ? :)