• Advertisement
Sign in to follow this  

Text box doesn't work in flash.

This topic is 1836 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to make a crossword in flash. I have just started, I have created a rollover that will act as a highlighter for the clues up and down. The problem is I create a box for text input and at the moment there is no text going into the box when I test the movie. I will provide the action script code I am am using for the rollover I would be grateful for any pointers on this. I think I am doing something wrong in flash rather than it being an action script error but heres the code anyway.

 

rollOv1._visible = false;

rollOverButton.onRollOver = function(){
    rollOv1._visible = true;
}

rollOverButton.onRollOut = function(){
    rollOv1._visible = false;
}
                                   
the rollOverButton is the text box and rollOv1 is the highlighted area.   

Share this post


Link to post
Share on other sites
Advertisement

Is the text box enabled (and not read-only) and does it have focus?

 

What happens if you click on the box and then try typing in it?

Edited by shadowisadog

Share this post


Link to post
Share on other sites

How about you set focus to your textbox?

 

 

rollOverButton.onRollOver = function(){
    rollOv1._visible = true;

    stage.focus= rollOv1;
}

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement