Hi! I got a strange problem with some of the .swf files i a m using on my website. They are playing loops even though i told them not to. I coded loop:false for IE and Firefox but it doesn't work: Have a look at the website or the code i used: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="PoemCat" width="650" height="75" align="middle" id="PoemCat" loop="false" > <param name="allowScriptAccess" value="sameDomain"/> <param name="wmode" value="transparent"> <param name="LOOP" value="false"> <param name="movie" value="http://www.punkz.fm/design/images/PoemCat.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="http://www.punkz.fm/design/images/PoemCat.swf" quality="high" wmode="transparent" bgcolor="#000000" width="650" height="75" name="PoemCat" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> Code (markup): I don't know what i am doing wrong
What does your actionscript look like? You probably want to have stop(); in the last frame to prevent looping. Edit: I guess I should have looked at the site first. If your talking about your flash header, It appears that only the last part of the animation is looping, so there is probably something like gotoAndPlay(150); in the last frame. When the last frame is reached, the animation will skip back to frame 150 and start, then the process will repeat forever. That's not to say that 150 is the right frame in your case, this is just an example.
OK, a couple things I noticed: I had to click on the Polls link before I even saw the flash you were talking about. It does not loop in IE, but does in FF. Try adding loop="false" to your embed tag.
well, if you have a look at the code i posted in the first post of this thread you will see that i already did. That's why i am asking, i switched loop to false in the Firefox Code and the IE Code. However, it still plays a loop.
Then my eyes must be getting really bad cause I don't see loop="false" anywhere in your <embed> tag. I do see it in your <object> tag where it doesn't belong. You would not have to worry about any of this at all if you put stop(); in the last frame of your animation.
What code did you use for the embedding? You can tell us and we can check and test. You can also check this tutorial about how to make flv video auto play or not with Moyea Web Player - http://www.playerdiy.com/configuration/playback/auto-play-video.html
stop(); is missing somewhere, if you don't put the stop(); in the last frame, it will loop automatically