#637 ✓ staged
cadecairos

Start can be called before scripts loaded in Processing plug-in

Reported by cadecairos | June 27th, 2011 @ 03:21 PM | in 0.8 (closed)

If the network is slow enough and a processing sketch is to display at 0 seconds, the start method will be called before the sketch files have loaded, causing an error to be thrown in processing.js. (a.draw undefined)

Simple fix, just gotta check options.codeReady in start() to ensure the sketch is ready to have loop called.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.

Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.

Shared Ticket Bins

Pages