actionscript 3 - Funky SWF loading problem in Flash CS5 with AS3 -


I have seen a solution to my problem on SO, Google and Bing, but to no avail.

NB is in relation to AS3 / CS5 on Windows 7 Pro x64.

I have a SWF that loads another SWF in AS3.

It was working fine tomorrow morning

Then I have another SWF, completely different, and some XML content files and once I run the project for a second time, the other The SWF started to flash and loaded once through its content. First by SWF

I could not understand what I did to become the cause of this problem and there is no clue!

I should have taken only 10 minutes, wasted her entire work day.

The loading SWF problem loads SWF and detects the details in the document class to load SWF performs fine but it does not appear that the second SWF document is to the constructor of the class Is executed because I do not see any trace statement executed.

I was the issue of the same issue on Thursday and another error occurred in a class related to SWF and it was quickly resolved.

However, no code is relevant, during this time the SWF was changed for the problem and the problem is that the SWF prepares a penalty with strict mode.

I have copied the code from my laptop (Windows 7 Pro 32 bit), where I did everything well and I found once my god got the same problem on the PC.

I do not remember changing anything for my PC flash / actionscript development environment and tear out the hair that I do not have!

> I am working on my laptop now but it is not a permanent solution.

Does anybody know how I can track this problem systematically ???

I'm starting to regret I never met in Flash / AS3; It is not possible to run a gap on the entire Dev environment and know exactly what is wrong.

I do not see anything in the Windows Event Log, what are the Flash Logs I can see? So far, I have not got anything and cursed the day I saw it on the flash.

Any ideas ??

Thank you! Chris

Since you say that the second SWF document does not take into account the class, you should have a Unable to reproduce the error by creating a basic test SWF with the document class

Sometimes, returning to the basics can be a good way to solve the problem ...

If you are unable to reproduce the error with the original SWF, then this is your second Error Sdblyuef if it is such a large system, it will help to identify would be wise to break it into smaller components, this problem is likely to improve the structure.

If you can reproduce the error, then I suggest trying to reinstall ...


Comments