In which way it won&#39;t work?<br><br>One additional thing related to <span style="font-weight: bold;">crossdomain and images</span>.<br>If you want to access the content of the loaded image from AS (<code><font style="font-family: arial,sans-serif; color: rgb(0, 0, 153);" size="2">Loader.content</font>)</code>, then you should set the context of load instruction to check the policy file.<br>
<span style="font-family: courier new,monospace; color: rgb(0, 0, 153);">import flash.system.LoaderContext;</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 153);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 153);">context = new LoaderContext();</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 153);">
<span style="font-family: courier new,monospace; color: rgb(0, 0, 153);">context.checkPolicyFile = true;</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 153);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 153);">loader=new Loader();</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 153);">
<span style="font-family: courier new,monospace; color: rgb(0, 0, 153);">var request:URLRequest = new URLRequest(url);</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 153);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 153);">loader.load(request, context);</span><br>
<br>
<p>If you attempt one of these operations without having specified 
<code>checkPolicyFile</code> at loading time, you may get a 
<code>SecurityError</code> exception because the needed policy file has not been 
downloaded yet.</p>
<p>When you call the <code>Loader.load()</code> method with 
<code>LoaderContext.checkPolicyFile</code> set to <code>true</code>, Flash 
Player does not begin downloading the specified object in 
<code>URLRequest.url</code> until it has either successfully downloaded a 
relevant cross-domain policy file or discovered that no such policy file exists.</p><br>All the best,<br>Sinisa Rudan<br>--------------------------------------------------------------------------<br>Associate editor of multimedia part of <span style="font-weight: bold;">InfoM </span>Journal,<br>
Journal of Information technology and multimedia systems.<br><a href="http://www.infoM.org.yu">http://www.infoM.org.yu</a><br><br><span style="font-weight: bold;">MAGIC WAND <span style="color: rgb(255, 0, 0);">solutions </span><font size="4">* </font>Studio</span><br>
founder and owner<br><a href="http://www.MagicWandSolutions.com">http://www.MagicWandSolutions.com</a><br><a href="http://www.sinisarudan.com">http://www.sinisarudan.com</a><br>--------------------------------------------------------------------------<br>
<br><div><span class="gmail_quote">2008/3/8, Timothy Garner &lt;<a href="mailto:aussietmbo@gmail.com">aussietmbo@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Thanks!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>That worked fantastic. One issue though, It seems the newest version of flash player won&#39;t play my swf&#39;s correctly. And it seems to be only with IE. Firefox runs them fine. </div>
<div>&nbsp;</div>
<div>Any suggestions?</div>
<div>&nbsp;</div>
<div>Tim</div><div><span class="e" id="q_1189002e2c412690_1">
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Thu, Mar 6, 2008 at 9:38 PM, Karega McCoy &lt;<a href="mailto:karega.mccoy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">karega.mccoy@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Tim you are going to have to create a an XML file named<br>crossdomain.xml that will establish a policy for your own<br>

localdirectory. &nbsp;First ensure that you have the paths correctly<br>entered in your source code and then create the XML with the following<br>tags and content...<br><br>&lt;?xml version=&quot;1.0&quot;?&gt;<br>&lt;!DOCTYPE cross-domain-policy SYSTEM<br>

&quot;<a href="http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd</a>&quot;&gt;<br>
&lt;cross-domain-policy&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;allow-access-from domain=&quot;*&quot; secure=&quot;true&quot;/&gt;<br>
&lt;/cross-domain-policy&gt;<br><br>Note the most important tag in the markup, &lt;allow-access-from<br>domain=&quot;*&quot; secure=&quot;true&quot;/&gt;, this ensures that you are able to access<br>the content in the directory where the data is stored from any server<br>

hosting your SWF. &nbsp;Be aware that allow-access-from domain=&quot;*&quot; is a<br>wildcard so anyone else can access assets stored on the direct where<br>this file has been placed. &nbsp;To restrict access to specific domains<br>

please enter the domain name where you plan to place your SWF where<br>the * is located.<br><br>The secure property of the tag notes that if the assets are located on<br>an server with https protocol that only a server with https protocol<br>

may access those assets.<br>
<div>
<div></div>
<div><br><br>On 3/6/08, Timothy Garner &lt;<a href="mailto:aussietmbo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">aussietmbo@gmail.com</a>&gt; wrote:<br>&gt; Ok this is really strange and I hope someone out there has the answer.<br>
&gt;<br>
&gt; I&#39;m using 3D planes and xml to play videos in Flash w/ GreatWhite.<br>&gt;<br>&gt; While testing in flash I get this error:<br>&gt;<br>&gt; &quot;SecurityError: Error #2123: Security sandbox violation: BitmapData.draw:<br>

&gt; file:///C|/Work/FlashLoaded/Project1/cubeNavigation4.swf<br>&gt; cannot access unknown URL. No policy files granted access.&quot;<br>&gt;<br>&gt; However if I publish the swf. and run it from the desktop or hardrive it<br>

&gt; runs perfectly. The VideoStreamMaterials changes and updates correctly.<br>&gt;<br>&gt; but then when I upload to my domain - it&#39;s stops functioning properly!<br>&gt;<br>&gt; Why does it work from my own harddrive and not from the web or in flash?<br>

&gt;<br>&gt; I know this is a Security issue, just unsure how to solve it.<br>&gt;<br>&gt; Thanks in advance.<br>&gt;<br>&gt; Tim G<br></div></div>&gt; _______________________________________________<br>&gt; osflash mailing list<br>

&gt; <a href="mailto:osflash@osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">osflash@osflash.org</a><br>&gt; <a href="http://osflash.org/mailman/listinfo/osflash_osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://osflash.org/mailman/listinfo/osflash_osflash.org</a><br>
&gt;<br>
&gt;<br><br>_______________________________________________<br>osflash mailing list<br><a href="mailto:osflash@osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">osflash@osflash.org</a><br>
<a href="http://osflash.org/mailman/listinfo/osflash_osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://osflash.org/mailman/listinfo/osflash_osflash.org</a><br>
</blockquote></div><br>
</span></div><br>_______________________________________________<br>
osflash mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:osflash@osflash.org">osflash@osflash.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://osflash.org/mailman/listinfo/osflash_osflash.org" target="_blank">http://osflash.org/mailman/listinfo/osflash_osflash.org</a><br>
<br></blockquote></div>