This line cause it to crash: SIM_SOUND_WORKER.start() The strange thing is that it loads worker just fine but when I start it that is when it crashes. But I also tried with empty worker and crashes also. I am using to play sounds so it has embeded mp3 files. The ShapesInMotionSound.swf is inside src folder of a project. SIM_SOUND_tSharedProperty("condition", SOUND_WORKER_CONDITION) SOUND_WORKER_CONDITION = new Condition(SOUND_WORKER_MUTEX) SIM_SOUND_tSharedProperty("mutex", SOUND_WORKER_MUTEX) Protected function _onSoundWorkerLoadComplete(event:):void WorkerLoader.load(new URLRequest("ShapesInMotionSound.swf"), loaderContext) Var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain) Anyway - if we can get that crash resolved then all of these issues can go into a quick patch release early next week. I keep on thinking, we need to develop a "proper" game that we can use as a real-world test case for all this rather than lots of smaller individual test files. We're not sure of the issues for these crashes though and aren't seeing them with our test cases: would it be possible for you to zip up your content and email it to us and we can try running it through a debug build to see what goes wrong? earlier ones (with 33.1.0.37 anyway) were the result of us not setting up the code context for execution of the splash screen: it worked for our basic SWFs used as test cases, but when particularly additional tags were in the SWF it started failing. We may need to revisit this in more detail, but for now we are able to dispatch the expected events at the expected time once the splash screen has disappeared, so this part will work now.Ĭrashes. So this is related to where we inject the splash screen. Running ADL from Flash Builder not picking up the license file -> we hadn't thought to check this case I'm afraid, we've found the problem and it needs a code change, apparently we don't have a workaround.Ĭapturing the loader info events: this appears to be a timing issue where the splash screen is deferring all of the creation of the main SWF file, but the actual 'loader complete' event is still being dispatched earlier on, once the SWF is primed and ready to go. That's not good!! Okay so a quick summary of where we're at:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |