5 Replies Latest reply on Nov 10, 2006 12:55 PM by raylaur

    referencing movie clip not same when SWF loaded into SWF

      This code is based on the _droptarget info in the Actionscript 2.0 language reference. It works fine by itself but breaks when the SWF is loaded into another SWF. Note that I uses the _lockroot property to keep the _root of the loaded clip.

      I've isolated the problem to the "if" condition. The player doesn't seem to recognize the equivalence of the names. But when debugging with Trace, the names are identical.

      The desired result is to have the drag object snap to the target object when dropped on the target but snap back to its origin if not on target. It works in 6, but the drag object snaps back to its origin 7 - as if it was not dropped on the target object.