You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the addLabel function a lot at the moment, and in the documentation the second parameter should have a default value of "+=0", to allow it to append to the end of the timeline, but when I look at the TimelineLite.as file I can see:
public function addLabel(label:String, position:): {
_labels[label] = _parseTimeOrLabel(position);
return this;
}
I assume it should be:
public function addLabel(label:String, position:="+=0"): {
_labels[label] = _parseTimeOrLabel(position);
return this;
}
I'm looking at version 12.0.13
Thanks
George
The text was updated successfully, but these errors were encountered:
Ah yes, that is actually the way it's behaving now except that the parameter is required when it really shouldn't be. We'll get that patched up in the next push. Thanks for pointing it out.
Hey there, first up thanks for everything.
I'm using the addLabel function a lot at the moment, and in the documentation the second parameter should have a default value of "+=0", to allow it to append to the end of the timeline, but when I look at the TimelineLite.as file I can see:
public function addLabel(label:String, position:): {
_labels[label] = _parseTimeOrLabel(position);
return this;
}
I assume it should be:
public function addLabel(label:String, position:="+=0"): {
_labels[label] = _parseTimeOrLabel(position);
return this;
}
I'm looking at version 12.0.13
Thanks
George
The text was updated successfully, but these errors were encountered: