There is another way to embed the flash file that will work in both IE
and Mozilla based browsers without javascript. You'll need to set a
width and height to the object either through CSS or in the attributes.
$html->url('/flash/'.$file_name); would point to the flash folder in
app/webroot folder.
<object type="application/x-shockwave-flash"
data="<?php echo
$html->url('/flash/'.$file_name); ?>">
<param name="movie" value="<?php echo
$html->url('/flash/'.$file_name); ?>" />
<param name="allowScriptAcess"
value="sameDomain" />
<param name="quality" value="best" />
<param name="bgcolor" value="#FFFFFF" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars"
value="playerMode=embedded" />
</object>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---