Actionscript Made Easy

[If you’d like to download the file used in this tutorial to practice these techniques, visit www.layersmagazine.com and navigate to the Magazine section. All files are for personal use only.]

Let’s face it, in the past new Flash users had to deal with a dauntingly empty Actions panel and advanced users had to pillage previous projects to speed up development. Flash CS5 has changed all this with the introduction of the surprisingly easy Code Snippets panel, advanced code hinting, and custom class introspection. Let’s take a look.

1 OPEN THE STARTER FILE
Download the exercise file for this tutorial from the Layers website and unzip it onto your desktop or other location of your choosing. Inside of the zip file you’ll find a file named ImageGallery.fla. Open this file in Flash CS5. It’s important to note that this file targets ActionScript 3, since the code we’re about to show you will only work when targeting ActionScript 3. Also, note that on the

Daily Email Newsletters

Weekly Email Newsletters

Subscribe to receive the latest design and creative business news, tutorials, and resources delivered to you via email—either daily (below) or weekly, to your computer, tablet, or mobile phone.

IMPORTANT NOTE: The newsletters and subscription confirmation email will be sent from the address briefing@iampariah.com. Please be sure to whitelist that address in your anti-spam filters. Check your Junk Mail or Spam folder if you miss an email prior to whitelisting briefing@iampariah.com.

Privacy and CAN-SPAM Compliance

All Pariah Burke newsletters comply with the U.S. CAN-SPAM Act. The newsletter even uses a third-party ESP to audit and ensure its compliance with CAN-SPAM. And your privacy is assured: your email address and other information will never be sold or given away.