Tag: quirks
System.security.loadPolicyFile not found
by Josh on Apr.25, 2005, under ActionScript, Flash
Was recently working on a project that required loading the policy file from a location other than the default one. So, I tried using System.security.loadPolicyFile, but everytime I had Flash check my syntax or tried publishing, I’d get a “method not found” error. This was driving me nuts because because the method was showing up in the code-hinting box, so Flash obviously knew that it existed, it just couldn’t find it.
Why isn’t this documented?
by Josh on Mar.17, 2005, under ActionScript, Development, Flash
I know that with the 7.2 update, Macromedia made some major improvements on the last release of Flash IDE, as well as improvements in the documentation. However, it seems that even more improvement needs to be done.
Don’t forget your Content-Length
by Josh on Feb.09, 2005, under Flash
As a followup to my post the other day about some loading issues I was having, here’s some more of the story:
After we got the crossdomain.xml file fixed things started working great. Or so we thought. It worked in everything BUT Internet Explorer on Windows (XP, ME, 2000). Obviously, as much as we can’t stand IE at work, we still have to support it. I’d spent the last two days searching every forum and site I could find looking for an answer, but all I found were more people asking the same question I was. Finally today we found the problem. The JSP code running on the content server that was serving the mp3 files for us was not explicity setting the Content-Length header when it returned the mp3’s. Apparently, Safari, FireFox, and IE on Mac don’t care about this, but as soon as the content server guys added that header to the JSP, it worked beautifully in IE in Windows.
I don’t really understand too much the details of exactly why this happens with the combo of IE on Windows and the Flash player, but I’m sure that someone out there might. If you know, I’d like to know as well. Drop me line either through a comment, or using the contact form to the right.