Attach movie being strange... help

Not sure what i am missing


function myOnKeyDown () {
 if (Key.isDown (Key.CONTROL)) {
  doLogin ();
 }
}
var myListener:Object = new Object ();
myListener.onKeyDown = myOnKeyDown;
Key.addListener (myListener);
doLogin = function () {
 trace ("do login");
 _root.holder.attachMovie ("login", "mcLogin", _root.holder.getNextHighestDepth ());
 _root.holder["mcLogin"]._x = 300;
 _root.holder["mcLogin"]._y = 200;
 trace ("login mc y=" + _root.holder["mcLogin"]._y);
};

linkage is correct. instance name is correct

login mc y returns nothing and the movie is not attched to the stage.
Anyone thanks.