# Fading between Frames

**URL:** <https://forum.kirupa.com/t/fading-between-frames/185085>\
**Category:** flash\
**Created:** [April 10, 2006, 8:42pm UTC](https://forum.kirupa.com/t/fading-between-frames/185085 "2006-04-10T20:42:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAG1CO](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@MAG1CO](https://forum.kirupa.com/u/MAG1CO)\
**Post date:** [April 10, 2006, 8:42pm UTC](https://forum.kirupa.com/t/fading-between-frames/185085/1 "2006-04-10T20:42:34Z")

</div>

So im making a website, Im still quite new to flash but im getting past the basics. Each page is on a different frame. Right now I have the basic code to link frames,

```auto
on (release) {
gotoAndStop(1);

}

```

Would it be possible to use more action script to fade between the frame im going from to the one its linked to? With like 1 second of fade?

Any help would be greatly appreciated,  
thanks

---

<div class="post-metadata">

**Author:** ![deucescorner](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@deucescorner](https://forum.kirupa.com/u/deucescorner)\
**Post date:** [April 10, 2006, 9:43pm UTC](https://forum.kirupa.com/t/fading-between-frames/185085/2 "2006-04-10T21:43:16Z")

</div>

considering each page is on a different frame you could just add more frames between each page

---

<div class="post-metadata">

**Author:** ![MAG1CO](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@MAG1CO](https://forum.kirupa.com/u/MAG1CO)\
**Post date:** [April 10, 2006, 10:11pm UTC](https://forum.kirupa.com/t/fading-between-frames/185085/3 "2006-04-10T22:11:35Z")

</div>

That is a plan, but is there not actionscript that will fade? as it will keep it a lot neater and a smaller file size,

---

<div class="post-metadata">

**Author:** ![MAG1CO](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@MAG1CO](https://forum.kirupa.com/u/MAG1CO)\
**Post date:** [April 11, 2006, 6:48pm UTC](https://forum.kirupa.com/t/fading-between-frames/185085/4 "2006-04-11T18:48:16Z")

</div>

anyone?

---

<div class="post-metadata">

**Author:** ![rufusW](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rufusW](https://forum.kirupa.com/u/rufusW)\
**Post date:** [April 12, 2006, 3:40pm UTC](https://forum.kirupa.com/t/fading-between-frames/185085/5 "2006-04-12T15:40:15Z")

</div>

The way to do it in actionscript is to make everything on the stage a movieclip and then create a loop to change the \_alpha property of the clip.

You’d then have to set up a conditional so that when the \_alpha property == 0 you’d goTo the specific frame.

Having said that I don’t think you’d be able to fade from one to another because the clips are on different frames. To fade one clip out as another clip fades in they need to be on the same frame.
