Define the text to fly. Since the text being defined here is the target object, the top and left attributes have been set below. Deciding whether to use absolute or relative position depends on where the text is with respect to the rest of the document. For more information, see Positioning . Insert a DirectAnimation path control .
Shape specifies the oval path to fly the text through.
With the absence of a tool that sizes and positions the oval as appropriate, the only way to specify the correct parameters to this Oval method is by trial and error. In the sample below, the time marker is set at the halfway point, at which time text flying stops. Because Duration has been set to two seconds, the halfway point is at one second, so the time marker is set accordingly. Target specifies the identifier of the target object to follow the path. When the onplaymarker event fires as a result of the HalfwayPt time marker defined above, stop the flying at its current position.