Creates a new Timeline with a duration of msecs.
msecs
Duration of the timeline in milliseconds
the newly created Timeline instance. Use unref when done using it