# Button link from inside a movie

**URL:** <https://forum.kirupa.com/t/button-link-from-inside-a-movie/215792>\
**Category:** Uncategorized\
**Created:** [February 10, 2007, 10:39am UTC](https://forum.kirupa.com/t/button-link-from-inside-a-movie/215792 "2007-02-10T10:39:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DG0](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DG0](https://forum.kirupa.com/u/DG0)\
**Post date:** [February 10, 2007, 10:39am UTC](https://forum.kirupa.com/t/button-link-from-inside-a-movie/215792/1 "2007-02-10T10:39:16Z")

</div>

Right now I’ve got a movie file that opens up buttons, but if I were to give the button some  
kind of AS such as  
on (click) {  
variableA = 526;  
}  
doesn’t work  
this isn’t what i have in the flash AS, just an example, but basically i need each button to  
set a bunch of variables…  
attached is what the menu is and an example of what i want from one button:
