3 Replies Latest reply on Mar 26, 2008 9:48 AM by Kleyon Allyn

    error # 2025

    Kleyon Allyn
      Hi Guys,

      I'm designing a simple contact page for my website in which the user tabs to each input field, except when I test the movie, and begin to tab I get the following errors:

      ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
      at flash.display::DisplayObjectContainer/getChildIndex()
      at fl.managers::FocusManager/getChildIndex()
      at fl.managers::FocusManager/sortByDepth()
      at fl.managers::FocusManager/sortByTabIndex()
      at Array$/_sort()
      at Array/ http://adobe.com/AS3/2006/builtin::sort()
      at fl.managers::FocusManager/sortFocusableObjectsTabIndex()
      at fl.managers::FocusManager/sortFocusableObjects()
      at fl.managers::FocusManager/keyDownHandler()
      ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
      at flash.display::DisplayObjectContainer/getChildIndex()
      at fl.managers::FocusManager/getChildIndex()
      at fl.managers::FocusManager/sortByDepth()
      at fl.managers::FocusManager/sortByTabIndex()
      at Array$/_sort()
      at Array/ http://adobe.com/AS3/2006/builtin::sort()
      at fl.managers::FocusManager/sortFocusableObjectsTabIndex()
      at fl.managers::FocusManager/sortFocusableObjects()
      at fl.managers::FocusManager/getNextFocusManagerComponent()
      at fl.managers::FocusManager/setFocusToNextObject()
      at fl.managers::FocusManager/keyFocusChangeHandler()

      When I look up the error in flash help, it just tells me what the error is but does not tell me how to fix it.
      Is anyone familiar with this error 2025. I have attached my code.

      Thanks,