Looping Slideshow - Images Hang & Stop Repeating

Posted by USCDomains 
Looping Slideshow - Images Hang & Stop Repeating
February 25, 2009 05:56PM
On the following page:

http://www.usc.salvationarmy.org/usc/www_usc_cyn.nsf

I used the FlashEff slideshow tutorial to create a slideshow and loop the whole thing. Unfortunately, after about 3 or 4 repititions, the slideshow begins to get hung up and either won't progress to the next slide, or will continually loop just one slide, or randomly and quickly transition between a bunch of slides.

Can anyone take a look and tell me what I might be doing wrong?

Here is my AS3 code for frames 1-4:

stop ();

var myTimer:Timer = new Timer(8000);
myTimer.addEventListener(TimerEvent.TIMER,timerF);
myTimer.start();

function timerF(e:TimerEvent):void{
nextFrame();
}


Here is my code for frame 5:

gotoAndPlay(1);


I also have movie clip buttons set up.
Re: Looping Slideshow - Images Hang & Stop Repeating
February 25, 2009 07:38PM
Nevermind!

I've replaced the 5th frame code with this:

myTimer.stop();
gotoAndPlay(1);


and it works perfectly.
Re: Looping Slideshow - Images Hang & Stop Repeating
March 09, 2009 10:57PM
COULD YOU HELP ME PLEASE?
I have a same problem but in my design a have only 1 frame. its a simple animation in free flash eff but I dont understand why stops and dont continue repeating again?
sorry for my english..
Re: Looping Slideshow - Images Hang & Stop Repeating
March 10, 2009 09:11AM
if you have only one effect that you want to loop you can use the following code:

import com.jumpeye.Events.FLASHEFFEvents;
fe.addEventListener(FLASHEFFEvents.TRANSITION_END, endHdl);
function endHdl(evt:FLASHEFFEvents)
{
fe.show();
}
fe is the instance name of your FlashEff component.
Re: Looping Slideshow - Images Hang & Stop Repeating
March 10, 2009 06:12PM
ok, i hava an scene whit 3 layers each layer hasonly 1 frame and 1 symbol movie clip whit 1 effect: show and hide pattern and thats all. but i need to know where i type your code in the scene or in flasheff panel or where??. .Thx again.. see my swf in [www.genteprofesional.com]



Edited 1 time(s). Last edit at 03/10/2009 10:27PM by flash08.
Re: Looping Slideshow - Images Hang & Stop Repeating
March 11, 2009 08:27AM
Click on the first frame and press F9, write it there.
Re: Looping Slideshow - Images Hang & Stop Repeating
March 11, 2009 10:05PM
ok i renamed the instance of my FlashEff component and i did your instrucction but the problem continues. this the new result:[www.genteprofesional.com] THANK YOU SO MUCH
Re: Looping Slideshow - Images Hang & Stop Repeating
March 12, 2009 07:07AM
I'm sorry, but you lost me.
Doesn't it loops? That's what you asked for right? Which problem persists?
Let me know exactly what you wanna do and I will do my best to help you.
Re: Looping Slideshow - Images Hang & Stop Repeating
June 23, 2009 01:53PM
I have a very similar issue. As you can see on the attached file, I am using the slideshow video tutorial code verbatim for the 30 second slides. I am also using the code mentioned above to create an automatic loop.

My problem is in my button. My ultimate intent is to create 5 buttons that always are visible that one can use to click to the slide of their preference. I built the first one within this FLA, but I'm encountering a strange glitch. The button will successfully take the show to frame 1, but then the slide show seems to forget the timing for frame 2. Instead of playing for 30 seconds, it plays for just the length of the text transition.

Can anyone help please.
Attachments:
open | download - wfm_slideshow.fla (2.02 MB)
Re: Looping Slideshow - Images Hang & Stop Repeating
June 26, 2009 10:16AM
Hi

I left commentes that will help you understand what you did wrong in the fla file.
Hope this helps.

Ionut.
Attachments:
open | download - slideshow with timer.fla (3.98 MB)
Sorry, you do not have permission to post/reply in this forum.