set the startSize of [leg <number> of] <path>
to <integer, integer>
Applies to paths, or legs of paths
The startSize property allows you to set the size of an object at the beginning of its trip down a path. <integer, integer> refers to the intended width and height of the object. For example, a value of 100,100 indicates an object that is 100 pixels wide and 100 pixels tall.
The startSize property is useful if you want an object to grow or shrink during its journey. This property is particularly important if you are creating three-dimensional effects, in which you need to use object size to present the illusion of distance and perspective on your two-dimensional screen.
You can set this property to apply to either the entire path or to a particular leg. If you want to use different startSize values for each leg of the path, you must also enable the uselegScaling property.
Note that this property only specifies the starting size of the object. If you want the object to be resized on a path, you must also enable the scaling property.
Enter the following commands into the Message Box:
set the scaling of path 1 to true
set the startSize of path 1 to 10,10 set the endSize of path 1 to 100,100 animate shape 1 along path 1
The shape grows from 10-square pixels in size to 100-square pixels in size as it moves along the path, creating a three-dimensional effect.
This text has been mechanically extracted from the Oracle Media Objects 220.127.116.11 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.