A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: inputed text copy

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    27

    inputed text copy

    ive looked in the tutorials sections and have not found anything yet...

    but how do you make a movie or scene that has an input text variable on it and whatever you input will appear on the next frame as a static text?

    If you were to input your name and pushed a button that checked it and on the next keyframe it would have your name on it.

  2. #2
    I tried... dbarbarian's Avatar
    Join Date
    Aug 2003
    Location
    Berkeley, California, USA
    Posts
    678
    on the button put:
    code:
     on (release) {
    _root.nameVar = _root.inputNameText;
    }



    then on the next key frame put:
    code:
     _root.displayNameText = _root.nameVar; 



    _root.inputNameText is the input box variable name, and _root.displayNameText is the dynamic text box variable name.


  3. #3
    Junior Member
    Join Date
    Mar 2004
    Posts
    27
    cool it works!!! sometimes i see though that the text on other movies are static text. (the one on the next frame)

    how would i do that?

  4. #4
    I tried... dbarbarian's Avatar
    Join Date
    Aug 2003
    Location
    Berkeley, California, USA
    Posts
    678
    Umm, they cant be static text. It is probably dynamic text with the selectable option turned off and the background option turned off also (properties panel)

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