# Change Movieclip based on URL Parameter

**URL:** <https://forum.kirupa.com/t/change-movieclip-based-on-url-parameter/35795>\
**Category:** programming\
**Created:** [November 18, 2003, 6:07am UTC](https://forum.kirupa.com/t/change-movieclip-based-on-url-parameter/35795 "2003-11-18T06:07:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh\_r](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mahesh\_r](https://forum.kirupa.com/u/mahesh_r)\
**Post date:** [November 18, 2003, 6:07am UTC](https://forum.kirupa.com/t/change-movieclip-based-on-url-parameter/35795/1 "2003-11-18T06:07:33Z")

</div>

Hi,

I have designed a menubar in flash, with 7 buttons.  
when i click on the fist button, i pass a variable called MID (menu ID) to the url \> index.php?MID=1, for each button its in incremental fashion.

this way i get the MID for the URL and pass it to flash.

What iam trying to get is that the button i have clicked should be of differrent color when ever flash gets the MID.

I am not able to get this.

Please find the attached file.
