# So... How does this work?

**URL:** <https://forum.kirupa.com/t/so-how-does-this-work/187921>\
**Category:** flash\
**Created:** [May 3, 2006, 6:41am UTC](https://forum.kirupa.com/t/so-how-does-this-work/187921 "2006-05-03T06:41:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zicemaster](https://avatars.discourse-cdn.com/v4/letter/z/b77776/32.png) [@zicemaster](https://forum.kirupa.com/u/zicemaster)\
**Post date:** [May 3, 2006, 6:41am UTC](https://forum.kirupa.com/t/so-how-does-this-work/187921/1 "2006-05-03T06:41:12Z")

</div>

I feel like a kid with a new toy… The variable “flashVarText” will be sent to the \_root with this script, right?

I thought flash was a closed enviorment…

```auto

<script type="text/javascript">
        // <![CDATA[
        
        var so = new SWFObject("so_tester.swf", "sotester", "300", "300", "8", "#FF6600");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
        so.write("flashcontent");
        
        // ]]>
</script>

```
