Pennimus
03-13-2006, 11:46 PM
Hi all,
I've recently been supplied some code to embed some flash in my site from a third party. The code specifies "sameDomain" as the value of allowScriptAccess.
I've looked through Macromedias official documentation on allowScriptAccess and I can only find reference to two possible values - "always", and "never".
Does anybody have any information on the purpose of "sameDomain"?
On another note, as I'm validating my pages as XHTML 1.1, I'm also going to need to fiddle with the code somewhat.
What I've currently got :
<embed
style="
width:400px;
height:326px;"
id="VideoPlayback"
align="middle"
type="application/x-shockwave-flash"
src="path to file"
allowScriptAccess="sameDomain"
quality="best"
bgcolor="#ffffff"
scale="noScale"
wmode="window"
salign="TL"
FlashVars="playerMode=embedded">
</embed>
I understand that I need to use this instead :
<object type="application/x-shockwave-flash"
data="path to file"
width="400" height="326">
<param name="movie" value="path to file" />
</object>
My question - where do the other values in the original code fit in? Especially allowScriptAccess, which I understand is quite important when embedding remote flash movies.
I've recently been supplied some code to embed some flash in my site from a third party. The code specifies "sameDomain" as the value of allowScriptAccess.
I've looked through Macromedias official documentation on allowScriptAccess and I can only find reference to two possible values - "always", and "never".
Does anybody have any information on the purpose of "sameDomain"?
On another note, as I'm validating my pages as XHTML 1.1, I'm also going to need to fiddle with the code somewhat.
What I've currently got :
<embed
style="
width:400px;
height:326px;"
id="VideoPlayback"
align="middle"
type="application/x-shockwave-flash"
src="path to file"
allowScriptAccess="sameDomain"
quality="best"
bgcolor="#ffffff"
scale="noScale"
wmode="window"
salign="TL"
FlashVars="playerMode=embedded">
</embed>
I understand that I need to use this instead :
<object type="application/x-shockwave-flash"
data="path to file"
width="400" height="326">
<param name="movie" value="path to file" />
</object>
My question - where do the other values in the original code fit in? Especially allowScriptAccess, which I understand is quite important when embedding remote flash movies.