My Flash movies are all running loops and i can't stop them

Discussion in 'HTML & Website Design' started by leftwheel, Jan 24, 2010.

  1. #1
    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
     
    leftwheel, Jan 24, 2010 IP
  2. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    Last edited: Jan 24, 2010
    jwitt98, Jan 24, 2010 IP
  3. leftwheel

    leftwheel Well-Known Member

    Messages:
    725
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    135
    #3
    It's not about the flash header. It's about the small headline that says "Polls"
     
    leftwheel, Jan 25, 2010 IP
  4. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    jwitt98, Jan 25, 2010 IP
  5. leftwheel

    leftwheel Well-Known Member

    Messages:
    725
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    135
    #5
    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.
     
    leftwheel, Jan 25, 2010 IP
  6. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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.
     
    jwitt98, Jan 25, 2010 IP
  7. dream party

    dream party Active Member

    Messages:
    630
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #7
    dream party, Jan 26, 2010 IP
  8. leftwheel

    leftwheel Well-Known Member

    Messages:
    725
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    135
    #8
    leftwheel, Jan 27, 2010 IP
  9. nivedita011

    nivedita011 Peon

    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    stop(); is missing somewhere, if you don't put the stop(); in the last frame, it will loop automatically
     
    nivedita011, Jan 29, 2010 IP