Flint Particle System Forum - ArgumentError: Error #2015: Invalid BitmapData2010-12-26T21:04:00+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
ArgumentError: Error #2015: Invalid BitmapDatahttp://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=994#Comment_9942009-12-04T07:30:44+00:002010-12-26T21:04:00+00:00emotsehttp://flintparticles.org/forum/account.php?u=282
So, I have a class which extends Sprite that contains a 2d emitter and a pixel renderer masked by a text field. The class works fine when I run it in its own swf, but I'd like to be able to import ...
Unfortunately I can't paste the code, but I figured I'd check to see if this rings a bell with anyone.]]>
ArgumentError: Error #2015: Invalid BitmapDatahttp://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1001#Comment_10012009-12-04T08:09:19+00:002010-12-26T21:04:00+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
It'll be hard to help without seeing some code. Can you say where the error occurs? i.e. is it in the PixelRenderer (what line?) in the Papervision3D code (what class and line?) or in your custom ...
ArgumentError: Error #2015: Invalid BitmapDatahttp://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1002#Comment_10022009-12-04T09:07:52+00:002009-12-04T09:16:19+00:00emotsehttp://flintparticles.org/forum/account.php?u=282
Hey, thanks for the quick reply!
I don't know why I didn't paste this originally. :3
ArgumentError: Error #2015: Invalid BitmapData
at flash.display::BitmapData()
at ...
I don't know why I didn't paste this originally. :3
ArgumentError: Error #2015: Invalid BitmapData at flash.display::BitmapData() at org.flintparticles.twoD.renderers::BitmapRenderer/createBitmap()[***/org/flintparticles/twoD/renderers/BitmapRenderer.as:263] at org.flintparticles.twoD.renderers::BitmapRenderer()[***/org/flintparticles/twoD/renderers/BitmapRenderer.as:128] at org.flintparticles.twoD.renderers::PixelRenderer()[***/org/flintparticles/twoD/renderers/PixelRenderer.as:65]
at ParticleText/particleFill()[***/ParticleText.as:135] ----> this is the line creating the renderer: var renderer:PixelRenderer = new PixelRenderer( new Rectangle( 0, 0, _width, _height ) );
at ParticleText/createTextField()[***/ParticleText.as:108] ----> this is just a call to the function containing the Flint code at ParticleText()[***/ParticleText.as:65] ----> ditto at main()[***/main.as:42] ----> ditto
So it looks like it's some issue with the canvas dimensions? The class's dimensions are set by default in the constructor to 100x100.]]>
ArgumentError: Error #2015: Invalid BitmapDatahttp://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1003#Comment_10032009-12-04T09:38:00+00:002009-12-04T09:39:21+00:00emotsehttp://flintparticles.org/forum/account.php?u=282
Yeah, it was a typo.
Very embarrassing, I should probably go home now and get some sleep.
Thanks again for your help though, this is awesome work you're doing.
Very embarrassing, I should probably go home now and get some sleep.
Thanks again for your help though, this is awesome work you're doing.]]>