A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] Single Dynamic Text loaded with multiple Input and others

  1. #1
    Eternal Newbie
    Join Date
    Apr 2006
    Location
    Bitter cold Hell of the crappy NW
    Posts
    392

    [F8] Single Dynamic Text loaded with multiple Input and others

    I just need some guidance here... I am using 4 or 5 input text fields, name, age, score, etc. etc. I also have a couple combo boxes with about 4 choices each, and 2 radio (yes or no) buttons.

    This is all on frame 1. The hope is the user will come in and fill out the form, checking the appropriate boxes and radios, and then filling in the input text boxes.

    There is then a submit button. Once clicked we go off to frame 2. Here I have a single multiline dynamic text box. What I am trying to do is get the infor from Frame 1 into the text box on frame 2, all neat and readable with spaces, line breaks, etc.

    I have gotten as far as to get the input text info over, but not the check boxes or radios, and the input text shows up as one word.

    Example if the user says Name: Joe, Age: 23, Score: 50,000, Do you Like Games? Yes radio checked, Interests: RPG checked, Action Checked, Adventure checked.

    I want Frame 2 to show:

    -------------------------------------
    Welcome Joe
    Your age is 23
    Your Score is 50,000

    Because you like games and your interests include:
    RPG
    Action
    Adventure

    We want you to do something funny!
    ---------------------------------------------

    Notice that all info is on it's own line and there is added text, also notice the extra carriage returns.

    Currently I get this:

    -----------------------
    Joe2350,000
    ------------------------

    Any help would be appreciated!

    ~MoN
    If I am wrong, please just correct me and move on.. there is no need for all that pointing and laughing! ~MoN

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    Try adding a newline after each imput field added. Example:

    PHP Code:
    dynmaicTxt.text "Welcome " uName newline "Your age is " uAge newline "Your Score is " uScore

  3. #3
    Eternal Newbie
    Join Date
    Apr 2006
    Location
    Bitter cold Hell of the crappy NW
    Posts
    392
    Cool, that sounds easy enough. I didn't know about "newline" so I will give it a go.

    Thanks!

    ~MoN
    If I am wrong, please just correct me and move on.. there is no need for all that pointing and laughing! ~MoN

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