Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Rreal-time gauges in a secound Domain

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
BlueTec
Posts: 8
Joined: Fri 02 Apr 2010 6:15 pm
Weather Station: WH1080
Operating System: Windows 7

Rreal-time gauges in a secound Domain

Post 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 -->
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rreal-time gauges in a secound Domain

Post 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.
Steve
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Rreal-time gauges in a secound Domain

Post 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.
BlueTec
Posts: 8
Joined: Fri 02 Apr 2010 6:15 pm
Weather Station: WH1080
Operating System: Windows 7

Re: Rreal-time gauges in a secound Domain

Post 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
Post Reply