OZONE Asylum
Forums
Multimedia/Animation
UI Listbox trouble
This page's ID:
11423
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I am using Flash MX to create some software simulation for training purposes. I'm trying to demonstrate a navigation functionality. Here's what I want the user to accomplish: 1) place cursor in a text entry box and enter letters 2) when the right combination of letters ('md') is entered, I want a previously not-visible UI listbox to become visible, get the focus, and have item [0] selected. 3) The user will then use keyboard arrows to select the appropriate list item and push the enter key. What I've Done: I've added a listener to the textbox. onKeyUp I check the value of the textbox and if it == 'md' then I removeListener, set listbox._visible=true, set listbox selection Index to 0, and give it the focus. Problem: One would think that the user should be able to then push the down arrow on the keyboard to move the selection to item 1, again to item 2, etc. That is not the case! The user must push the arrow key TWO times before the listbox responds! Once the arrow key is pressed two times, everything works great, but it does not respond to the first push of the arrow key. Why? and what can I do to fix this?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »