This is a small one, but I banged my head several times now before fixing it. Although many have written about it, I decided to write also. More resources are always better than fewer resources :-)

So you’ve created the flash object, correctly set the URL, but when embedding it on the web page on your web server, the link doesn’t work. The solution is quite simple: you need to set allowScriptAccess to sameDomain or even always if sameDomain doesn’t do the job.

And of course, you need to do that for both the object and the embedtag. For example:

1
<object width="295" height="240" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">    <param name="allowScriptAccess" value="always" />    <param name="allowFullScreen" value="false" />    <param name="movie" value="http://server/flash.swf" />    <param name="quality" value="high" />    <embed src="http://server/flash.swf" quality="high" allowscriptaccess="always" allowfullscreen="allowfullscreen" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="295" height="240" /></object>

Using this parameter, the flash object will now allow linking to the HTML page set in the flash object.

Blogged with Flock

Tags: , , ,

Leave a Comment:

Your email address will not be published. Required fields are marked *