Those two mx:Objects were probably placed in an ArrayCollection. Take a
look in the debugger.
-Alex
On 3/23/15, 9:00 AM, "mark goldin" wrote:
>I am working on a combobox that has both icons and text in its dropdown
>section.
>Here is how I do it:
>
>[Embed(source="icon1.png")]
>public var _ico
Will something like this work?
ArrayCollectionIconSourceDataProvider.addItem({icon:imageArray[0]});
where imageArray defined like this:
imageArray.addItem(new Bitmap(bitmapData));
Thanks
On Mon, Mar 23, 2015 at 11:57 AM, Alex Harui wrote:
> Those two mx:Objects were probably placed in an Array
I do know a s:BitmapImage can load files on the fly with its source property
[1]. It supports "The name of a external image file" and " The image location
can be specified via a URL, URLRequest, or file reference". It is limited to
PNG, GIF, or JPG.
[1]
http://help.adobe.com/en_US/FlashPla
My code is a bit simplified. bitmapData is a result of loading an image in
advance.
On Mon, Mar 23, 2015 at 1:00 PM, Kessler CTR Mark J <
mark.kessler@usmc.mil> wrote:
> I do know a s:BitmapImage can load files on the fly with its source
> property [1]. It supports "The name of a external im
ta an object as well.
-Mark
-Original Message-
From: mark goldin [mailto:markzolo...@gmail.com]
Sent: Monday, March 23, 2015 2:04 PM
To: users
Subject: Re: Combobox with icons
My code is a bit simplified. bitmapData is a result of loading an image in
advance.
On Mon, Mar 23, 2015 at 1:
mark goldin [mailto:markzolo...@gmail.com]
> Sent: Monday, March 23, 2015 2:04 PM
> To: users
> Subject: Re: Combobox with icons
>
> My code is a bit simplified. bitmapData is a result of loading an image in
> advance.
>
> On Mon, Mar 23, 2015 at 1:00 PM, Kessler CTR Mark J <