May 2018
Intermediate to advanced
268 pages
6h 43m
English
Once Timeline is set up, you can control its flow using the following methods:
timeline.play();timeline.pause();timeline.stop();
Note that stop() resets Timeline, while pause() allows Timeline to be played again from the same point by another play() call.
Two other important properties are the following:
timeline.setCycleCount(Timeline.INDEFINITE); timeline.setAutoReverse(true);
To check whether Timeline is playing, you can use the Timeline.getStatus() method, which returns one of the following three ...
Read now
Unlock full access