# \[fmx2004\] passing variables from html to flash

**URL:** <https://forum.kirupa.com/t/fmx2004-passing-variables-from-html-to-flash/150430>\
**Category:** flash\
**Created:** [June 7, 2005, 3:38pm UTC](https://forum.kirupa.com/t/fmx2004-passing-variables-from-html-to-flash/150430 "2005-06-07T15:38:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boua5828](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@boua5828](https://forum.kirupa.com/u/boua5828)\
**Post date:** [June 7, 2005, 3:38pm UTC](https://forum.kirupa.com/t/fmx2004-passing-variables-from-html-to-flash/150430/1 "2005-06-07T15:38:19Z")

</div>

After reading a few posts, I wasn’t able to find the answer to this.

I want to have links on several pages of my website which, when clicked, take the user to an html page called “portfolio.htm” which has a flash portfolio on it. This portfolio is set up with a series of buttons which load external .swf files for each project. How do I tell flash which .swf to load when the flash file opens.

ex: user clicks on “project x” on a web page called print.htm. The user should then be taken to portfolio.htm where a flash file resides and loads “project x” into a movie clip called “content\_mc”.

All the other posts I’ve read make reference to PHP. Is it neccesary to use PHP, or can I achieve this without PHP? Thanks for any advice you can offer.
