I asked a question about this on Friday with no response but here goes
again this time with more details. It seems like the Flash compiler is
choking on the System class when I delete the ASO cache and compile. Here
is all the code in my test fla:
System.security.allowDomain(" <http://www.mydomain.com>
www.mydomain.com");
System.exactSettings = false;
and here is the compiler error I get from the System.as:
**Error** C:\Documents and Settings\dave\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Classes\FP8\System.as: Line 7:
The name of this class, 'System', conflicts with the name of another class
that was loaded.
{
Switch the order of the lines:
System.exactSettings = false;
System.security.allowDomain(" <http://www.mydomain.com/>
www.mydomain.com");
and here is the compiler error I get from the security.as class
**Error** C:\Documents and Settings\dave\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Classes\FP8\System\security.as:
Line 7: The name of this class, 'System.security', conflicts with the name
of another class that was loaded, 'System'.
It seems that the problem is related to the fact that there is both a
System.as class, which defines exactSettings, useCodepage, setClipboard,
etc, and a System folder which contains the System.security,
System.capabilities, and System.IME classes. When both the System package
and the System class are referenced the compiler throws an error. I
searched around and was surprised that I couldn't find any information
related to the conflict. Does anyone know how to resolve this?
Thanks
Dave
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com