A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: altering list box lines

  1. #1
    Senior Member
    Join Date
    Sep 2006
    Posts
    125

    altering list box lines

    Hi


    I am using a listbox and have worked out how to alter the format of the text. However, how do i:

    • make the black lines between each item a different colour
    • alter the height of each item - I thought that by making the font bigger, and the leading this would force the list item deeper - but it didn't work



    Thanks in advance



    E

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You change the height this way:

    myList.rowHeight = 50;

    here you find how to skin components.

    http://flashscript.biz/flblogger/?cat=5
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member
    Join Date
    Sep 2006
    Posts
    125
    thanks for the reply. Very helpful. Using your artilce I have made some good pregress - but I have hit another problem.

    I have to have a combo box and a list component. The list element for the combox box picks up the same styles that the list component has - and I need them to be different.

    Is there a way to set just the styles for the list element of the combo box?

    Thanks ever so much!

    Edward

  4. #4
    Senior Member
    Join Date
    Sep 2006
    Posts
    125
    Hi - no need to reply - I have worked out how to do it using a combination of classes on the list box with new mc/skin files and editing the orriginal skins for the combo box.



    I have to say, this was blooming complicated!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center