A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Input text help

  1. #1
    Member
    Join Date
    Aug 2001
    Location
    Canada
    Posts
    43

    Input text help

    Hey, i've been working at this for hours and still cant seem to figure out whats wrong.

    I am trying to create an input text box which has an instance name AND variable of myInput. I am using a bit of actionscript with this and directing it towards a dynamic text field myText.
    (ex. myText = myInput + "other text" although that is not the problem. When i run the program and mouse over the input text box, my cursor changes (as it should) but when i click on it the pulsing text input cursor does not show up, and when i enter text in, the text does not show up either :S. I know that the text IS in fact being entred through using trace(myInput); but it cannot be seen for some reason. Things i have already checked include:
    -Making sure the text is visible on the top layer
    -Making sure the text color is black (different from the background).
    -Ive even tried different options like the alignment and switching the border around the text on and off (which also does not show when turned on).

    Any help would be appreciated, thanks.


    Andrew

  2. #2
    Retired Mod aversion's Avatar
    Join Date
    Jun 2000
    Location
    insomnia
    Posts
    7,917
    I think you have to pick one, either give your text box a variable nam eor an instance name, but not both.

    myTextInstance.text = "blah blah"

    or

    myTextVariable = "blah blah"

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