RationalRabbit

Suppressing "Retrieving Data" display

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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", "<?=$FlashMajorVersion . '.' . $FlashMinorVersion . '.' . $FlashRevision; ?>", false, flashvars, params, attributes);

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

no "custom messages", then?

 

Like change the "no data" message in something more meaningful, like "please select a country from the dropdown"?

 

I am looking for the equivalent of fusioncharts'

myChart.configure("ChartNoDataText", "Please select a record above");

Share this post


Link to post
Share on other sites
Guest Sumedh

Hey,

 

Configuring map messages with current FusionMaps version i.e., FusionMaps v3 is not supported.

 

However, it is supported in FusionMaps XT.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now