dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: input text passed to dynamic text ???

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    9
    I'm trying to pass the value (global variable) from an input text field on frame 1 of the main timeline to a dynamic text field in a movie clip on frame 3. I'm tracing the variable for the dynamic field and it shows as 'undefinded'. Please help.

  2. #2
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    If you had a input text field with the variable of 1 on the first frame and a dynamic text field with the variable 2 on frame 2, then you would need to make a button with actions like these on the first frame:

    on (release) {
    // adds a new varaible with the value of the nameInput box
    var 2 = 1;

    // goes to the next frame
    gotoAndPlay(2);
    }

    I have a example that involves name input, e-mail me if you want.

  3. #3
    Junior Member
    Join Date
    Feb 2001
    Posts
    9
    Thanks for the advice, however this still doesn't seem to work. I think the problem is that the dynamic text field (that needs updating) is contained in a movieclip, whereas the input field is on the main timeline. So basically I'm trying to get the value from the main timeline into a movieclip.

  4. #4
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    It shouldn't make a difference. The text field is reading a variable.

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