Content Management System - CMS : eXV2 
Home
News
Forum
Downloads
Download Module
Sitemap
Partnerseiten
RSS News
Kontakt/Info
Sprache
EnglishFrench
Suchen
Login
Nickname
Passwort

Registrieren?
Passwort?
Navigation
 Home News  Forum Neueste Beiträge  Downloads Download Module eXV² Themes  Weblinks Tutorial Changelog 2.3.1 Jobcenter Gebrauchtmarkt OSMap  Sponsor Kalendersystem Sitemap Partnerseiten RSS News Kontakt/Info Webseiten Wetter
Willkommen im Free Web CMS : eXV² Forum!
  Forenarchiv
     Scripte
  Einbinden mehrerer flashfiles

Forum : Scripte

Titel : Einbinden mehrerer flashfiles

© 2004-2012 www.exv2.de
http://www.exv2.de

URL dieser Diskussion
http://www.exv2.de/modules/newbb_plus/viewtopic.php?topic_id=2653&forum=13


 hadron :

21.06.2005 10:23
 Ich versuche mehrere *.swf-files (10 Stück) in einer Übersicht einzubinden.

folgender code wird dazu eingesetzt (ausschnitt):

Code:
// swfeinfügen
$register_array['movie_hits_thumb2_'.$i] = "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i]['image_id'])."\"><embed src=\"data/media/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_media_file']."\" width=\"80\" height=\"68\" border=\"0\" alt=\"\">"."</a>";
// ende swfeinfügen


das erzeugt folgenden html:

Code:
<a href="./details.php?image_id=352&amp;sessionid=cc2b44e72852674b4413eb28c7ee5f92"><embed src="data/media/8/42659.swf" width="80" height="68" border="0" alt=""></a>


Nun zu meinem Problem:

Ein Flashfile ist ok - bei 5 und mehr wird der Aufbau der Seite unerträglich lang (IE und Maxthon) - mit Firefox ist der zeitliche Aufbau der Seite ok.

Frage:

Hat jemand eine Idee woran der lange Seitenaufbau im IE liegt? Kann ich das irgendwie beschleunigen ?

[ Geändert von hadron an 21.06.2005 10:31 ]

 Picl :

22.06.2005 09:05
 Hi Hadron, hast du mal versucht deine 10 Files in ein einziges Flashfile zu packen? Müsste doch eigentlich gehen, oder? Vielleicht klappt es dann auch mit dem IE.


Greetz,

Picl

 hadron :

22.06.2005 22:47
 Danke Picl für deinen Vorschlag - aber es ist notwendig diese 10 Flashes einzeln einzubinden, da sie abhängig von der Anzahl der Klicks (Top-Liste) dargestellt werden.

Ich habe das Problem inzwischen gelöst Smile

Wenn ich den ganzen 'Kram' mit 'object' und 'param' etc. mit einbinde ist alles ok. Ich hab nur leider noch das Problem, dass der link (bei klick auf das Flashfile) noch nicht funzt ...

hier der php-code:

Code:
// swfeinfügen
$register_array['movie_hits_thumb2_'.$i] = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"80\" height=\"68\">n <param name=\"movie\" value=\"data/media/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_media_file']."\" />n <param name=\"quality\" value=\"high\" />n <a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i]['image_id'])."\"><embed src=\"data/media/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_media_file']."\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"80\" height=\"68\">n </embed></a>n </object>nn";
// ende swfeinfügen


htmlausgabe:

Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="80" height="68">

<param name="movie" value="data/media/8/42659.swf" />
<param name="quality" value="high" />
<a href="./details.php?image_id=352&amp;sessionid=cc2b44e72852674b4413eb28c7ee5f92"><embed src="data/media/8/42659.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="80" height="68">
</embed></a>
</object>

 toxin :

24.06.2005 08:46
 der link müßte eigentlich mit javascript funzen

bsp mit onClick...

Code:

// swfeinfügen
$register_array['movie_hits_thumb2_'.$i] = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"80\" height=\"68\" onclick=\"window.location.href='".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i]['image_id'])."';\">n <param name=\"movie\" value=\"data/media/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_media_file']."\" />n <param name=\"quality\" value=\"high\" />n <embed src=\"data/media/".$top_list[$i]['cat_id']."/".$top_list[$i]['image_media_file']."\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"80\" height=\"68\">n </embed>n </object>nn";
// ende swfeinfügen



probier das doch mal aus
Partnerseiten
http://www.en.exv2.eu/

Vote für eXV2
php
Kontakt/Info
  Kontakt
  Impressum
  Link zu uns
  AGB
  Datenschutzhinweis
Downloads
  eXV² Core
  Core Sprachfiles
eXV² Filecenter
  Downloads
  Download Module
  eXV² Themes
  Multilanguage Module
  Sprachfiles eXV² Module
eXV² Support
  France