Flash/Flex AS3 BugFix: Error: #1074: Illegal write to read-only property String on global.

#1074: Illegal write to read-only property String on global.

What an extremely obscure description that is.  Most google results say something or other about setting "application domain".  This can be an issue if you are using / loading external files across domains...

In my case, this issue was simply a loose type declaration:

 ex:

_baseURL:String = _domainURL;

 left over :String from when it was a function scope variable...  removing the :String fixed error.

No comments (Add your own)

Add a New Comment

Enter the code you see below:
code
 

Comment Guidelines: No HTML is allowed. Off-topic or inappropriate comments will be edited or deleted. Thanks.