# JS vars to FLASH... "onLoad"

**URL:** <https://forum.kirupa.com/t/js-vars-to-flash-onload/191608>\
**Category:** web dev\
**Created:** [June 21, 2006, 7:25pm UTC](https://forum.kirupa.com/t/js-vars-to-flash-onload/191608 "2006-06-21T19:25:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgulline](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@mgulline](https://forum.kirupa.com/u/mgulline)\
**Post date:** [June 21, 2006, 7:25pm UTC](https://forum.kirupa.com/t/js-vars-to-flash-onload/191608/1 "2006-06-21T19:25:46Z")

</div>

i want my HTML page to pass a var to my flash movie “onload”. unfortunatly, the “onload” action in the body tag is exicuted before the flash movie is able to receive it. how can i pass the var from HTML after the flash is able to receive it?

example:  
[http://www.journeyfinancial.com/Apply-Now.htm](http://www.journeyfinancial.com/Apply-Now.htm)

if you “onMouseOver” the logo “HTML image” on the left… the flash movie to the right starts to play.

again… how can i pass that var when the page is loaded in?
