Flash q

  • Started
  • Last post
  • 2 Responses
  • Fariska

    I'm having some troubles with the focusManger component.
    So, i have this typical mail form (mail field , object field, message field, submit button). I have setted all the functions to control the strings with the textfield.onKillFocus() Method.

    My problem is, that if i insert some text in one of the field and then i click outside the field, it don't loses focus, but the focusManager automatically gives back the focus to the field (using the debugger i saw for a moment an onEnterFrame called) . I tryied setting, on the myfield.onKillFocus() function I defined, the command focusManager.setfocus(null) but it starts looping.

    What i have to do?
    Any suggestions/references?

  • UndoUndo0

    shouldn't you be using a listener object instead on onEnterFrame ( or setInterval) for that??

    might be yr problem.

  • Fariska0

    the weird thing was that flash set a focusManager instance, which called an onEnterFrame event.

    I removed the focusManger instance and all gone ok.