Macromedia flash 8-flash samples User Manual

Page of 48
24
ActionScript
Custom Flash Player context 
menu
In this sample, you can see how to add custom options to the Flash Player 
context menu using ActionScript 2.0. This sample uses ActionScript to 
modify the context menu by adding cut, copy, and paste functionality that 
can be applied to the drawing objects on the Stage. The source includes the 
document file (.fla) and the ActionScript file (.as) that defines the 
ClipBoard class. Explore both files to learn more about the context menu 
and writing classes with ActionScript 2.0.
You can find the sample source file, CustomizingContextMenu.fla, in the 
Samples folder on your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 
8\Samples and Tutorials\Samples\ActionScript\ 
CustomizingContextMenu.
On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ActionScript/
CustomizingContextMenu.
Filters with ActionScript
This sample shows how to apply filter effects to images with ActionScript. 
You can apply different filters to several images, and then manipulate their 
properties at runtime. The ActionScript code shows how to apply filters 
and manipulate the filter properties using components.
You can find the sample source file, Filters.fla, in the Samples folder on 
your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 
8\Samples and Tutorials\Samples\ActionScript\Filters.
On the Macintosh, browse to Macintosh HD/Applications/
Macromedia Flash 8/Samples and Tutorials/Samples/ActionScript/
Filters.