I’ve got a project that is running on mac and neko on the right, but the bitmapData does not appear properly in the Android version.
I embed/link it:
<assets path="Assets" rename="assets" exclude="openfl.svg" embed="true" />
and use it:
var bd = Assets.getBitmapData("assets/PlanetCute/BrownBlock.png");
Any obvious problem?
The black line is from the following (to make sure it’s drawing at all):
graphics.lineStyle( 1 , 1 );
graphics.lineTo(300,300);
(I’ve tried some other xml variations but they’ve just made the android version not display anything.)
Oh, and I get a whole lot of these errors (I’m creating 6x4 bitmaps filled with the same bitmapdata):
E/OMXNodeInstance( 963): getParameter(100663297) ERROR: 0x8000101a
E/OMXNodeInstance( 963): getParameter(100663311) ERROR: 0x8000101a
E/OMXNodeInstance( 963): getParameter(100663297) ERROR: 0x8000101a
E/OMXNodeInstance( 963): getParameter(100663311) ERROR: 0x8000101a
E/OMXNodeInstance( 963): getParameter(100663297) ERROR: 0x8000101a
E/OMXNodeInstance( 963): getParameter(100663311) ERROR: 0x8000101a
E/OMXNodeInstance( 963): getParameter(100663297) ERROR: 0x8000101a
...