Bonjour,

J'ai un petit soucis avec mon bouton flash qui fait appel à une lightbox autoplay pour un album photo.

Le problème c'est que sous IE quand je clic sur mon bt flash l'appelle à la lightbox ne se fait pas mais sous FF oui, pas étonnant me direz-vous.

Tout fonctionne très bien avec une image comme lien mais pas avec le bt Flash

Je pense que c'est un problème d'appel de la lightbox dan le bt Flash mais je ne sais pas quoi écrire dans onRelease{....} ???

Merci

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 
<table width="860" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <a href="img/album1/01b.jpg" rel="milkbox[album1]" title="LoremIpsum">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="85" align="middle" id="FlashID" title="Ambiance">
      <param name="movie" value="Btn1.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="transparent" />
      <param name="swfversion" value="8.0.35.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object data="Btn1.swf" type="application/x-shockwave-flash" width="200" height="85" align="middle">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
        <param name="swfversion" value="8.0.35.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    </a>
    <?php
$dir = "img/album1/";
// Ouvre un dossier bien connu, et liste tous les fichiers
if (is_dir($dir)) {
    if ($dh = opendir($dir)) {
        while (($file = readdir($dh)) !== false) {      
        if ($file != "." && $file != ".." && $file != "01b.jpg") {      
                
   echo '<a href="'.$dir.$file.'" rel="milkbox[album1]" title="LoremIpsum"></a>'."\n";
                }
        }
        closedir($dh);
    }
}
?>
    </td>
</tr>
</table>