# getURL and Load movie depending on button pressed in main movie!

**URL:** <https://forum.kirupa.com/t/geturl-and-load-movie-depending-on-button-pressed-in-main-movie/50215>\
**Category:** flash\
**Created:** [April 30, 2004, 11:11am UTC](https://forum.kirupa.com/t/geturl-and-load-movie-depending-on-button-pressed-in-main-movie/50215 "2004-04-30T11:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![minced](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@minced](https://forum.kirupa.com/u/minced)\
**Post date:** [April 30, 2004, 11:11am UTC](https://forum.kirupa.com/t/geturl-and-load-movie-depending-on-button-pressed-in-main-movie/50215/1 "2004-04-30T11:11:18Z")

</div>

this is my problem. I have a **MAIN** movie with 6 buttons. I have another movie (i’ll call this my **Content** movie) in which i want to load content that is related to the buttons in the main movie. I want to record the button pressed in the main movie and load the appropriate SWF in an empty movie clip in the \*\*Content \*\*Movie… I suspect I need to send the relevant variable to the Content movie when i getURL() on release of a button! I’ve made many attempts but with my meagre knowledge of AS have come up with zilch! How can I do this. Need help desperately (as usual!)

Thanks.

PS: I know Scotty will know the answer to this in a jiffy!! 😉
