• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 15. Animation > Animating Basic Attribute Transitions

Animating Basic Attribute Transitions

Altering attributes is what the animate element focuses on. Virtually any attribute with a numerical value can be animated, from width to letter-spacing, x to r; the animate element can cause certain non-numerical attributes to be animated, too. The animate element needs several attributes to operate correctly. These attributes are detailed in Table 15.2.

Table 15.2. animate Element Attributes
Attribute Function
xlink:href Similar to the set command, the xlink:href attribute value deter-mines which object will be modified.
attributeName The attributeName value tells the animation element which attribute of the designated object to modify.
from The from value describes the initial state of the animated attribute at the start of the animation.
to The to value describes the final state of the animated attribute at the end of the animation.
begin The begin value determines when the animate command takes place. (Optional.)
end The end value extends the length of the animate command to match another event or action. (Optional; Used in place of dur.)
dur The dur value determines the duration of time of the animatecommand. (Optional; Used in place of end.)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint