A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: PLEASE HELP ME!!! (with input text problem)

  1. #1
    Junior Member
    Join Date
    Jul 2006
    Posts
    4

    PLEASE HELP ME!!! (with input text problem)

    I know this might sound a little confusing, but I will try to be as specific as possible. Ok what I want to do is make an order form. I want to make 2 input text boxes that the customer can fill out, one for color and one for size. Then I want to automatically generate a sort of code based on what the customer entered, so I think I will need a dynamic text box on the side for the code to appear. But my question is, Is there a way to make the dynamic box equal to both of the things the customer put it? Like if they enter "blue" for color and "large" for size, is there a way to make the dynamic box generate a code saying "bluelarge" Do you know what I mean? Any help would be greatly appreciated! Thanks a lot.

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    var myConnectedText:String = text1.text+text2.text;

    text1 and text2 are names form the dynamic textfields.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Jul 2006
    Posts
    4
    I dont have 2 dynamic boxes. I have 2 input boxes for the customer to enter the size in one and color in the other. They have var names of "size_box" and "color_box". And I have 1 dynamic box, with that var name "code_box" that I want to make the code in, which should be the color and size together. So what do I do and where do I put the code? On the keyframe? Sorry I am new to flash.

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    It's all the same.

    var myConnectedText:String = color_box.text+size_box.text;

    here you need a button:

    code_box.text = myConnectedText;
    - The right of the People to create Flash movies shall not be infringed. -

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