Application.application.url?
But yeah, better to rely on the player. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, June 11, 2008 9:50 PM To: [email protected] Subject: Re: [flexcoders] Check for crossdomain.xml from Flex? I wasn't sure it'd really give much benefit, but I thought I'd ask. I don't think parsing it yourself will really be possible though, unless Flex knows what the browser / player thinks is the current URL? But anyway, I think I'll stick with looking for security faults if there's nothing built-in :) Cheers, -Josh On Thu, Jun 12, 2008 at 2:29 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I'm not sure what is faster, but crossdomain.xml can usually be fetched via URLLoader and examined. My guess is watching for SecurityError is easier and just as efficient. ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Josh McDonald Sent: Wednesday, June 11, 2008 7:21 PM To: [email protected] <mailto:[email protected]> Subject: [flexcoders] Check for crossdomain.xml from Flex? Hey guys, Quick question - is there an easy way to check for a crossdomain.xml file on a particular host? And can Flex interpret that for you with a "can I post to this server?" flag, or do you just need to have a crack at it and look for a security error? -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

