EasyManua.ls Logo

Adobe ILLUSTRATOR 10 - Page 304

Adobe ILLUSTRATOR 10
431 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using Help | Contents | Index Back 304
Adobe Illustrator Help Preparing Graphics for the Web
Using Help | Contents | Index Back 304
onunload to trigger the action when the SVG document is removed from a window or
frame.
onzoom to trigger the action when the zoom level is changed for the document.
onresize to trigger the action when the document view is resized.
onscroll to trigger the action when the document view is scrolled or panned.
4 In the JavaScript text box, write a JavaScript command that will be triggered by the
event you selected in step 3.
5 Press Enter to add the entry to the event list.
To delete a JavaScript event from the SVG Interactivity palette:
1 In the SVG Interactivity palette, click on a JavaScript event to highlight it.
2 Click the Remove Selected Entry button , or choose Delete Event from the SVG Interac-
tivity palette menu.
To list, add, or remove JavaScript events linked to the file:
1 In the SVG Interactivity palette, click the Link JavaScript Files button , or choose
JavaScript Files from the SVG Interactivity palette menu.
2 In the JavaScript Files dialog box, select a JavaScript entry. Click Add to browse for
additional JavaScript files; click Remove to remove the selected JavaScript entry.
Creating Web graphics with SWF
The Macromedia
®
Flash
(SWF) file format is a vector-based graphics file format for the
creation of scalable, compact graphics for the Web. Since the file format is vector-based,
the artwork maintains its image quality at different resolutions and is ideal for the creation
of animation frames. In Illustrator, you can create individual animation frames on layers
and then export the image layers into individual frames for use on a Web site. You can also
define graphic elements called symbols in your Illustrator file. When exported, each
symbol is defined only once in the SWF file; therefore, using symbols can greatly reduce
the size of a animation. (See
Working with symbols” on page 71.)
You can save artwork in SWF format using the Export command and the Save for Web
command. (See
Exporting artwork in SWF format on page 327 and “Optimizing images”
on page 305.) Keep the following in mind when preparing artwork to be saved in SWF
format:
To create an animated SWF, place each animation frame on a separate Illustrator layer,
and choose the AI Layers to SWF Frames option when you export the artwork.
Transparency effects such as blending modes and opacity masks are not exported into
the SWF format. If you wish to maintain the appearance of a transparency effect, flatten
the transparency of the art before exporting to SWF format. (See
Changing the display
of transparent artwork on page 193.)
Using the symbol stainer tool and symbol styler tool results in larger SWF files.
Mesh objects and gradients with more than eight stops are rasterized and will appear
as bitmap-filled shapes. Gradients with fewer than eight stops are exported as
gradients.

Table of Contents

Related product manuals