Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-14-2008, 02:03 AM   #1
Join Date: Jul 2008
Posts: 52
Default [AS2] Displaying images in a List component

Hi -

I need to be able to display 2 small images, say icon1 & icon2 on the left sidein a List component along with some text on the right in the List.

I'm not sure how you go about doing this.

Aeros is offline   Reply With Quote
Old 09-14-2008, 04:41 PM   #2
Join Date: Jul 2008
Posts: 52

Ok I've figured out how to add an image to the List.

However I neeed to be able to add 2 images side by side, but I can't
figure out how to add the 2nd image.

Also if I need to change an image how do I go back and change it in the List

this is what i have -
ActionScript Code:
myList.addItem({data:"icon1.jpg",label:"myicon",icon:"icon1"}); myList.iconField = "icon";

Aeros is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Targeting/Styling items in list component oskom ActionScript 3.0 3 11-10-2010 05:46 PM
Loading images into a Custom Component ljonny18 Flex 2, 3 & 4 1 11-13-2007 09:31 PM
List Component Flex 2 Beta 3 AS3 Anunnakispirit Flex 2, 3 & 4 5 10-10-2007 04:57 PM
Linking buttons in Flow List component Raynia Components 0 08-28-2007 08:47 PM
how can i know when list component is created/loaded. awa ActionScript 2.0 1 07-10-2006 05:01 AM

All times are GMT. The time now is 05:55 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.