I have a chat swf with one dynamic textfield that shows the typed text and one input textfield with an “ok” button.
I’m using this code on the button:
on(release, keypress "enter") { //do something}
With this code after the typing, the user could just press the “enter” key to transfer the typed text to the dynamic textfield of the chat.
It was everything working perfectly, the problem showed up when I added the UiScrollBar component to scroll the dynamic textfield.
When I add the UiScrollBar to the library, the keypress “enter” event on the button stop working! If I delete the UiScrollBar component, keypress event start working again!
Is this a bug? What can I do to avoid this problem?
Thanks