flash actionscript:
1) I have a numeric stepper that i am trying to use to update a value in an array. it works fine when i add a "change" event listener to the stepper and use ONLY the up and down arrows. The problem occurs when i manually type a value into the stepper and then immediately click on a submit button or other component (the array does not get updated). I added a keyDown function to the stepper to update the array everytime a key is pressed but i can't seem to get it working properly. Currently i have to type in the value and press "enter" or click in an empty area or up/down arrow in order for the array to update correctly. I want to be able to type a value into a numeric stepper and once that component loses focus (whether by clicking another component, etc.), update an array. I tried adding a "focusOut" listener to the stepper but i obtained the same result as the "keyDown" function. I noticed that if i change 2 numeric steppers, the first one will update the array correctly only after the second one is changed and so on. 2) Why isn't a change event broadcasted from a numeric stepper when a user enters a different value manually and the component loses focus? 3) Any suggestions on how to use the focus manager to transfer focus to different compnents that are nested at varying depths in different movieclips? any suggestions would be greately appreciated. let me know if i can help clarify anything. thx, AaRoN
Don't see what you're looking for? Try a search.
|