Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An example of how to use an animated sequence of *png* images for the `mouseover` event on an `Image object` in the After Effects ScriptUI panel.

License

Notifications You must be signed in to change notification settings

rendertom/ScriptUI-animated-mouseover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

ScriptUI animated mouseover

An example of how to use an animated sequence of png images for the mouseover event on an Image object in the After Effects ScriptUI panel.

ScriptUI animated mouseover

Snippet uses the app.setTimeout() method that pings application every 1000/60th of a second. It should not be overused, otherwise, it will bog down the system. However, this is justifiable in our case, since we're only using it on mouseover event, and canceling it on mouseout.

Use case

Copy the entire function addAnimatedImage(parentGroup, options) { /.../ } function into your code, and then invoke it like such:

var animatedImage = addAnimatedImage(win, {
 mouseoutImages: 'path to a folder with MOUSEOUT png sequence',
 mouseoverImages: 'path to a folder with MOUSEOVER png sequence',
});

License

Apache 2.0 licence

About

An example of how to use an animated sequence of *png* images for the `mouseover` event on an `Image object` in the After Effects ScriptUI panel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /