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

Random Movement Logic

Lets make our button when clicked move to a random position on the stage. In this video we will see how we can interact again with the stage and the Math.random()

Creating Our First Symbol - A Graphic

02:38

Creating A Button

01:57

Button Instance Names

01:42

Button States

03:54

MouseEvent.CLICK - A Click Event

06:49

Revisiting Inheritance

01:08

Random Movement Logic

02:47

A Deeper Look At Events

03:59