Flash Samples
10 Graphics
112CHAPTER 2AccessibilityAn accessibility sample is provided when you install Macromedia Flash 8. This chapter contains a brief overview of this sampl
12 Accessibility
133CHAPTER 3MaskingMasking samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview of each sample.This chapte
14 MaskingScriptable masksThis sample shows how to dynamically mask Flash content at runtime using scriptable masks and components. Scriptable masking
154CHAPTER 4TextText samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview of each sample.This chapter cont
16 TextMultilingual contentThis sample, featuring the Strings panel, shows a streamlined approach to developing and managing content in several langua
175CHAPTER 5BehaviorsA behaviors sample is provided when you install Macromedia Flash 8. This chapter contains a brief overview of this sample.This ch
18 Behaviors
196CHAPTER 6ComponentsSeveral component samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview of each sampl
Trademarks1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute,
20 ComponentsDial component sampleThis sample provides an example of a dial component with a getter/setter property that gets or sets the position of
Tip calculator 21The LogIn sample component uses Button, Label, and InputField component movie clip symbols to create a simple name and password login
22 ComponentsComponents jukeboxThis sample demonstrates how to create a jukebox by using data types, general coding principles, and several components
237CHAPTER 7ActionScriptSeveral ActionScript samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview of each
24 ActionScriptCustom Flash Player context menuIn this sample, you can see how to add custom options to the Flash Player context menu using ActionScri
The Tween class, the TransitionManager class, and progress bars 25Animation with ActionScriptThis sample provides an example of programmatic animation
26 ActionScriptActionScript data typesThis sample provides an example of converting data from one type to another.You can find the sample source file,
ActionScript arrays example 27Drawing with ActionScriptThis sample demonstrates how to draw lines and create, fill, sort, and remove shapes with Actio
28 ActionScriptInteraction between the browser and Flash PlayerThis sample demonstrates how to use the External API (ExternalInterface class) to creat
FlashType sample 29Text loading with ActionScriptThis simple sample shows how to load text into a SWF file at runtime using the LoadVars class. You ca
3ContentsChapter 1: Graphics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Animated drop shadow . . . . . . . . . . .
30 ActionScriptLogin sampleThis sample shows how to add simple login functionality to your websites using ActionScript 2.0. The sample uses ActionScri
Text field manipulation with ActionScript 31Image manipulation with the BitmapData classThis sample demonstrates how to manipulate an image and create
32 ActionScriptPhoto gallery with tree navigationThis sample is a photo gallery application with tree navigation. It provides an example of using comp
XML blog tracker 33File upload with the FileReference APIThis sample demonstrates how to let users select a file on their hard disk and upload it to a
34 ActionScriptXML language pickerThis sample demonstrates how to use XML and nested arrays to choose strings of different languages to populate text
358CHAPTER 8Data IntegrationSeveral data integration samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview
36 Data IntegrationYou can find the sample source file, DevNetNews.fla, in the Samples folder on your hard disk. In Windows, browse to boot drive\Pro
Flash and PHP integration 37Flash and PHP integrationThis sample demonstrates how to use Flash and PHP (Hypertext Preprocessor) integration to create
38 Data Integration
399CHAPTER 9Extending FlashAs a Macromedia Flash user, you may be familiar with ActionScript, which lets you create scripts that execute at runtime in
4ContentsDrawing with ActionScript. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27ActionScript arrays example. . . . . .
40 Extending FlashShape commandThis sample displays information about the contours of the selected shape in the Output panel.You can find the source f
Trace Bitmap panel 41PolyStar toolThis sample provides an example of adding a tool to the Tools panel using the JavaScript API.You can find the source
42 Extending FlashSample DLL Advanced users can use the C-level extensibility mechanism to implement Flash extensibility files using a combination of
4310CHAPTER 10Flash LiteSeveral Macromedia Flash Lite samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview
44 Flash LiteYou can find the sample source file, 2-way.fla, in the Samples folder on your hard disk. In Windows, browse to boot drive\Program Files\
Soft keys example 45Movie clip menu sampleThis sample demonstrates how to create a simple menu out of movie clips. For more information about how this
46 Flash LiteAnimated cartoonThis Flash Lite sample shows how to create an animated cartoon in Flash Lite. The design shows the optimized use of vecto
Strategy game 47Strategy gameThis Flash Lite sample shows how to create a Flash Lite strategy game similar to the popular games Tetris and Breakout. T
48 Flash Lite
5IntroductionMacromedia Flash Basic 8 and Macromedia Flash Professional 8 provide everything you need to create and deliver rich web content and power
6Introduction
71CHAPTER 1GraphicsGraphics samples are provided when you install Macromedia Flash 8. This chapter contains a brief overview of each sample.This chapt
8GraphicsTo prevent this effect from looking too much like a drop shadow against a flat wall behind the original object, you can use the Free Transfor
Animation and gradients 9The next step is to create a movie clip symbol and place this eight-ball graphic inside it. Inside this movie clip is where t
Kommentare zu diesen Handbüchern