Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Onpress()  Videos loaded  Mouse click  Something that runs when a certain event occurs.

Similar presentations


Presentation on theme: " Onpress()  Videos loaded  Mouse click  Something that runs when a certain event occurs."— Presentation transcript:

1

2  Onpress()  Videos loaded  Mouse click

3  Something that runs when a certain event occurs.

4

5

6  1 st thing to do is to add an event listener. Tells an object to wait for a particular event to happen.  Set the keypress to the stage and not the boarder..

7

8

9

10

11

12

13

14

15

16

17

18

19 Event listener– connect event Event And c command

20  Open Conditions.fla

21

22 First frame f9

23

24

25

26

27 Talk about evt

28

29

30

31

32

33

34

35

36

37 Select the if block and delete

38

39 Check the value of the keycode and do different things based on the value.

40

41

42

43

44

45

46

47


Download ppt " Onpress()  Videos loaded  Mouse click  Something that runs when a certain event occurs."

Similar presentations


Ads by Google