Skip to content

TimelineLite addLabel not working as per documentation #4

@supercrabtree

Description

@supercrabtree

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions