At 7/1/09 02:21 AM, UnknownFury wrote:
And make sure it is in an enterFrame event, obviously.
indeed you cant forget that.
to summarise:
onEnterFrame = function(){
if ( man.hitTest(finish) ){
_root.gotoAndStop(2);
//this will go to the second frame of the timeline, if you want the second frame of something else put somethingElse.gotoAndStop. if you want the second scene put in the name of that scene, _root.gotoAndStop("Scene 2",1);
}
}
Make sure the instance name of your object and character are finish and man respectively.