02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

Dispatching Events

In this video we take a break from working with time and look at Events. Our goal is to dispatch an event when our time out is completed so we can then let our main class know of the changes. To do this we need to extend our class to be capable of dispatching events(extends EventDispatcher).

setInterval

06:27

clearInterval

02:05

Interval Edge Cases

02:02

Dispatching Events

08:57

Updating Text

06:36

Cleaning up our Timer

07:30

HomeWork

00:43

Summary

01:41