Hello,

I followed the guide to install SWF Tools : http://drupal.org/node/181998
Now I can play flash content with <swf file="bandeau01.swf" width="800" height="150"> It works.
But I still have the "Click to activate" problem.

A solution ?

Thanks to you ...

Comments

markhope’s picture

What HTML code is being output for the Flash content?

The click to activate problem is an IE problem when OBJECTS and EMBEDS are used.
Explanation here: http://www.mix-fx.com/flash-prompt.htm

I've not used SWF Tools BTW, but I'll take a look if you post your code.

Mark

Tournesol’s picture

Thanks for your answer, this is the code generated for the flash content

<div class="swftools-wrapper swftools-swf ">
<div class="swftools">
<object width="320" height="240" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie"   value="http://192.168.0.155/drupal5/media/player.swf" />
<param name="wmode"   value="opaque" />
<param name="bgcolor" value="#FFFFFF" />
<param name="scale"   value="showall" />
<param name="quality" value="autohigh" />
<param name="align"   value="l" />
<param name="FlashVars"  value="width=320&height=240" />
<embed width="320" height="240" swliveconnect="default" src="http://192.168.0.155/drupal5/media/player.swf" wmode="opaque" bgcolor="#FFFFFF" scale="showall" quality="autohigh" loop="false" menu="false" play="true" name="" base="http://192.168.0.155/drupal5/media" salign="tl" FlashVars="width=320&height=240" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</div>
Tournesol’s picture

Ok, thanks markhope, I saw when I've sent the code that the flash content was in an <object> and <embed> tag ... So .... "click to activate" Problem

I have activated SWF Tools/JavaScript Embedding/SWFObject - Geoff Stearns
and now it works fine

JMino’s picture

Once I activate SWF Tools/JavaScript Embedding/SWFObject, I get the following message "Sorry, flash is not available."

What do I need to do so I do not get "Click to activate and use this control".

P.S.: Still new at Drupal. Trying to figure this out.

markhope’s picture

Sorry for not replying sooner.
Glad you got it sorted out.

Mark

globefox’s picture

Me too ! I've double triple checked the settings...

markhope’s picture

I've not checked in detail but a colleague of mine suggested that the 'swf object' javascript may not be installed properly. It's not distributed as part of the module. Have you read the install instructions?

Mark