Flint Particle System Forum - ArgumentError: Error #2015: Invalid BitmapData Sat, 25 Dec 2010 18:25:58 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher ArgumentError: Error #2015: Invalid BitmapData http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=994#Comment_994 http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=994#Comment_994 Fri, 04 Dec 2009 07:30:44 +0000 emotse
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 BitmapData http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1001#Comment_1001 http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1001#Comment_1001 Fri, 04 Dec 2009 08:09:19 +0000 Richard ArgumentError: Error #2015: Invalid BitmapData http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1002#Comment_1002 http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1002#Comment_1002 Fri, 04 Dec 2009 09:07:52 +0000 emotse
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 BitmapData http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1003#Comment_1003 http://flintparticles.org/forum/comments.php?DiscussionID=284&Focus=1003#Comment_1003 Fri, 04 Dec 2009 09:38:00 +0000 emotse
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. ]]>