
This activation method uses a specialized function for each type object. All object parameters are given to this function as function-parameters.
Advantages: Easy and readable code. This solution is simular as the Macromedia/Adobe and Apple solution.
Disadvantages: If your object-type is not recognized by Object Activator, it will not be converted! If your parameter is not recognized by Object Activator, it will be ignored! In this case, please use the Easy Script Activation Method.
Example of the Parameter Activation Method:
OP_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','400','height','20','movie','horizontalfademenu1.swf','quality','Best','wmode','opaque','bgcolor','#00688c','src','horizontalfademenu1.swf','type','application/x-shockwave-flash','pluginspage','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'); //end OP code
You will find this function on a single line in your web-code...
When the NO JAVASCRIPT tag is enabled, this is the generated code:
<script type="text/javascript">
OP_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','400','height','20','movie','horizontalfademenu1.swf','quality','Best','wmode','opaque','bgcolor','#00688c','src','horizontalfademenu1.swf','type','application/x-shockwave-flash','pluginspage','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'); //end OP code
</script><noscript><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH="400" HEIGHT="20">
<PARAM NAME=movie VALUE="horizontalfademenu1.swf">
<PARAM NAME=quality VALUE="Best">
<PARAM NAME=wmode VALUE="opaque">
<PARAM NAME=bgcolor VALUE="#00688c">
<EMBED src="horizontalfademenu1.swf" quality="Best" wmode="opaque" bgcolor="#00688c"
WIDTH="400"
HEIGHT="20"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT></noscript>