[FB3] Spritesheets to Flex Builder in a swc?
So I imported a few .pngs to my Flash library and set the linkage for them and compiled the .swc
Now when I try to use them from Flex, I get this weird behavior on them.
var bmd:BitmapData = new assets.dudesheet();
Gives a compiler error:
Incorrect number of arguments. Expected 2.
And when I check what dudesheet() wants inside with code completion it shows:
arg0:Number, arg1:Number
Now when I change it to
var bmd:BitmapData = new assets.dudesheet(1,1); or whatever, it works.
Any idea what's going on with this?