# Help Please - Problems with List Component Labels

**URL:** https://forum.kirupa.com/t/help-please-problems-with-list-component-labels/261011
**Category:** flash
**Created:** [May 22, 2008, 2:20am UTC](https://forum.kirupa.com/t/help-please-problems-with-list-component-labels/261011 "2008-05-22T02:20:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![watto\_uk](https://avatars.discourse-cdn.com/v4/letter/w/f08c70/32.png) [@watto\_uk](https://forum.kirupa.com/u/watto_uk)
#### Post date: [May 22, 2008, 2:20am UTC](https://forum.kirupa.com/t/help-please-problems-with-list-component-labels/261011/1 "2008-05-22T02:20:30Z")

</div>

I am working with a list component and for some reason when i try to add labels  
to the list they are not displaying when i run the swf file. The list works as far as loading the videos into the flv player but no labels are displayed in the list.

There are no errors ive checkedthe code and verified it on the Adobe site and its as it should be. I can only think im missing something else somewhere along the lines. Ive included a sample and would be very greatful if anyone could help me out with this.

The list component is in my library. I have the following code

//creates a new instance of the list box  
var vidList:List = new List();  
//sets position of list component  
vidList.x = vid.x + vid.width + 50;  
//sets the size of the list component  
vidList.y = 100;  
vidList.width = 200  
vidList.height = 200;

//this is the code i am using to try and attach the labels  
vidList.addItem({label:“Rhubarb Crumble”, data:“flvs/Rhubarb Crumble.flv”});

Cheers

Liam.
