3 Replies Latest reply on Nov 26, 2007 7:51 AM by Deggz

    if statements and focus

      Hello. I'm sort of new to the whole Actionscript thing, so forgive any questions you might deem obvious.

      What I need to do is turn a mc's alpha channel to 0 when a particular input field has focus. The 0 alpha is easy enough, I just don't know of any command that inherently understands if a particular field has focus or not.

      My amateur and uninformed attempt:

      if (Selection.focus = JSubject) {
      subjectpipe._alpha = 0;

      Clearly that did not work. Any suggestions, tips, etc, would be very appreciated. Thanks!