Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Reverse playback. #9

Closed
ivan-shaban opened this issue Jun 20, 2014 · 2 comments
Closed

Feature request: Reverse playback. #9

ivan-shaban opened this issue Jun 20, 2014 · 2 comments

Comments

@ivan-shaban
Copy link
Contributor

Hi, can you add support for reverse playback? E.g. i wanna to play sequence back.

It would be good if all functions related to playback to have something like that syntax:

  /**
   * Set sequence to play
   *
   * @param id Sequence ID
   * @param play Play or not immediately. <code>true</code> - starts playng from sequence start frame. <code>false</code> - go to sequence start frame and stop
   * @param reverse Should animation play in reverse mode
   * @param fromCurrentFrame Should animation play from current frame or from sequence first/last frame (depends on playback mode)
   *
   * @return
   */
  public function setSequence(id: String, play: Boolean = true, reverse:Boolean=false, fromCurrentFrame:Boolean=false): CAnimationSequence
@ivanavdieienko
Copy link
Contributor

Hi!
Yes, we can. I'll make it after fixing a few issues.

@ivanavdieienko
Copy link
Contributor

We did it. You should set GafMovieClip's "reverse" property to "true" to make it play in reverse mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants