In my project i used image array with 16+16 32+32 48+48 128+128 different size of image for system tray icon but i put on bitmes then shows
Error #2005: Parameter 0 is of the incorrect type. Should be type BitmapDat.
public var imageURLs:Array = [‘icon/toy.png’,’toy32.png’,’TOY48.png’,’joy128.png’];
NativeApplication.nativeApplication.icon.bitmaps = new Array(imageURLs);
What did i wrong code . how do store image to bitmaps array ?
You should instead use the
BitmapDataclass. Read more aboutBitmapandBitmapDataclasses here.Here’s a tutorial on Flex taskbar icons.