Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE FLASH:HomeFlash ForumFlash TutorialsFlash Video TutorialsWeb Streaming ForumAdobe FlashPodcast

Stop an SWF file from looping

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
John FranksStop an SWF file from looping
by on Jun 24, 2009 at 8:47:47 pm

I am very new to Adobe Flash (just started using CS4) and know hardly any Actionscript.

I have made a simple flash movie, adding the stop(); command at the end of a seperate layer to stop the movie from looping, as explained in the flash tutorial I have used. This works when I Control > Test Movie.

But, when I Export Movie to SWF and upload it to my website the file just loops in my browser (which is IE8).

I have trawled to find answers. Can anyone please please please talk me through the precise steps to stop the movie looping once it gets exported to SWF. Remember the stop(); command is not working, unless I am using it wrong.

Thanks so much for your reply in advance.

John Franks


Return to posts index
Reply   Like  

Patrick HearnRe: Stop an SWF file from looping
by on Jul 3, 2009 at 4:14:11 pm

It sounds like you're using stop()l correctly, but I'll confirm it for you.

Create a new layer, call it actions.
at the very last frame, create a new keyframe on the 'actions' layer.
Click this keyframe, then in the Actions pane type stop();
Preview the movie (CTRL + Enter) - Your movie should play through and stop on the last frame.



Return to posts index
Reply   Like  
+1

John FranksRe: Stop an SWF file from looping
by on Jul 3, 2009 at 4:37:06 pm

Thank you for your reply. Much appreciated.

I have found the problem. Believe it or not all I had to do was change the publish settings of the movie from flash player 10 to flash player 7 or 8 before I converted it to SWF, and it then played perfectly within the program I was using.

I guess the program I am using does not support flash player 10.

Don't you just love computers. It took me 10 hours to work that one out.

Regards.


Return to posts index
Reply   Like  


Patrick HearnRe: Stop an SWF file from looping
by on Jul 3, 2009 at 6:42:25 pm

Ah right. You possibly don't have the latest flash player installed.

http://get.adobe.com/flashplayer/



Return to posts index
Reply   Like  

Jonathan RomeroRe: Stop an SWF file from looping
by on Sep 8, 2010 at 2:05:16 am

Thanks I just had the same issue and this fixed my prob.


Return to posts index
Reply   Like  

Karl FranklinRe: Stop an SWF file from looping
by on Nov 18, 2010 at 1:30:14 pm

THANK YOU!!!!!! That was the most succinct instruction I have seen anywhere on the 'net. You saved my day, possibly my week!


Return to posts index
Reply   Like  
+1


Warren FenemorRe: Stop an SWF file from looping
by on Mar 20, 2013 at 7:28:46 am

sorry to re start this thread but.... I did as you said and the file stopped when trying it in flash. I then tried it in preview both html and flash and get a blank screen. Remove the stop command and it works but loops. How do I get the file to auto play once then stop. Seems the stop command has altered something?!

Warren


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]