IIRC, because your LibImage extends BitmapData, it needs the 2 parameters required by the BitmapData constructor (width and height).
var formatImg = new LibImage(10, 10); http://www.kirupa.com/forum/showthread.php?p=2113725 -- Eduardo Omine http://blog.omine.net/ http://www.omine.net/ _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders