Hey your right :) If i goto http://domain.com/tool.html
It will throw errors when loading SWFs but if i goto: http://www.domain.com/tool.html It works perfectly..... Never seen that before so its new to me. Thanks for your input. Clark. On 29 June 2010 09:09, Clark Stevenson <[email protected]> wrote: > > I allowed every single combination i could think of: > > "domain.com" "http://domain.com" "http://www.domain.com" "www.domain.com" > and so on, even "*" > > Still the same error :( > > > > > On 29 June 2010 06:35, Alex Harui <[email protected]> wrote: > >> >> >> In Flash, “domin” is not “domain” is not “domain.com” >> >> >> On 6/28/10 3:34 PM, "Clark Stevenson" <[email protected]> wrote: >> >> >> >> >> >> >> >> Hi everyone. >> >> My problem seems pretty simple. Im trying to load a SWF into a SWFLoader >> in FB4. >> >> I get this error in the debug view locally, but also when on the test >> server. >> >> SecurityError: Error #2121: Security sandbox violation: Loader.content: >> http://domin/dir/tool.swf/[[DYNAMIC]]/2<http://domin/dir/tool.swf/%5B%5BDYNAMIC%5D%5D/2>cannot >> access >> http://domain/dir/dir/2.swf. This may be worked around by calling >> Security.allowDomain. >> >> I am not trying to pull SWFs from any other swf. >> >> I have a * in my crossdomain.xml >> >> I have set: >> >> Security.allowDomain("domain.com <http://domain.com> "); >> >> >> In the creation complete event. >> >> >> Hmm does anyone know how i can solve this? I googled it and went through >> the first 2 pages, tried loading a policy file, and a few other things. >> >> Its a new server, so maybe i have missed something in my setup as i have >> never run into this before. >> >> Thanks. >> >> >> >> >> >> >> >> -- >> Alex Harui >> Flex SDK Team >> Adobe System, Inc. >> http://blogs.adobe.com/aharui >> >> > >

