|
From: Luke B. <lb...@gm...> - 2004-11-17 19:22:25
|
Hey Daniel, I was just talking with another developer that says he can spend some time on this tonight. The real problem is that neither Ali nor I can reproduce these issues, so we can't tell if they get fixed. If you have (or someone else that sees these bugs has) some familiarity with JSFL, we would be endlessly grateful for some assistance with these issues. Here is our first major thought on this... Is your .FLA file sitting in a new and actually EMPTY directory? If you created it on the Desktop or some other populated area, the Create Class command will continuously spin over your entire hard-disk looking for .as files and trying to create TestSuites. This is the most likely cause of the problem since we don't do anything to Drawing Tools or Key Commands. Perhaps it's just hanging Flash because of this? If that's not the case, here are some other ideas that we had: I'm hearing two different bugs that may or may not be caused by one thing: Bug 1) Drawing Tools are no longer responsive after calling "create class" Bug 2) F-Keys are no longer responsive after calling "Create Class" Basically, I think that these bugs are coming from one or more of the following places: 1) The way that I am instantiating the JSFL scripts. Maybe the instantiated JavaScript Object isn't being garbage collected or released from memory? - Try changing line 309 of Create Class.jsfl from: var createClass = new CreateClass(); to: crClss = new CreateClass(); delete crClass; 2) Maybe the calls to external JSFL files are causing a problem. - Check for fl.runScript calls and see if the behavior persists when you get rid of them. 3) Maybe the interactions with the Library are causing the Problem. - Try commenting all of that functionality and deselect the library checkbox. 4) Maybe "addDataToDocument" commands aren't releasing control of the FLA. - Comment these out at lines 105 thru 109 5) Maybe the AsUnit UI is capturing Key control from the IDE. - Try closing the UI Panel when you call Create Class. - Does this fix any or all problems? Please let me know! Thanks, Luke Bayes www.asunit.com |