POLALA.COM
welcome to my space
X
Welcome to:polala.com
Web Design | Video Games | RVs | Religion | Management | Supplements and Vitamins | Software | Basketball | Related articles
Search:  
NAVIGATION - HOME
setInterval effected by framerate?
Published by: webmaster 2009-01-09

  • I'm trying to do some setPixel() drawing at high speeds and I'm running into some weirdness with setInterval. I was under the impression that by setting a interval to run you were effectively running the function independent from the time line until the interval is cleared.
    Adobe - Developer Center : Creating toast-style windows::
    Note: The enterFrame event is dispatched at the underlying frame rate of the application. but you could use the JavaScript setInterval() function if you prefer.
    http://www.adobe.com/devnet/air/ajax/quickstart/creating_toast-style_windows.html
    HOME

    If i set the interval time to 10 or 1ms the function runs a different speeds depending on the framerate of the movie. Shouldn't it just run as fast as possible regardless of the framerate? Any experience on this?

    thanks!


  • internet connection speed is also a factor to slowdown setInterval.
  • Adobe - ActionScript 1 and 2::
    After Effects. ColdFusion. Creative Suite family. Dreamweaver. Flash Professional. Flex losing frame rate - rquantin - 10/12/2006 08:16:39 AM
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forudid=1204298&enterthread=y
    HOME
    MetaL - Browse the CVS repository::
    43: timeout = effect.duration * 1000 / this.frameRate ! 44: if(timeout < 1) ! 45: timeout = 1 ! 93: this.poll = setInterval(this.stepEffects, timeout < 1 ?
    http://www.meta-language.net/cvs/forms/animation.js?annotate=1.1
    HOME


  • i was under the impression that it had the ability to execute functions faster than the framerate, that's why you use updateafterevent() to force the screen redraw.
  • Creating a screen with autotyping readout text::
    Set the framerate - speed of your movie (2) to 30 fps. Make the background The setInterval command is used when you wish to call and execute a function in
    http://flashexplained.com/text/creating-a-screen-with-autotyping-readout-text
    HOME


  • setInterval will still be slowed down by lag, though, and changing the framerate may be increasing (or decreasing) the load on the processor.


  • I believe that even if you set an interval, it will still execute the code on the nearest frame to your interval.

    So if you set it to 1 ms, it will only run at your framerate, but if you set it to 1000ms, it will be every fps'th frame.

    See what I'm saying?





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market

    PRINT Add to favorites
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about setInterval effected by framerate? , Please add it free.
  • before i buy can vb do the following for me
  • vbulletin or not vbulletin
  • lack of support from vbulletin
  • google indexing private forums
  • which hosting plan for
  • illegal vbulletin software
  • pre purchase test failure help please
  • general inquiries
  • changing colors styles
  • paying with paypal
  • blog pre sales question
  • pre sales how to make a blog entry
  • can i convert from community server
  • need one
  • confused
  • one year buy vs one year lease
  • can i import new users as csv file
  • can vbulletin charge commission one each transaction
  • phpbb to vbulletin revisted
  • enquiry on vbulletin s social networking features
  • how to change from phpbb 3 0 to vb 3 6 8
  • can i convert from phpbb3
  • mudar
  • one license for live site and development
  • moving hosts
  • about same licence different domains
  • vbulletin and preventing spam

  • About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 polala.com All Rights Reserved
    Site made&Support support@polala.com    E-mail: web@polala.com