SHARING VECTOR GRAPHICS


As you save and export files, it's important to keep your final audience in mind. If you use Illustrator to create a whole document, you generally need to make sure only your output agency and/or printer can open and work with your file.

If you use Illustrator to create a corporate logo, however, there are many more people you need to please. Do some research. Does everyone who needs to place the logo work in page layout software? Or do some users need to have a logo they can place in Microsoft Word, for example? Are they Mac users, or do they have Windows computers? Even though platform is becoming less and less important as graphic options standardize, it can still be important with certain formats.

Keep in mind that you might have to save several different versions of your graphic to take care of everyone who will be using it. You might even be forced to simulate certain effects that may not be supported in other applications. Know your audience so you can minimize your issues.

Understanding SWF Animation

There are several options within Illustrator to export graphics that are appropriate for the Web, but only oneSWFis appropriate for animation. The Flash animation format is supported by all web browsers, usually through the use of a plug-in (see Figure 21.20).

Figure 21.20. A simple example of a layered Illustrator document that could be exported as Flash animation.


There are several ways to create Flash animations. You can use the Symbolism tools to create regular occurrences of your graphic and create an animation from that. You can also place various versions of a graphic on different layers within Illustrator and export each layer as a separate animation frame. See the SWF Export Options dialog earlier in this chapter for complete information about the options available for SWF creation.

Understanding SVG Interactivity

You can add interactive features to a web page, such as movement of a page element created by a mouse event, through the SVG Interactivity palette. Prior to creating the interactive event, you must have a JavaScript action saved and defined that represents the action you want to create.

To create an interactive event, first open the palette by choosing Window, SVG Interactivity (see Figure 21.21). From the Event pop-up menu, select the event that you want to trigger the action. These are simple, standard events like click or mouseover.

Figure 21.21. In the SWF Interactivity palette, choose the action and script with which to create the interactivity.


Associate your JavaScript with the action by selecting JavaScript files from the palette menu. Browse to a file, select it, and click Open. Click Add to continue to associate JavaScript files, or click Done.

Type the name of your file in the JavaScript field on the palette and click Enter. When you export and view the SVG file, the interactivity associates with it.




Special Edition Using Adobe Creative Suite 2
Special Edition Using Adobe Creative Suite 2
ISBN: 0789733676
EAN: 2147483647
Year: 2005
Pages: 426
Authors: Michael Smick

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net