# \[Flashmx2004\* Movieclip AS question :D

**URL:** <https://forum.kirupa.com/t/flashmx2004-movieclip-as-question-d/72476>\
**Category:** flash\
**Created:** [December 6, 2004, 11:44am UTC](https://forum.kirupa.com/t/flashmx2004-movieclip-as-question-d/72476 "2004-12-06T11:44:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrAlucard](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@MrAlucard](https://forum.kirupa.com/u/MrAlucard)\
**Post date:** [December 6, 2004, 11:44am UTC](https://forum.kirupa.com/t/flashmx2004-movieclip-as-question-d/72476/1 "2004-12-06T11:44:23Z")

</div>

Hey guys, im making a website with a flash menu/header and I got a question.

Is it possible to make a AS code that checks if a MC been played and if it is that it can do this \_root.butportfolio.gotoAndPlay(17); and if its not been played that it does \_root.butportfolio.gotoAndPlay(16);

[http://www.freewebs.com/mralucard](http://www.freewebs.com/mralucard)  
Here is my site, with the menu, I hope someone of you has a good idear.

I thought the code should look like this.

on (press) {

\_root.butcontact.gotoAndPlay(2);  
When.butdesign.isloaded.gotoAndPlay(18); ifnot gotoAndPlay17);  
When.butovermij.isloaded.gotoAndPlay(18); ifnot gotoAndPlay17);  
When.butportfolio.isloaded.gotoAndPlay(18); ifnot gotoAndPlay17);  
}

Ofcourse this dosent work, but it may help you understand what I want.
