3 Replies Latest reply on Apr 25, 2009 1:45 AM by izdo89

    setInterval?!?

    izdo89 Level 1

      So, i'm having some trouble with this line of code:

       

                                    var videoInterval = setInterval(videoStatus,100);

       

      It calls the following function:

       

                                    function VideoStatus(){
                                        amountLoaded = ns.bytesLoaded / ns.bytesTotal;
                                        controls.scrubber.loadbar._width = amountLoaded * 233;
                                        controls.scrubber.scrub._x = (ns.time / duration) * 223;
                                    }

       

      Neither of the commands in the function are working. If anyone has a suggestion, please let me know. Thanks!