Hi!I want to imbed a flash on a form i do this by using:
<OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”
codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0” WIDTH=“525” HEIGHT=“213” id=“bild” ALIGN=“”>
And this works fine. (the bild.swf is a file resource and the is the correct path to the location of the resource)
Though the problem comes when I want to send some info to the flash like: bild.swf?picRef=test.jpg
I then get the error:
Error 400
HTTP Web Server: Unknown Command Exception
I guess this is correct since lotus dont know what command picRef is and so… how do I solve this? is it an issue for the design of the flash?
Subject: flash with a parameter
A search here would have gotten you the answer – I’ve posted it before. For the benefit of anyone who comes across this question as the result of a search, the answer again:
The first parameter of any Domino query string (whenever you use a query string) needs to be a valid database command, like OpenView or ReadForm or what have you. So if you want to add a query string parameter to your SWF URL, you need to begin it with a valid Domino command:
src=“bild.swf?OpenElement&picRef=test.jpg”
Subject: RE: flash with a parameter
Thank you!I must have used the wrong search keywords.
Ill Discuss this with the AD and see what we can do about it (the command that is).
Subject: RE: flash with a parameter
As an additional note for anyone who happens across this thread or topic:
If you are using FusionCharts in your Domino Web application and wish to use an attachment as the XML source for your chart data, use the ?OpenElement as well in the dataURL portion of the ‘FlashVars’ parameter.
Example:
Otherwise, your server throws an ‘Unknown Command Exception’ because of the “?curr=XX” parameter that gets appended onto the parameter. After adding the OpenElement, it became “?OpenElement&curr=XX” and all was right with the world 