Detailed instructions for use are in the User's Guide.
[. . . ] Flash Samples
Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Encoder, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. [. . . ] This chapter contains a brief overview of each sample. This chapter contains the following sections:
Custom Flash Player context menu . 25 The Tween class, the TransitionManager class, and progress bars . 27 Interaction between the browser and Flash Player . 28 Stage size control with ActionScript . 30 Image manipulation with the BitmapData class . . 31 Text field manipulation with ActionScript . . 31 Photo gallery with tree navigation . 32 File upload with the FileReference API . 34
7
23
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.
24
ActionScript
Animation with ActionScript
This sample provides an example of programmatic animation using ActionScript. It shows a simple game where instances are animated across the Stage at runtime. You create a custom mouse pointer, and you can tally scores by manipulating strings and using operators to write equations. You can find the sample source file, animation. 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\Animation. [. . . ] You can find the sample source file, input_text_example. fla, in the Samples folder on your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\Samples and Tutorials\Samples\FlashLite. On the Macintosh, browse to Macintosh HD/Applications/ Macromedia Flash 8/Samples and Tutorials/Samples/FlashLite.
44
Flash Lite
Movie clip menu sample
This sample demonstrates how to create a simple menu out of movie clips. For more information about how this sample was constructed, see "Creating a simple menu using movie clips" in Developing Flash Lite Applications. You can find the sample source file, movieclip_menu_complete. fla, in the Samples folder on your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\Samples and Tutorials\Samples\FlashLite. [. . . ]