So... How does this work?

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…


<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>