I altered one of the examples to add that line of code and it compiled without errors.
GoogDepsWriter is going around looking for JS files for classes required by other JS files. EventDispatcher (if it is org.apache.royale.events.EventDispatcher) should be in Core.swc, but if you referenced some other EventDispatcher and it was in your CreateJS.swc and there was no JS file for it, it could cause a problem in GoogDepsWriter, but I'm not sure it should have made a difference if you created the EventDispacher in the static initializer or not. Referencing a class in a static initializer does affect GoogDepsWriter. It will give priority when removing circulars to classes referenced in static initializers, but at some other point, it should have gone looking for EventDispatcher and successfully find it in Core.swc, or fail to find its JS file. [ Full content available at: https://github.com/apache/royale-compiler/issues/47 ] This message was relayed via gitbox.apache.org for [email protected]
