
467
C
ADOBE GOLIVE CS2
User Guide
A
B
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.
Set Attribute
Sets values for XML attributes.
Set Color
Sets stroke and fill 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
Содержание GOLIVE CS2
Страница 1: ...Chapter 1 Copyright User Guide...
Страница 251: ...ADOBE GOLIVE CS2 242 User Guide...