Page 1 of 1

Rreal-time gauges in a secound Domain

Posted: Wed 07 Sep 2011 6:40 pm
by BlueTec
Hi, I want the real-time gauges set in a second website. It is not the same domain. How and what do I change the following statement.

Thank you for your help!


<!-- This is the real time wind display. If you don't want to use it, delete everything between this comment and the next one. -->
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
id="CumulusRealtime" width="600" height="300"
codebase="http://fpdownload.macromedia.com/get/fl ... wflash.cab">
<param name="movie" value="CumulusRealtime.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name='flashVars' value='interval=<#realtimeinterval>'/>
<param name="allowScriptAccess" value="sameDomain" />
<embed src="CumulusRealtime.swf" quality="high" wmode="transparent"
width="600" height="300" name="CumulusRealtime" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
flashVars='interval=<#realtimeinterval>'
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
</object>
</div>
<!-- end of real time display -->

Re: Rreal-time gauges in a secound Domain

Posted: Wed 07 Sep 2011 6:50 pm
by steve
To be honest, I don't really know, because I know very little about Flash even though I wrote that gauges SWF. I would guess that you need to change

<param name="allowScriptAccess" value="sameDomain" />

to

<param name="allowScriptAccess" value="always" />

You'll presumably also have to change

<param name="movie" value="CumulusRealtime.swf" />

to reference wherever the SWF file actually is.

If that doesn't work, then maybe someone else can help. I'm not sure what you're trying to do is even possible.

Re: Rreal-time gauges in a secound Domain

Posted: Thu 08 Sep 2011 2:47 am
by gemini06720
You might (probably) have to use a 'crossdomain' template in the root directory of the server.

Have a look at the Adobe Developer Cross-domain policy file specification page for information.

Re: Rreal-time gauges in a secound Domain

Posted: Thu 08 Sep 2011 1:22 pm
by BlueTec
Hi I have the problem resolved itself in which I have copied and saved as the Gauges.htm in Gaugesextern.htm. I bind simply these Gaugesextern as an element in any HP. Works very well. Only needs to change the font color. I think this is not a problem