--- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]> wrote: > > > On Mar 25, 2008, at 12:32 PM, shivkxr wrote: > > > > Try..catch around the ExternalInterface call? > > > > > > Tracy > > > > That's the best that can be done? > > > Unless you have control over the HTML, yes that's the best you can do. > > That's the point of this security by the way. SWF files cannot > control the sandbox - it's not their place to do so. The HTML > containing the SWF file is responsible for the security of the SWF > file itself. > > If SWF files could do anything like that running in the browser, it > would be bad, very bad. > > - jon >
Jon, That's not what I meant. What I meant was there should be a method/property available that provides this information. I don't believe a try-catch is the best way to determine if you can do something or not. I'm not saying that security is a bad thing. What I'm saying is it feels like you've been blind folded, because the Flash Player/Flex does not give you an idea of what your confines are without you hitting your haed against a wall and then finding out you've hit a boundary.