Tuesday, September 23, 2008

Quiz 2; 9/23/2008

What is the difference between an event handler and a frame event?

Frame events are events that occur within frames on the timeline.  They are written in the actions panel and are set to occur once that particular frame is reached in the timeline.
Example: symbol.gotoAndPlay(12);

Event handlers are events that are triggered upon user interaction.  Usually written in the first frame in a timeline they apply to every frame of the animation unless otherwise noted.
Example: symbol.onRollOver = *action*

No comments: