# Simple website scripting

**URL:** <https://forum.kirupa.com/t/simple-website-scripting/111816>\
**Category:** Uncategorized\
**Created:** [May 31, 2004, 7:01pm UTC](https://forum.kirupa.com/t/simple-website-scripting/111816 "2004-05-31T19:01:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbornowski](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@rbornowski](https://forum.kirupa.com/u/rbornowski)\
**Post date:** [May 31, 2004, 7:01pm UTC](https://forum.kirupa.com/t/simple-website-scripting/111816/1 "2004-05-31T19:01:59Z")

</div>

Right…

I have 5 movie clips on one scene layered on top of each other. One of them is the navigation which has 4 buttons. the other 4 layers are my content pages (MCs) which fade in and fade out along the timeline.

I want the buttoms to control the content pages… when “option 1” is selected I would like the current page to start playing (where i have it fading out along its timeline) and the other page to come in!

I have no idea how to do this… do you use IF commands?? if buttonpress etc

im a newbie to actionscript!!

cheers
