Nieuw lid |
|
Op een spelletjes site, heb ik allemaal .swf spelletjes maar ook .dcr spelletjes. Die laatste worden niet meer geladen sinds ik er een preloader op heb staan.
function loadGame(clearScreen)
{
if (clearScreen)
document.getElementById('preLoader').style.display = 'none';
swfobject.embedSWF("<?=$x['location']?>", "flashcontent", "<?=$x['width']?>", "<?=$x['height']?>", "8.0.0");
}
</script>
function loadGame(clearScreen) { if (clearScreen) document.getElementById('preLoader').style.display = 'none'; swfobject.embedSWF("<?=$x['location']?>", "flashcontent", "<?=$x['width']?>", "<?=$x['height']?>", "8.0.0"); } </script>
Deze regel
swfobject.embedSWF("<?=$x['location']?>", "flashcontent", "<?=$x['width']?>", "<?=$x['height']?>", "8.0.0");
swfobject.embedSWF("<?=$x['location']?>", "flashcontent", "<?=$x['width']?>", "<?=$x['height']?>", "8.0.0");
wil ik veranderen in deze code:
<object width="'.$x['width'].'" height="'.$x['height'].'">
<param name="movie" value="'.$x['location'].'" />
<param name="quality" value="high" />
<embed src="'.$x['location'].'" quality="high" width="'.$x['width'].'" height="'.$x['height'].'"></embed>
</object>
<object width="'.$x['width'].'" height="'.$x['height'].'"> <param name="movie" value="'.$x['location'].'" /> <param name="quality" value="high" /> <embed src="'.$x['location'].'" quality="high" width="'.$x['width'].'" height="'.$x['height'].'"></embed> </object>
Maar de vraag voor mij blijft: hoe?
|