set_timeline
Description:
Sets the timeline of the element.
This is used internally and you should normally not call this. A Clip will have its timeline set through its Layer. A Track will similarly take care of setting the timeline of its TrackElement-s. A Group will adopt the same timeline as its children.
If timeline
is null, this will stop its current
timeline from tracking it, otherwise timeline
will start tracking this. Note, in the latter case, this must not
already have a timeline set. Therefore, if you wish to switch timelines, you will need to call this function twice: first to set the timeline to
null, and then to the new timeline.
Parameters:
this |
A TimelineElement |
Returns:
true if |