# Unknown frame-rate slowdown

**URL:** https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362
**Category:** flash
**Created:** [July 12, 2004, 6:07pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362 "2004-07-12T18:07:21Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![nycbrian](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nycbrian](https://forum.kirupa.com/u/nycbrian)
#### Post date: [July 12, 2004, 6:07pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/1 "2004-07-12T18:07:21Z")

</div>

Hi all,

I am having a problem with a slideshow I made for a website. Basically there are 15 or so pictures that I created a fadein effect, then the image stays for 2 seconds and then it fades out. The fade in and fade out effect happens at the same time as the previous and next image fadein and out. Here is the code. Its all done with the timeline. When I hit enter and watch the movie go, when it gets to the fadein of the 11th or so picture the frame rate drops and the fadein/fadeout of the pictures gets choppy. Please take a look. The file is to big so I can’t attach, but should a 300K file slow down like that?

Thanks for any help.

-brian

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 6:11pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/2 "2004-07-12T18:11:59Z")

</div>

Are you using onEnterFrame functions to fade in/out ? And if you do, are you deleting the functions when they are not needed anymore? If you’re not, that could explain the slow framerate.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 7:37pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/3 "2004-07-12T19:37:40Z")

</div>

I am not using actionscript, I am using timeline tweening effects to switch between pictures.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 7:42pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/4 "2004-07-12T19:42:57Z")

</div>

Whoa then it’s weird. Mind if I take a look at the file? (email it johan[at]bostrom[dot]se )

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 7:45pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/5 "2004-07-12T19:45:34Z")

</div>

Does it do the same thing when you hold Control and hit Enter?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 7:52pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/6 "2004-07-12T19:52:43Z")

</div>

oh you aren’t hitting ctrl+enter?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 7:53pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/7 "2004-07-12T19:53:44Z")

</div>

jonathan I will send you the file in a second. And yes it does the same thing in when I hit control-enter or whenever it is played off my website.

Check it out

[http://home.nyc.rr.com/nycbrian/schaer/weddings.swf](http://home.nyc.rr.com/nycbrian/schaer/weddings.swf)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 7:56pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/8 "2004-07-12T19:56:59Z")

</div>

who’s jonathan? 😉

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 8:12pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/9 "2004-07-12T20:12:13Z")

</div>

Sorry its been one of those days? What would you rather me call you? :crazy:

Did you get my email scriptflipper?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 8:21pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/10 "2004-07-12T20:21:08Z")

</div>

yeah, did you get mine? 😉

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 8:34pm UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/11 "2004-07-12T20:34:31Z")

</div>

Thank you ScriptFlipper. I got your email, just a little slow because I have to deal with other work issues. I see the problem I was having, I wasn’t deleting the images after fading them out. Rookie mistake. Now I should really figure out how to make an automatic slideshow using AS. Went this route because it was keeping me up late.

BTW, how is Sweden this time of year?

-Brian

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 4:34am UTC](https://forum.kirupa.com/t/unknown-frame-rate-slowdown/57362/12 "2004-07-13T04:34:59Z")

</div>

You’re welcome! And image gallery in AS isn’t so hard to do, I think there are lots of tutorials on that topic too.

Sweden is nice! although It’s been raining every day the past week and it doesn’t seem like it will stop anytime soon ☹ Well well, atleast I can sit with my computer then 😛

Cheers
