Jump to content
Search Community

Android Webview's performance (Timeline)

yoshiboarder test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello.. I'm a newbie. but I'm a big fan of GSAP. 

 

I have  been used greensock to animate UI in ActionScript.

 

I have a question about android performance!

 

I'm trying to animate 7~8 UI Elements such as 3 Text Fields, Buttons, and Layers.

(7~8 Elements will be moved same time)

 

I have a 3 files. 

 

- pages.html

- pages.css

- pages.js

 

also It is includedgreensock libraries..

 

here is my sample code. (in pages.js)

 

 

var startTimeline=new TimelineLite({pause:'false'});

 

//For 7~8 UI Elements..

var startUIElements1=new TimelineLite({........});

.

.

.

.

var startUIElements2=new TimelineLite({........});

 

startTimeline.add=[, ,, ,, , ];

 

lastly

 

when I click button than

 

startTimeline.start();

 

when I click button one more than

 

startTimeline.reverse();

 

 

sorry for sharing my full code.

 

What's problem?

 

I wish to use greensock library to animate in android webview smoothly.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...