Hi,

I have two fucntions on my page, one generating the Random number, the other
identifies the country code, I have managed to integrate the Random number
within the swfobject.embedSWF but cant find a way to call this
CountryCode(); into the "ccode" which is the variable in flash.

Can anyone please look into the code below and suggest a solution:

*********************************************
<script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
     var RandomNumber = GetRandom();
    </script>
    <script type="text/javascript">
        var flashvars {
            ccode: *CountryCode();*
        }
        swfobject.embedSWF("Data/0"+*RandomNumber*+"_intro.swf",
"flashcontent", "900", "315", "9.0.0","expressInstall.swf", flashvars);
    </script>
<div id="flashcontent">
        <center>
        <a target="_blank" href="http://www.macromedia.com/go/getflash/";>
        <img border="0" alt="" src="getflash.png"
/>
        </a>
        </center>
</div>

*********************************************

Thanks
Fahad.

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to