what is action script 1.it is a programming language used in flash 2.it is a language derived from...
TRANSCRIPT
![Page 1: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/1.jpg)
What is Action Script
1. It is a programming language used in Flash2. It is a language derived from JavaScript3. It is an interactive language to control objects in Flash4. Examples of of Actions:
Frame Actions and Object Actions(e.g. button actions, movie actions)
![Page 2: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/2.jpg)
Action Script command editor environment
![Page 3: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/3.jpg)
Example of some basic commands of movie action
1. goto2. play3. stop
![Page 4: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/4.jpg)
Edit an Action script
Step 1 Step 2click
Step 3click
Step 4
doubleclick
Here is the action script
![Page 5: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/5.jpg)
An “a” in the frame indicates it contains a frame action
![Page 6: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/6.jpg)
An Example (Bouncing Ball)
Different Objects in Flash
Movie
Graphic
Button
![Page 7: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/7.jpg)
![Page 8: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/8.jpg)
Click here to view the movie
![Page 9: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/9.jpg)
Steps of making the bouncing ball
1. Create the ball and the floor in graphic symbol
2. Use the ball to make a movie called moving ball
3. Create the two buttons (play and stop)
4. Open a new document5. Create a layer called ball6. Open the library and drag the moving ball into the
scene7. Create a layer called buttons8. Open the library and drag the button into the scene
![Page 10: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/10.jpg)
Step 9 Name the movie object Ball in the properties box
![Page 11: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/11.jpg)
Click to edit the Action Script Choose Expert Mode
Remember to choose the Button (stop) to create actions
![Page 12: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/12.jpg)
Step 10 Select the buttons layer, right click the Play button and select Actions
Right click and select Actions
![Page 13: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/13.jpg)
Step 11 Click Actions Movie Control on Select Press
Type on(press) { Ball.Play(); }
![Page 14: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/14.jpg)
Step 12 Select the buttons layer, right click the Stop button and select Actions
Right click and select Actions
![Page 15: What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control](https://reader035.vdocuments.us/reader035/viewer/2022070410/56649f1f5503460f94c3799b/html5/thumbnails/15.jpg)
Step 13 Click Actions Movie Control on Select Press
Type on(press) { Ball.Stop(); }