Listener Question

Ok, I got myself a nifty listener that activates a mc when the focus is set on a textfield.


_root.mail.n.onSetFocus = function() {
    if (Key.addListener(_root.mail.n) == true) {
        _root.mail.fader.gotoAndPlay(2);
    }
};

Works great.

Question is how do I make it play the next part of the mc when the focus of the text field changes from itself to another text field?

try onLostFocus

I didn’t know there was a lost focus command. DOH!

Actually it’s


onKillFocus

haha that… sorry… i got mixed up, lostFoucs is used in vb =)

It helped me look in the right direction that’s what’s important :slight_smile:

Thanks

You can just look in the reference panel or the books in the left of the actions panel to get a list of properties and events for any object while working in Flash. Chances are you might find what you need there the next time something like this happens :wink: