So, i'm having some trouble with this line of code:
var videoInterval = setInterval(videoStatus,100);
It calls the following function:
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!
Is the different spelling of the function name a typo here or a typo for real (one is capitalized)?
No, thats not a real typo. I have them the same in my actual AS file.
Thanks, got it figured out. It was a typo in a different part of my script. Thanks!