In this chapter
What Is ActionScript? 234Controlling the Timeline with ActionScript 235Working with Variables 236Making Decisions with Conditionals and switch 239Using Loops to Repeat Actions 241Combining Statements into Functions 242Working with Buttons 246Working with Movie Clips 247Troubleshooting 253Best PracticesKeeping Your Code Organized with Comments 253
What Is ActionScript? 234
Controlling the Timeline with ActionScript 235
Working with Variables 236
Making Decisions with Conditionals and switch 239
Using Loops to Repeat Actions 241
Combining Statements into Functions 242
Working with Buttons 246
Working with Movie Clips 247
Troubleshooting 253
Best PracticesKeeping Your Code Organized with Comments 253