# A Perfect Fade-In, a Perfect Movie-Style Intro

**URL:** https://forum.kirupa.com/t/a-perfect-fade-in-a-perfect-movie-style-intro/2689
**Category:** flash
**Created:** [May 8, 2002, 8:04pm UTC](https://forum.kirupa.com/t/a-perfect-fade-in-a-perfect-movie-style-intro/2689 "2002-05-08T20:04:33Z")
**Posts on this page:** 3
**Page:** 1

<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: [May 8, 2002, 8:04pm UTC](https://forum.kirupa.com/t/a-perfect-fade-in-a-perfect-movie-style-intro/2689/1 "2002-05-08T20:04:33Z")

</div>

HI flash\_monsters,\r\r-I have in Frame n°1 a MovieClip with this actionscript for a Fade in:\r\r\ronClipEvent (load) {\r\_alpha = 0; }\ronClipEvent (enterFrame) { \rif (\_alpha\<100) { \r\_alpha+=2; }\r}\r\r\r-In the Layer 2, I have a “stop”.\r-In Frame n°2 I have another MovieClip with the same script.\r\r\r\r1)In which way can I say to Flash:\r\rWHEN alpha=100 GoToAndStop to Frame 2?\r\r\r2) In Which way can I obtain a fade-out (after the fade-in) also, at first to pass to Frame 2?\r\r\rI have a lot of clip in the same number of frame, to make a movie-style intro.\r\rI see “Transition of alpha via Action Script” in the BEST, but nothing Help to me there.\r\rPlease, help me!\r\rMany Thanx\r\r\rDoctor

---

<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: [May 9, 2002, 4:09am UTC](https://forum.kirupa.com/t/a-perfect-fade-in-a-perfect-movie-style-intro/2689/2 "2002-05-09T04:09:03Z")

</div>

to answer your first question\r\ronClipEvent (load) {\r\_alpha = 0; }\ronClipEvent (enterFrame) { \rif (\_alpha\<100) { \r\_alpha+=2; }\rif (\_alpha\>=100){\r\_root.gotoAndStop(2);\r}\r}\r\ras for a fade in… you can just reverse the code\r\ronClipEvent (load) {\r\_alpha = 100; }\ronClipEvent (enterFrame) { \rif (\_alpha\>0) { \r\_alpha-=2; }\r}\r

---

<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: [May 9, 2002, 8:26pm UTC](https://forum.kirupa.com/t/a-perfect-fade-in-a-perfect-movie-style-intro/2689/3 "2002-05-09T20:26:14Z")

</div>

ManY Thanx upuaut8.\r\rThere’s a “challenge” for U in "tutorial " section…\r\r\r\rcheers,\r\r\r\rDoctor\r\r
