# SWFobject 2 Flashvars

**URL:** https://forum.kirupa.com/t/swfobject-2-flashvars/311391
**Category:** flash
**Created:** [July 5, 2010, 1:39pm UTC](https://forum.kirupa.com/t/swfobject-2-flashvars/311391 "2010-07-05T13:39:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)
#### Post date: [July 5, 2010, 1:39pm UTC](https://forum.kirupa.com/t/swfobject-2-flashvars/311391/1 "2010-07-05T13:39:20Z")

</div>

Heya … I am trying to display my flashvars in my flash movie … and dont know the actionscript code to call the vars from the html page.

Thus far I have in my html (in the appropriate place - im not displaying all the code)

```auto
var flashvars = {};
	flashvars.name1 = "hello";
    swfobject.embedSWF("fvs.swf", "flashMovie", "100%", "100%", "9.0.0","expressInstall.swf","false",flashvars);

```

so now i have that sorted … how do i pull out “hello” into my txt box?! I thought

```auto
my_txt.text = flashvars.name1;

```

would do it … but alas, non!

any help out there in the world - I cant find it in the SO documentation regarding the actionscript side of the code…

thanks:rd:
