In my game I was a movie clip called spikes, right now it is just a stationary block so I can get the code working first. Anyways, I have this code on the block

if (_root.jubjub.hitTest(this._x, newY, true)) {
gotoAndStop("dead");
}
Jub Jub is the main character obviously, but it isnt working, and yes there is a frame called dead and yes Jub Jub's instance name is jubjub, i think it has to do with the this._x, newY part...
Please help, thanks!