Jump to content

  • Log In with Google      Sign In   
  • Create Account


Text box doesn't work in flash.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 andfol   Members   -  Reputation: 101

Like
0Likes
Like

Posted 13 January 2013 - 01:16 PM

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.   



Sponsor:

#2 shadowisadog   Crossbones+   -  Reputation: 2504

Like
0Likes
Like

Posted 13 January 2013 - 01:26 PM

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, 13 January 2013 - 01:29 PM.


#3 eppopparelle   Members   -  Reputation: 173

Like
0Likes
Like

Posted 13 January 2013 - 02:48 PM

How about you set focus to your textbox?

 

 

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

    stage.focus= rollOv1;
}






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS