02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext 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()

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

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