PDA

View Full Version : 2 events



mario_hater
June 30th, 2006, 03:53 PM
im trying to get this thing to run two events at a time like this

onClipEvent(keyUp){
onClipEvent(enterFrame){
}
}

like that but with an action in the middle but it says theres an error in it.

does anyone know how to do that

Krilnon
June 30th, 2006, 05:27 PM
onClipEvent(keyUp){
this.onEnterFrame = function(){
trace("Hey");
}
}

mario_hater
July 1st, 2006, 06:16 AM
thanks thats wha i thought it was just checking if you could two onclipevents but no :)