tobyw_1969
04-22-2005, 11:34 AM
What is going on with this?
TextField.prototype.onKillFocus = function(){
trace (Selection.getFocus());
}
Why is the selection the text field, when we have just killed focus? Is it because of the order that setFocus and killFocus happen in?
Is there no way to find out which movieClip has been pressed immediately after the focus being in a textField? I tried using the newFocus property like this
TextField.prototype.onKillFocus = function(newFocus:Object){
trace("newFocus=" + newFocus);
}
but it always returns null unless you focus on another textField. MovieClips don't work in spite of Macromedia LiveDocs saying they do. Anyone know how to find out what the new focus is?
TextField.prototype.onKillFocus = function(){
trace (Selection.getFocus());
}
Why is the selection the text field, when we have just killed focus? Is it because of the order that setFocus and killFocus happen in?
Is there no way to find out which movieClip has been pressed immediately after the focus being in a textField? I tried using the newFocus property like this
TextField.prototype.onKillFocus = function(newFocus:Object){
trace("newFocus=" + newFocus);
}
but it always returns null unless you focus on another textField. MovieClips don't work in spite of Macromedia LiveDocs saying they do. Anyone know how to find out what the new focus is?