Animation en flsh et ma page web

salut tous le monde
je veux savoir comment inserer une animation flash dans ma page web réaliser en front page

6 réponses

  1. salut,

    d'abord je te conseille d'utiliser plutôt dreamweaver car on peut facilement insérer des anim flash : http://www.macromedia.com

    Sinon il faut mettre ça dans ton code html:

    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" WIDTH=la_largeur HEIGHT=la_hauteur>
    <PARAM NAME=movie VALUE="nom_du_fichier_swf" bgcolor VALUE=#99CCCC> <EMBED src="nom_du_fichier_swf" quality=high bgcolor=#99CCCC WIDTH=la_largeur HEIGHT=la_hauteur TYPE="application/x-shockwave-flash" PLUGINSPAGE=" http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>

    et puis c bon.
    a+
    mat
    0
    1. salut mat
      merci pour votre reponse mais toujoure ca march pas
      dans <EMBED src="nom_du_fichier_swf" j'ai ecrire
      <EMBED src="animation1.swf"
      c'est juste ou non
      0
      1. ouaih, c bon; y faut mettre "animation1.swf" dans <EMBED .....> et dans <PARAM .....>

        Ca marche chez moi, donc chez toi aussi je penses :)
        Tiens moi au courant

        a+
        mat
        0
        1. salut mat et merci encore
          voile le code ça marche pas encore , svp essaye de trouver ce qui ne va pas.
          l'objet de ce code c'est d'affiche un tableau que contien des promotion
          <html>
          <head>
          <%DSN_BASE = "DBQ=" & Server.Mappath("esc.mdb") & ";Driver={Microsoft Access Driver (*.mdb)};DriverId=25"
          Set ConnAfficheRef = Server.CreateObject("ADODB.Connection")
          ConnAfficheRef.Open DSN_BASE
          Set RsAfficheRef = Server.CreateObject("ADODB.Recordset")
          RsAfficheRef.open" select*from ordinateurs ",ConnAfficheRef %>
          <title>les promotion</title>
          </head>
          <body bgcolor="#0099CC" bgproperties="fixed">

          <p align="center"><b><i><u><span style="background-color: #0099CC"><font face="Lucida Console" color="#0000FF" size="7">notre
          promotion</font></span></u></i></b></p>
          <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" WIDTH=10% HEIGHT=20%>
          <PARAM NAME=movie VALUE="animation1.swf" bgcolor VALUE=#99CCCC> <EMBED src="animation1.swf" quality=high bgcolor=#99CCCC WIDTH=10% HEIGHT=20% TYPE="application/x-shockwave-flash" PLUGINSPAGE=" http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
          </EMBED>
          </OBJECT>
          <%if RsAfficheRef.eof = false then%>
          <table width="100%" border="1" cellspacing="0" cellpadding="0">
          <tr>
          <td bgcolor="#0099CC" align="center"><font size="6" color="#FFFFFF">marque</font></td>
          <td bgcolor="#0099CC" align="center">
          <p align="center"><font size="6" color="#FFFFFF">configuration</font></p>
          </td>
          <td bgcolor="#0099CC" align="center"><font size="6" color="#FFFFFF">prix unitaire </font><font size="5" color="#FFFFFF">HT</font></td>
          </tr>
          <%rsAfficheRef.MoveFirst
          DO WHILE not rsAfficheRef.eof%>
          <tr>
          <td><font size="4"><B><%= rsAfficheRef("marques")%></B></font></td>
          <td><font size="3"><%= rsAfficheRef("confeiguration")%></font></td>
          <td><font size="3"><%= rsAfficheRef("puht")%></font></td>
          </tr>
          <%rsAfficheRef.movenext
          loop
          end if%>
          </table>
          <%rsAfficheRef.Close
          ConnAfficheRef.CLose
          set RsAfficheRef=nothing
          set ConnAfficheRef=nothing %>
          </body>
          </html>
          merci autr fois j'attend votr reponse

          0
          1. décidément que des problèmes!
            Je n'ai pas vu d'erreur dans le code que tu as mis.

            Bon déjà est-ce que tu as le plugin pour visualiser les anim en flash sur ton navigateur. Sinon vas ici pour le récupérer

            http://sdc.shockwave.com/fr/shockwave/download/frameset.fhtml?Lang=French&P5_Language=French&

            Si tu l'as déjà alors je te conseille de tester dreamweaver, c comme Front page, mais mieux :))
            Il suffit d'insérer l'objet flash avec l'assistant qui crée tout seul le code. Il se trouve ici:

            http://a2042.g.akamai.net/7/23/2740/0002/download.macromedia.com/pub/dreamweaver/esd/Dreamweaver4-trialFr.exe

            C'est vraiment la meilleur solution.
            Si ça ne marche toujours pas vas voir sur les sites de flash genre http://www.flashkit.com pour avoir un exemple concret.

            Je ne peux pas plus t'aider
            a+ bon courage,
            mat
            0