It's been a busy week. The first couple of days were frustrating, tiring, and one-step-forward-one-step-back kind of days. The last few days have been much more productive, fun even! I thought it would be a good idea to record some of what I found in case I encounter it again, or other people do.
The first one is relatively straightforward. Essentially, when using Silverlight (and I imagine many other plugins) don't mix up your events! Silverlight allows so-called
onReady event. Calling custom methods or setting properties before the custom event fires may not work, as the plugin has loaded, but the custom content run by the plugin may not have loaded yet.
Error calling method on NPObject!. This error is rather vague, and doesn't say much about what is going on. There is some information about it on the Mozilla developer site. In Flash this error can be due to security issues, such as those described in this StackOverflow question.