An open API service indexing awesome lists of open source software.

https://github.com/tpkn/goto-frame

Super-light frame tween for Adobe Animate
https://github.com/tpkn/goto-frame

Last synced: 3 months ago
JSON representation

Super-light frame tween for Adobe Animate

Awesome Lists containing this project

README

        

### Usage (code for Animate CC)
```javascript
gotoFrame(this.mc, 120);
```

### If using within setInterval or tick handler
```javascript
var root = this;

function update(){
gotoFrame(root.mc, 120, false);
}
createjs.Ticker.addEventListener("tick", stage);
```

### Config
| Variable | Type | Description |
|-------------|:-------------:|-------------|
| mc | Object | - |
| end_frame | Number | - |
| tween | Number | If set `false`, each call of function would move timeline by one frame at a time |