Results 1 to 3 of 3

Thread: Asynchronous functions or ?

  1. #1
    Join Date
    Feb 2013

    Question Asynchronous functions or ?

    I am creating a plugin that will be embedded in a web page as an object (application MIME type). This plugin will handle a type of peer to peer connection for transferring data back and forth between the peers. On the page will be different controls for executing functions within the plugin... one being the creation of a connection between the two peers. My problem is that when I am creating the connection you can't click on anything... you can't change browser tabs... nothing... it is almost like the browser has frozen. I have tried a number of asynchronous methods like using callbacks and setTimout(function(),0) but regardless of what I try, it always experiences this freeze, does anybody have any suggestions on what I might do/try to solve this problem?

  2. #2
    Join Date
    Jul 2008
    urbana, il
    you can use the chrome profiler to point the blame, but im guess it's part of the java/flash object that does it.
    if that's the case, there's little you can do about it in javascript.
    Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com

  3. #3
    Join Date
    Feb 2013
    Thanks rnd me, that pretty much confirms my suspicions as well...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles