Event handlers

Definition = A script that is triggered by using one of director's 32 event keywords

Flash equivalent = same, but only used for Movie Clips & Buttons

----------------------------------------------

Director Example
on exitframe
go to "startframe"
end

Flash Translation
function onEnterFrame(){
gotoAndPlay("startframe");
}