I forgot to refer to _root, I didn't test it. The first four lines should go on main timeline first frame, then this lot should go on the MC
If you don't want it to loop, use _root.Engine.start(), not _root.Engine.start(0,9999);
onClipEvent(enterFrame){
if(Key.isDown(Key.UP)){
if(!_root.engineOn){
_root.Engine.start(0,9999);
_root.engineOn=1;
}
}else{
if(_root.engineOn){
_root.Engine.stop("linkagename");
_root.engineOn=0;
}
}
}