Using a coolfocus.com flash applet on a page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
LewisMoseley

Using a coolfocus.com flash applet on a page

Post by LewisMoseley »

New to this.  I have a working installation of the current downloadable version from a couple of days ago.  I have installed several pages, images & etc and the system is working as expected.

I want to add the coolfocus.com PictureShow flash applet on a page.  Using the INSERT FLASH button on the toolbar doesn't enter enough data to make the applet work.  The coolfocus.com directions specify:

Copy-and-paste the script below into your web page. The code can be placed anywhere in the page, in the head or body, before or after the applet.

Code: Select all

<__script__ LANGUAGE="JavaScript"><!--
function PictureShow_DoFSCommand(command, args){
if (command == "status") window.status = args;
else if (command == "satellite" && window.document.Satellite) window.document.Satellite.SetVariable("item", args);
}// --></__script> <__script__ LANGUAGE="VBScript"><!--
on error resume next
Sub PictureShow_FSCommand(ByVal command, ByVal args) call PictureShow_DoFSCommand(command, args)
end sub
--></__script>
and

Copy-and-paste the HTML code below to your web page, in the position you want the applet to appear:

Code: Select all

<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="200" height="150" id="PictureShow">
<PARAM name="flashvars" value="Copyright=(c) Cool Focus [www.coolfocus.com]">
<PARAM name="movie" VALUE="/uploads/flash/PictureShow.swf"> <PARAM name="loop" VALUE="false"> <PARAM name="menu" VALUE="false"> <PARAM name="quality" VALUE="best"> <PARAM name="scale" VALUE="noscale"> <PARAM name="salign" VALUE="LT"> <PARAM name="bgcolor" VALUE="#FFFFFF"> <PARAM name="wmode" VALUE="window"> 
<EMBED src="/uploads/flash/PictureShow.swf" flashvars="Copyright=(c) Cool Focus [www.coolfocus.com]" loop="false" menu="false" quality="best" scale="noscale" salign="LT" bgcolor="#FFFFFF" wmode="window" width="200" height="150" swliveconnect="true" name="PictureShow" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
I edited the page, switched to SOURCE view, pasted this stuff in.  I have also uploaded the necessary parameter file to the Flash directory (which is where it is supposed to be).  I changed the path to the applet to match its location in the /uploads/flash directory.

When I submitted this and tried to load the page in another browser, the page hangs.

When I reedited the page, the editor had eaten about 1/2 of the HTML code.  The entire EMBED section disappeared.

Questions:

1.  Any idea what the javascript and VB script is supposed to do, and do I need it?

2.  The core question... what code do I put, and where, to make the applet work?
Locked

Return to “CMSMS Core”