A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] AHHH !! Combobox and Text Input to String

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    24

    [F8] AHHH !! Combobox and Text Input to String

    So, I've been playing around with this for about a week now, and I'm completly stumped. On the stage I have two combobox components and a Text Imput component. I want to simply store the Value/Label of the comboboxes into their own string vairable and the same for the text imput.

    I've tried using .value, .text, .selectedIndex, .selectedItem and returning "Undefined"

    same problem with the text input...

    I think the problem might be where I'm declaring the variables.

    I have a button that after pushed it is supposed to initialize the string vairables and add the value of each component to them, but whenever I add script to that button I get undefined.

    Any help would be great!!!

    thanks

  2. #2
    Senior Member caroach's Avatar
    Join Date
    Nov 2002
    Location
    Chicago, IL
    Posts
    374
    I have a test that I've created...is this close to what you are trying to do?
    Last edited by caroach; 03-27-2008 at 10:41 AM.

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    24
    yea that helped a ton! thanks!

  4. #4
    Senior Member caroach's Avatar
    Join Date
    Nov 2002
    Location
    Chicago, IL
    Posts
    374
    no 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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center