PDA

View Full Version : Hotspots doHSOver() Error


starmer
11-22-2007, 02:28 PM
Hello,
Could anyone shed some light on why I would get this error?

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/getChildIndex()
at Hotspots/doHSOver()

zleifr
11-22-2007, 03:38 PM
Well, you really need to give us code / context of what you are doing in general, what particular action caused that etc. Without that we'd be the blind leading the blonde.

The only time I've ever seen that I was trying to removeChild() an object that I hadn't used addChild() on in the actionscript but was placed on the stage on the "pasteboard".