How can I add an ID in the print swf command? I tried adding as a parameter but the source code still shows an arbitrary ID.

In page: <? php print swf('checklogin.swf', array('params' => array('height' => '200', 'width' => '200', 'id'=>'flash'))); ?>

HTML source code shows:

The object ID is "swf13057835581" and not "flash" like I specified in the print command? ???

Comments

macmaxx’s picture

sorry forgot the browser source:

<div id="swf-flash" class="swftools-wrapper swftools-swf"><div class="swftools">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="200" id="swf13057835581">