Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
borbulon

milliseconds vs second and timeScale

Recommended Posts

I have data that comes to me as milliseconds, and I was wondering if:

 

a) there are any drawbacks to using `timeScale(1000)` in a TimelineLite instance to "simulate" milliseconds

 

B) if it's a bug that I can attempt to set a child timeline at, say, 5000, but when I inspect the parent timeline it can appear at, say, 5002 (can, not always does, not consistently reproducbile) 

 

Thanks!

Link to post
Share on other sites
a) there are any drawbacks to using `timeScale(1000)` in a TimelineLite instance to "simulate" milliseconds

 

 

Not that I can imagine, no. Should work just fine.
 
B) if it's a bug that I can attempt to set a child timeline at, say, 5000, but when I inspect the parent timeline it can appear at, say, 5002 (can, not always does, not consistently reproducbile.

 

I don't know that I understand the question. If you could produce a simple demo that shows this happening (even sometimes) we will be better equipped to address it.

 

 

--- Edit ---

 

On second thought if by chance there was some minuscule rounding error happening of say .001 and you were to multiply it 1000, I suppose one could consider that a drawback. In your situation you seem to be implying that something is off by 2 milliseconds. I'm sure once we see what is happening we'll be able to help more.

Link to post
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.

×