# Passing variables to flash from html link

**URL:** https://forum.kirupa.com/t/passing-variables-to-flash-from-html-link/111175
**Category:** Uncategorized
**Created:** [May 24, 2004, 2:16pm UTC](https://forum.kirupa.com/t/passing-variables-to-flash-from-html-link/111175 "2004-05-24T14:16:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![LexGraphics](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@LexGraphics](https://forum.kirupa.com/u/LexGraphics)
#### Post date: [May 24, 2004, 2:16pm UTC](https://forum.kirupa.com/t/passing-variables-to-flash-from-html-link/111175/1 "2004-05-24T14:16:46Z")

</div>

how can i pass the var to flash where i can send from post…

for example: [http://www.brandlite.com/index.htm?link=exhibits](http://www.brandlite.com/index.htm?link=exhibits)

the only way i can pass it so far is hardcoding it into my html page like this…

## code:-------------------------------------------------------------------------------- /\embed src=“main.swf?link=exhibits” width=“780” height=“480” quality=“high” pluginspage=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)” type=“application/x-shockwave-flash” wmode=“transparent”/\

where i do it in the embed src="main.swf?link=exhibits tag…

how can i pass with a link instead of hard coding… see the thing is that i have one movie that loads all other swf.s so i want it to load the specific one that was set by the variable instead of hardionign different pages for different scenarios.

i read you can do it with javascript… i saw a tutiorial thast lets you send variables from a text field in html with a function, but i couldnt get it to get the variablkes from the address header bar… please help

thanks
