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.
Page 1 of 1
Suppressing "Retrieving Data" display Retrieving data message extends space
#1
Posted 05 June 2010 - 04:08 PM
"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
Other Replies To This Topic
#2
Posted 07 June 2010 - 03:31 AM
What are the flashVars that you are sending to swfobject?
You should send:
Replace $$Map-ID$$ with your swf element's ID.
You should send:
registerWithJS=1&debugMode=0&mapWidth=100&mapHeight=70&DOMId=$$Map-ID$$
Replace $$Map-ID$$ with your swf element's ID.
Other Replies To This Topic
#3
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", "=$FlashMajorVersion . '.' . $FlashMinorVersion . '.' . $FlashRevision; ?>", false, flashvars, params, attributes);
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);
"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
Other Replies To This Topic
#4
Posted 11 June 2010 - 05:01 AM
Greetings,
I don't see mapWidth, mapHeight, debugMode and DOMId in this!
Maybe the above would help.
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.
Other Replies To This Topic
Page 1 of 1

Back to top
MultiQuote