With ActionScripting 3.0 taking such a drastic turn away from the old paradigm of ActionScripting 2.0, it helps that Flash CS3 allows you to create a document using the old scripting style; here's how.
One of the many functions of System.capabilities is to allow you to use ActionScripting to determine a user's screen resolution.
Comment out your ActionScripts using preceding backslashes to insert notation, or inactivate blocks of code.
Using swapDepths in Flash to change the depth of your tabbed content windows, you can create an intuitive and stylish content display with easy navigation.
While you don't want to count on this for definite site or application security, you can use this basic password script as part of a game or any other fun animation.
Use getProperty to return the values of various MovieClip properties for use in scripts.
When you assign a variable to a value fetched by getProperty, you can then pass that value to another function to be used in an operation. In this case, the operation changes the text in a dynamic text field on the stage to display the value returned on the Flash stage.
Create duplicates of movie clips using Actionscripting, isntead of by dragging new instances onto the stage.
Use removeMovieClip to remove instances of clips created by the duplicateMovieClip ActionScript.
textColor is an ActionScript property that lets you define or change the text color inside of a dynamic text field on a movie clip event.
Another look at using getURL, this time more cleanly done and demonstrated on an animated movie clip.
Flash can read your system date and return that information to display on-screen.
You can conceal and reveal the default mouse cursor on the Flash stage, with an easy single-line Actionscript.
Cut down on excess code by referencing oft-used lines of ActionScripting from external files using includes.
There's more than one way to skin a cat, more than one way to pluck a chicken, and more than one way to animate in Flash. Use ActionScripts to animate changes in size, color, position, and anything else that you can code.
Using setProperty to change the value of a shape's properties can be done using variables to control those properties in progressive degrees, rather than by setting them as arbitrary values. This example uses the _alpha property to demonstrate.
Use setProperty to change the properties of movie clips when certain conditions are met.
You can add to your Flash Actionscripts any number of ways, but one of the easiest ways is to use the buttons above the window that displays the code.
Move your lines of Actionscripting around without having to copy-paste them or re-insert them from scratch.
Switch between Expert Mode and Normal Mode when working with Flash's Actions pane, and find out the benefits to both.
Use Check Syntax to check for errors in your ActionScript before they cause problems in your published movie.
Hate digging through code for a single command that needs to be edited or deleted? It may not seem like such a big deal when you've only got one or two scripts--but when you've got ten or twenty stacked together, using the Find function can be a real lifesaver.
Search out and replace a single occurrence of a search string in your ActionScripts, every occurrence, or as many as you need to--without having to do any of the work of finding or edting yourself.
Use breakpoints to help in debugging by isolating trouble spots as your Flash movie plays.
Viewing Line Numbers can make organizing and following your ActionScripts easier on both your mind and your eyes.
The stop command is most likely the most basic of all of Flash's ActionScript commands, and the most essential. It's also a good place to get started with familiarizing yourself with the concepts of working with ActionScripting.
Moving from the most basic to the most common, the "On" command is the foundation of mouse-action-based user interactivity in Flash.
The hitTest action lets you check to see if one shape overlaps another/enters its bounding box--in essence, testing for collision action.