Adobe GOLIVE CS2 User Manual page 476

Hide thumbs Also See for GOLIVE CS2:
Table of Contents

Advertisement

ADOBE GOLIVE CS2
467
User Guide
A
B
C
Editing SVG in the document window
A. Play button and timeline for animations B. Selected object in preview, layer view, and code C. Show/Hide Split Source Button
SVG actions
When you select an SVG object in the document window, you can use the Action Inspector to apply the following
actions to mouse events:
Scale Shape
Sets scaling and offset position in pixels, and duration in milliseconds.
Sets values for XML attributes.
Set Attribute
Sets stroke and fill color.
Set Color
In code, GoLive SVG actions include the comment "agl<<action name>>" for easy identification.
To add custom JavaScript to an SVG file
In the upper left of the document window, click the JavaScript Editor button
to the right of the SVG timeline.
Note: Each mobile browser treats JavaScript slightly differently. To verify that code functions as you expect, test it in a
targeted mobile phone.
See also
"To edit an existing JavaScript" on page 604

Advertisement

Table of Contents
loading

Table of Contents