code:It seems that this (being what I am dragging) and the Cart will always test as hitting no matter where I drop the item. Is there something I am missing here.COD_mc.onPress = makenew;
function makenew()
{
this.duplicateMovieClip( "my"+m_cnt+"_mc", m_depth, "my"+m_cnt+"_mc");
eval("my"+m_cnt+"_mc").startDrag();
eval("my"+m_cnt+"_mc").onPress = Prs;
eval("my"+m_cnt+"_mc").onRelease = Rel;
m_cnt++;
m_depth++;
}
function Prs()
{
this.startDrag();
}
function Rel()
{
this.stopDrag();
//onClipEvent(enterFrame)
//{
if (this, hitTest(Cart_mc))
{
trace("Hit!"+this);
}
else
{
trace("Missed :("+this);
}
//}
}