Debug JavaScript injection in ActionScript (Flash Builder)
问题 I'm working on a InDesign CS6 Extension in Adobe Flash Builder 4.6. For some reason my code (which worked fine for a long time) now throws the error null is not an object . The error is located in a javascript injection (last line): public class Script { private static var _instance:Script; [ Embed (source="script.jsx", mimeType="application/octet-stream") ] private var ScriptClass:Class; private var jsxInterface:HostObject; public function Script() { if (Script._instance) { throw new Error(