FusionCharts Forum: Suppressing "Retrieving Data" display - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Suppressing "Retrieving Data" display Retrieving data message extends space

#1 User is offline   RationalRabbit 

  • Forum Newbie
  • Group: Members
  • Posts: 6
  • Joined: 28-March 09

Posted 05 June 2010 - 04:08 PM

I am using swfobject2.



Is there a flashvar or something I can send to suppress the "Retrieving data" message?

I am using a FusionMap in a small area (100 x 70) in a left sidebar. The message causes the remainder of the sidebar to move downward (because the map box expands) then move back up when the map has been drawn.



I thought this might have been an swfobject message, as I did not having this problem before, using FusionMaps(), but I cannot find it in the swfobject code. The beginning of the message specifically says "Retrieving data" (the remainder says "please wait" or something.



"The man to whom something can happen must first be willing to accept that his premises may be invalid." - Inspired by Leonard Cohen & Ayn Rand
0

Other Replies To This Topic

#2 User is offline   shamasis 

  • Red Flavoured
  • Group: Administrators
  • Posts: 179
  • Joined: 27-October 08
  • LocationKolkata, India

Posted 07 June 2010 - 03:31 AM

What are the flashVars that you are sending to swfobject?



You should send:

registerWithJS=1&debugMode=0&mapWidth=100&mapHeight=70&DOMId=$$Map-ID$$




Replace $$Map-ID$$ with your swf element's ID.
0

Other Replies To This Topic

#3 User is offline   RationalRabbit 

  • Forum Newbie
  • Group: Members
  • Posts: 6
  • Joined: 28-March 09

Posted 10 June 2010 - 08:34 AM

Here's the whole thing:

var flashvars = {};

flashvars.dataURL = "data/mapdata.xml";

flashvars.registerWithJS = "1";

var params = {};

params.play = "true";

params.quality = "autohigh";

params.wmode = "transparent";

params.bgcolor = "#FFFFFF";

params.allowfullscreen = "false";

params.allowscriptaccess = "always";

var attributes = {};

attributes.id = "Map1Div";

attributes.align = "middle";

swfobject.embedSWF("maps/FCMap_MME.swf", "AltMap", "150", "77", "", false, flashvars, params, attributes);



"The man to whom something can happen must first be willing to accept that his premises may be invalid." - Inspired by Leonard Cohen & Ayn Rand
0

Other Replies To This Topic

#4 User is offline   shamasis 

  • Red Flavoured
  • Group: Administrators
  • Posts: 179
  • Joined: 27-October 08
  • LocationKolkata, India

Posted 11 June 2010 - 05:01 AM

Greetings,



I don't see mapWidth, mapHeight, debugMode and DOMId in this!



var mapWidth="150", mapHeight="77", mapId="Map1",

	vars = {

		dataURL: "data/mapdata.xml",

		registerWithJS: "1",

		debugMode: "0",

		mapWidth: mapWidth,

		mapHeight: mapHeight,

		DOMId: mapId

	},

	params = {

		play: "true",

		quality: "best",

		wMode: "window",

		allowScriptAccess: "always"

	},

	attrs = {

		align: "middle",

		id: mapId

	};

swfobject.embedSWF("maps/FCMap_MME.swf", "AltMap", mapWidth, mapHeight, "8.0.0", false, vars, params, attrs);




Maybe the above would help.
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic