Globale linker

Book 1

Book 2

Ch.22/23 Multimedia with Macromedia Flash 4.0

Flash combines four elements that define its functionality:

Flash-files are not natively supported by browsers, and therefor needs a plug-in to be viewed. According to a study at the beginning of 2000, 68 percent had the plug-in installed. Both Netscape navigator and Internet Explorer 4.0 and later installs the plug-in by default.

The .swf file is inserted into the page by using the <object> tag for Internet Explorer and the deprecated <embed> tag in Netscape Navigator.

Flash supports importing image file formats such as gif, jpg and png.

In Flash, shapes include lines, circles, squares and rectangles, and can be inserted by choosing one of the shape icons from the Drawing Toolbar.

Fills include color, gradients, patterns and images.

Flash has the ability to define and reuse objects called symbols. A symbol can be inserted repeatedly throughout the animation, without adding significantly to the file size of the entire animation. When you make changes to the symbol file (in Symbol Editing Mode), all instances of the symbol used throughout the animation will reflect those changes. The symbols used in the movie are placed in the Library, ready to be used throughout the animation. A symbol comes in three flavors:

Flash refers to animation or motion as «tweening». Tweening comes in two flavors:

To tween text you must first convert the text to a symbol and then apply motion tweening.
If you want to shape tween text, you first have to break the text apart, by choosing Modify > Break Apart.

Adding sound to a Flash animation is as easy as adding graphics. For sound to play, it must be placed in the timeline.
To incorporate a sound in Flash, you must first import it, as you do with graphics. After the sound is imported, it resides in the Movie Library.

The easiest way to add a Flash movie to an HTML file is to let Flash create the required HTML code, then copy and paste that code into your document that you want to display the Flash animation.

When exporting, Flash creates to files:

To test the user's browser for a Flash plug-in is best done with JavaScript.

When using Tell Target, you assign a scripting action to an object, and Flash instructs the object (tells the target) how to perform. You use the Action tab of the Instance properties dialog to define tell targets. You then specify en event and an action to perform based on that event.

Masks add depth to an animation. A mask covers an area of the stage, allowing only a part you specify to show through. The effect is similar to looking through a stencil.

Remember to read through Appendix C through G in Book 1

Chapter 21 Book 2 Chapter 1