Jahdrien/FileReader — pull request #18 by amcintyre-cs (2012-10-08 20:02:38+00:00)
Title: Ensure this.ready is always set in onSWFReady

Moved up when this.ready is set; made it set conditionally on whether or not `this.swfObject` has its add method present. There were cases when this.ready may not have been set before the if test in `onSWFReady` was called; if there was a single element on the page, that could result in this.ready not being set and the `readyCallbacks` not firing. Moved up the assignment and made it conditionally based on whether or not that `add` method is present.

Should fix that issue. Sorry about that!