A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Setting variable from textinput

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    2

    Setting variable from textinput

    Hi.

    Firstly, I have searched the forum for related topics and found 2. I have tried to make sense of the code involved to make it work with my current project but nothing works.

    As the title says, I require a string to be given the value from a textinput. As this was not working in my main project I created another simple AS3 file.
    The user should just type in their name in scene 1. By pressing a button I trace the variable as a test and on scene 2 I should see the users name, but no.

    Here is the link. Excuse any crudeness in the coding, it was thrown together for a quick test.

    Please can someone either show me or point me in the right direction and what is wrong.


    Thanks.

  2. #2
    Junior Member
    Join Date
    Dec 2010
    Posts
    2
    I forgot - without finding the threads again I can't remember whether or not it said what AS versions they were on. I'm working with AS 3 and don't know whether the code I have used is AS 2 or 3.

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