# Quickie about actionscript and alpha

**URL:** <https://forum.kirupa.com/t/quickie-about-actionscript-and-alpha/119512>\
**Category:** Uncategorized\
**Created:** [August 15, 2004, 8:50pm UTC](https://forum.kirupa.com/t/quickie-about-actionscript-and-alpha/119512 "2004-08-15T20:50:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![freedejm](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@freedejm](https://forum.kirupa.com/u/freedejm)\
**Post date:** [August 15, 2004, 8:50pm UTC](https://forum.kirupa.com/t/quickie-about-actionscript-and-alpha/119512/1 "2004-08-15T20:50:01Z")

</div>

can movie.swf control the alpha of movie2.swf and do ya know the actionscript?

---

<div class="post-metadata">

**Author:** ![freedejm](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@freedejm](https://forum.kirupa.com/u/freedejm)\
**Post date:** [August 15, 2004, 9:19pm UTC](https://forum.kirupa.com/t/quickie-about-actionscript-and-alpha/119512/2 "2004-08-15T21:19:23Z")

</div>

movie2 would be loaded in movie1… i need movie1 to control movie2’s alpha, more so fade movie2 out… please help

---

<div class="post-metadata">

**Author:** ![icio](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/icio/32/484_2.png) [@icio](https://forum.kirupa.com/u/icio)\
**Post date:** [August 15, 2004, 9:30pm UTC](https://forum.kirupa.com/t/quickie-about-actionscript-and-alpha/119512/3 "2004-08-15T21:30:53Z")

</div>

it’d have to be like this:  
you’d have an instance in Movie1, which i will call obj1  
and in Frame1 of Movie1, i’ll have this code:

```auto
obj1.loadMovie("movie2.swf");

```

then, one movie 2 has finished loading, you’d execute this script:

```auto
obj1._alpha --;

```

if you want it to fade out completely, just repeat that over a number of frames. 🙂
