# Accessing movieclip parameters

**URL:** <https://forum.kirupa.com/t/accessing-movieclip-parameters/93783>\
**Category:** Uncategorized\
**Created:** [November 4, 2003, 8:43pm UTC](https://forum.kirupa.com/t/accessing-movieclip-parameters/93783 "2003-11-04T20:43:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bricar77](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@bricar77](https://forum.kirupa.com/u/bricar77)\
**Post date:** [November 4, 2003, 8:43pm UTC](https://forum.kirupa.com/t/accessing-movieclip-parameters/93783/1 "2003-11-04T20:43:32Z")

</div>

I have a button in a movie that I want to set a global variable to a new value when clicked. I want it to access a parameter of a movie clip that this same button loads onto the movie for the new global variable value. I have the final line under this button’s onrelease script with something like this:

globalvariable1 = movieclip.parameter;

Everything is on level 0 and I’ve tried prefixing everything with \_root. but it didn’t make a difference, the global variable still wasn’t changed. I’m a newbie so don’t laugh if this is a really dumb question! Thanks for your help!

BriCar77  
[brian\_carey77@ou.edu](mailto:brian_carey77@ou.edu)
