Auto Play Swf

//The As2 part
reset.onRelease = function() {
gotoAndPlay(2);
};

//The PHP part
<?php if(empty($_COOKIE['ps_viewed'])) setcookie('ps_viewed', 'true', time() + (60*60*24*90)) ?>

<object type="application/x-shockwave-flash" data="pickystickyvid-volume.swf" width="740" height="268">
<?php if($_COOKIE['ps_viewed'] == 'true') echo '<param name="play" value="false" />' ?>
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#000000" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="/Scripts/expressInstall.swf" />
<param name="movie" value="pickystickyvid-volume.swf" />
</object>

0 Comments

You must be logged in to post a comment.