This is the code:

pants_mc.addEventListener(MouseEvent.MOUSE_DOWN, placePants);
skirt_mc.addEventListener(MouseEvent.MOUSE_DOWN, placeSkirt);


function placePants(event:MouseEvent):void
{
if(skirt_mc.x = bottomHold.x)
{skirt_mc.x = skirtoriginal.x;}
pants_mc.x = bottomHold.x; //this is where I'm getting errot about the "x"
}

function placeSkirt(event:MouseEvent):void
{
if(pants_mc.x = bottomHold.x)
{pants_mc.x = pantsoriginal.x;}
skirt_mc.x = bottomHold.x;
}
This is the error message:

Scene 1 (on Timeline): 1046: Type was not found or was not a compile-time constant: skirtoriginal.
Line 44 (in code): 1119: Access of possibly undefined property x through a reference with static type Class.
Any help truly appreciated. Oh, and what I'm trying to do: I have a "bottomHold" mc on stage, as well as a "skirtoriginal" mc and "pantsoriginal" mc all set to alpha=0. If pants_mc is clicked, it should go to the same location as the bottomHold and simultaneously send the skirt_mc back to it's original position at skirtoriginal ... and vice versa if skirt_mc is clicked.