Causes an object to orbit around any objects within its orbit by circling behind them and then in front. Preset styles are provided for
vertical,
horizontal
diagonal NE-SW
diagonal NW-SE
Syntax: Orbit(inObject, effectSize, style)
inObject – is the object you want animated – use the keyword this if you want the action to apply to the object triggering it.
effectSize – is the size (in pixels) over which the effect should take place.
style – is a text label for one of the preset styles. Choose from: vertical, horizontal, diagonal SWNE, or diagonal NWSE. Remember to put quotes round the style name unless you are storing the style in a variable when you should use the variable name without quotes.
Example:
Orbit(myImage,175,"horizontal")