Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with ComboBox with the assignment of the select item.

    Hello



    I am creating a static ComboBox.
    The problem is that I can’t assign to the ComboBox a selectedItem


    Please help
    Thank you

    Code:
    combomm.themeColor = 0xCCCCCC;
    combomm.rollOverColor =0xCCCCCC;
    combomm.borderColor = 0xCCCCCC;
    combomm.selectionColor = 0xCCCCCC;
    
    
    combomm.addItem("hello","script");
    combomm.addItem("32432","script");
    combomm.addItem("sdfsdf","script");
    combomm.addItem("234sdfsdf2","script");
    
    
    combomm.selectedItem = combomm.length-1;

  • #2
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts
    is this a javascript problem? :S

  • #3
    New Coder
    Join Date
    Mar 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry
    Accidentally I post it to php forum

    Its an actionscript problem


  •  

    Posting Permissions

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