Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Text box doesn't work in flash.

4: Adsense

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   

103
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.   



#2 shadowisadog   Members   

3217
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   

191
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.