Coder Social home page Coder Social logo

Comments (2)

pisi avatar pisi commented on June 24, 2024

2011/7/24 sn3p [email protected]:

Hi pisi,

I'm wondering, how i can get the current row?

I found your jsfiddle sample where you retrieve the current frame via .data("frame").
I tried the same with .data("row") but it returns decimal values between 0 and 1.

See this example: http://jsfiddle.net/wzzyS/

How to get the actual row?

Hi sn3p,

when I follow the github link to this issue
(#50), I see a completely different
post than this one. So here's the answer to the e-mail question
directly:

The "row" data is a bit different from the way values of "frame" work.
It is much more similar to "fraction" data value. Both "row" and
"fraction" have values ranging from 0.00 to 1.00 and in order to get
the actual value like frame, you need to multiply it with the total
number of frames, round the result and you get "frame". "frame" is
stored in the data, but not the "row frame", which you will need to
calculate by multiplying it with number of rows.

Hope this helps,

.pisi

Petr Vostřel ~ petr.vostrel.cz ~ [email protected]

from reel.

pisi avatar pisi commented on June 24, 2024

And to your issue with start frame, it indeed is a duplicate, so I'm closing this issue as a duplicate of #42. Please follow that issue.

from reel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.