This is the error I am seeing. Strangely the part after the word "access" is 
left blank. Which leads me to believe it is some kind of timing bug on my side 
however, the trigger for this function is the ID3 event. I also tried waiting 
for the COMPLETE event but the same issue occurs. As I mentioned the mp3 file 
is on the same server so I'm not sure why it would be looking for a policy file 
at all. The files are in different directories however if that gives some clue.

SecurityError: Error #2122: Security sandbox violation: Sound.id3: 
http://content.dev.com/char/engines/engine.swf cannot access . A policy file is 
required, but the checkPolicyFile flag was not set when this media was loaded.

Thanks for your help.


----- Original Message -----
From: "Taka Kojima" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Thursday, April 2, 2009 8:08:05 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Flashcoders] id3 runtime error

Hey Dave,

Can you paste the exact error message?

On Thu, Apr 2, 2009 at 4:51 PM, Dave Segal <[email protected]> wrote:
> I have a bug that is driving me nuts. I am loading an mp3 file from the
> same server as my swf. About 1 in 30 tries when trying to reading the id3
> tags after the ID3 event I get a runtime error telling me I need to load
> the crossdomain policy file in order to access the tags. I tried setting
> the checkpolicyfile flag to true and placing a valid crossdomain.xml on
> the server but the error occurs with the same frequency.
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to