mvcExpress-framework icon indicating copy to clipboard operation
mvcExpress-framework copied to clipboard

Detect if worker SWF is compiled with different CONDIG::debug settings, and show helpful error message.

Open MindScriptAct opened this issue 10 years ago • 1 comments

compiling workers with different debug modes will lead to bad ovveride error crash. It would be nice in framework could check if both swf files are compiled under same debug mode, and give good error text in case of crash.

MindScriptAct avatar May 24 '14 22:05 MindScriptAct

If you try to load debug module swf from release module - VerifyError will be throwns.

The only way to catch it is to load swf as binary, and then parse its data, and detect debug module.

Examlpe of this : http://stackoverflow.com/questions/3263166/handle-verifyerror-error-1014-when-loading-swfs-using-as3

MindScriptAct avatar Jun 17 '14 01:06 MindScriptAct