Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Dave Segal
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 t...@gigafied.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
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 d...@oddcast.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Dave Segal
Joel,
I am not sure of the ID3 version. Does that matter? Would different versions of 
the ID3 tags cause this type of inconsistent failure?
Dave

- Original Message -
From: Joel Stransky stranskydes...@gmail.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 3, 2009 12:01:11 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Flashcoders] id3 runtime error

Are they id3 version 1 or 2?

--Joel

On Apr 2, 2009, at 7:51 PM, Dave Segal d...@oddcast.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Taka Kojima
Do you have firebug?

Is it possible that it's using the wrong path or even trying to
request  when it makes the call? If you have firebug, you can look
at all of the http requests through the net panel.

If you're using a variable to make the load call, try hardcoding a
value and see if that solves the issue...

Although, I'm not sure if Flash is throwing the security error if it
will even show up.

Can you paste the code that does the loading and event handling?

- Taka

On Fri, Apr 3, 2009 at 10:49 AM, Dave Segal d...@oddcast.com wrote:
 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 t...@gigafied.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 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 d...@oddcast.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] id3 runtime error

2009-04-03 Thread Dave Segal
I see the request in the headers and when I debug with Flex, the variables all 
appear to be declared correctly. I tried hardcoding the url as well but I get 
the same issue. I'm stumped. I suppose I can just catch the error and try to 
reload the mp3 file though that is a very unsatisfying solution.

I'll see if I can create a simple example of the issue and post to the forum.

Thanks for you helping Taka.


- Original Message -
From: Taka Kojima t...@gigafied.com
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 3, 2009 2:07:54 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Flashcoders] id3 runtime error

Do you have firebug?

Is it possible that it's using the wrong path or even trying to
request  when it makes the call? If you have firebug, you can look
at all of the http requests through the net panel.

If you're using a variable to make the load call, try hardcoding a
value and see if that solves the issue...

Although, I'm not sure if Flash is throwing the security error if it
will even show up.

Can you paste the code that does the loading and event handling?

- Taka

On Fri, Apr 3, 2009 at 10:49 AM, Dave Segal d...@oddcast.com wrote:
 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 t...@gigafied.com
 To: Flash Coders List flashcoders@chattyfig.figleaf.com
 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 d...@oddcast.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] id3 runtime error

2009-04-02 Thread Dave Segal
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] id3 runtime error

2009-04-02 Thread Taka Kojima
Hey Dave,

Can you paste the exact error message?

On Thu, Apr 2, 2009 at 4:51 PM, Dave Segal d...@oddcast.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] id3 runtime error

2009-04-02 Thread Joel Stransky

Are they id3 version 1 or 2?

--Joel

On Apr 2, 2009, at 7:51 PM, Dave Segal d...@oddcast.com 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders