Timeline in Javascript


I want to run a timline in JS.

I use the following code:

var Soldier = this.name();
prez.startTimeline(Soldier, None);

But it does not work. I’m sure there is a simple mistake, but I cannot find it.

Thanks for your help.


Please choose an appropriate sub-category to post your question or topic.

Hi Rolf,

If you don’t need a callback for startTimeline function, you can ignore it. None is not declared anywhere so it could cause an error:

var Soldier = this.name();

Please also make sure that the object you attached this action and the timeline you want to start have the same name.


1 Like