BitmapData.loadBitmap method

It’s a static method, not an instance method. I didn’t realized it until today.

So the way it should be used is as follows:

var bd:BitmapData = BitmapData.loadBitmap(linkageid);

Although the sample of loadBitmap method shows in the reference, there is no mentioning about a static method.

Comment are closed.