Start og stop flash
Hej Eksperter!Jeg prøver på at få lavet nogle control knapper til at starte og stoppe flash film på min side.
Dette er hvad jeg har prøvet på:
<html>
<script language="JavaScript">
function set(id, enabled)
{
document.getElementById(VALUE).disabled = !enabled;
}
</script>
<a href="test.html" onClick="set(2, true);">Her</a>
<OBJECT width="300" height="250">
<PARAM NAME="Movie" VALUE="film.swf">
<PARAM NAME="Play" VALUE="2 disabled">
<PARAM NAME="Quality" VALUE="best">
<PARAM NAME="swLiveConnect" VALUE="true">
<PARAM NAME="loop" VALUE="false">
<EMBED NAME="slav" SRC="film.swf" swLiveConnect="true" mayscript="mayscript" quality="best" play="false" LOOP="false" type="application/x-shockwave-flash">
</EMBED>
</OBJECT>
nogen der kan hjælpe?
Hvis jeg sætter play value til true afspilles filmen.
