# Passing Variables

**URL:** <https://forum.kirupa.com/t/passing-variables/258898>\
**Category:** Uncategorized\
**Created:** [April 29, 2008, 11:29am UTC](https://forum.kirupa.com/t/passing-variables/258898 "2008-04-29T11:29:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shellfish](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@shellfish](https://forum.kirupa.com/u/shellfish)\
**Post date:** [April 29, 2008, 11:29am UTC](https://forum.kirupa.com/t/passing-variables/258898/1 "2008-04-29T11:29:00Z")

</div>

Hey guys,

I wonder if someone could help me with this problem mixing actionscript 2 and XML:

I basically have a bunch of thumbnail images that I have converted to buttons - I want to click a button and for it to take me to another page and play a video.

However, I want to use XML so I could later change the video without going into Flash. I guess I’ll need to [on pressing the button], call a variable that loads a particular video onto the screen but i don’t know how to do that?

Any help would be great

Fish
