SWF in PHP einbinden

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • SWF in PHP einbinden

    Ich möchte gerne in folgendes Script statt dem Bild eine Flash-Animation einbauen. Die Seite wird im IE korrekt angezeigt, nur dort wo die Animation sein soll ist nichts. Und die Seite wird anscheinend nicht vollständig geladen.

    <?
    include("tpl_style.php");
    ?>

    <table align="center" border="0" cellpadding="0" cellspacing="0" width="<?= $setting["tablewidth"] ?>" class="listfont">
    <tr>
    <td>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="top">
    <table cellpadding="2" cellspacing="0" width="100%">
    <tr>
    <td align="center" bgcolor="<?= $setting["catrowcolor1"] ?>" class="catagory" colspan="8"><a href="listing.php?sort=clients_current&direction=desc&showgroup=all">Active Servers</a>: <? getactiveservercount() ?> | <a href="listing.php?sort=clients_current&direction=desc&showgroup=all">Users Online</a>: <? gettotalonline() ?></td>
    </tr>
    </table>
    <a href="<?= $setting["homepage"] ?>"><img src="images/ts_logo.gif" border="0" alt="<?= $setting["pagetitle"] ?>"></a>
    </td>
    <td align="center" width="100%"><b><? if (isset($setting["message"])) { echo ''.$setting["message"].''; } ?></b></td>
    </tr>
    </table>


    Nachher siehts so aus:

    <?
    include("tpl_style.php");
    ?>

    <table align="center" border="0" cellpadding="0" cellspacing="0" width="<?= $setting["tablewidth"] ?>" class="listfont">
    <tr>
    <td>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="top">
    <table cellpadding="2" cellspacing="0" width="100%">
    <tr>
    <td align="center" bgcolor="<?= $setting["catrowcolor1"] ?>" class="catagory" colspan="8"><a

    href="listing.php?sort=clients_current&direction=desc&showgroup=all">Active Servers</a>: <? getactiveservercount() ?> | <a

    href="listing.php?sort=clients_current&direction=desc&showgroup=all">Users Online</a>: <? gettotalonline() ?></td>
    </tr>
    </table>
    <a href="<?= $setting["homepage"] ?>"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"
    id="ts2_logo" width="261" height="80">
    <param name="movie" value="ts2_logo.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#454B74">
    <embed name="ts2_logo" src="ts2_logo.swf" quality="high" bgcolor="#454B74"
    width="261" height="80"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </embed>
    </object>
    </a>
    </td>
    <td align="center" width="100%"><b><? if (isset($setting["message"])) { echo ''.$setting["message"].''; } ?></b></td>
    </tr>
    </table>

    Kann sein das ich blöd bin oder nur ne Kleinigkeit übersehen hab, aber auf alle Fälle hab ich nun schon stundenlang nach einer Lösung gesucht. Und ich bin in Sachen PHP ein Anfänger.


    EDIT:
    *VERSCHIEB* nach html
    by Abraxax

    Zuletzt geändert von Abraxax; 02.06.2004, 22:59.

  • #2
    Das mit dem Link funktioniert eh nicht ... aber objekte einbinden wird hier beschrieben ...
    carpe noctem

    [color=blue]Bitte keine Fragen per EMail ... im Forum haben alle was davon ... und ich beantworte EMail-Fragen von Foren-Mitgliedern in der Regel eh nicht![/color]
    [color=red]Hinweis: Ich bin weder Mitglied noch Angestellter von ebiz-consult! Alles was ich hier von mir gebe tue ich in eigener Verantwortung![/color]

    Kommentar


    • #3
      Nun, ich weiß wie ich eine Flash-Animation in HTML einbinde. Trotzdem Danke für den Link.
      Aber bei dieser Script-Vorlage gibts nur PHP-Dateien. Und in einer war eben der Link zum Original-Bild welches ich durch meine eigene Flash-Animation ersetzen wollte.

      Kommentar

      Lädt...
      X