Forum Moderators: open

Message Too Old, No Replies

Passing a variable from a flash intro page

         

Dstraction

9:49 pm on May 5, 2006 (gmt 0)

10+ Year Member



Hi all!

Is it possible to pass a global variable from a flash intro page?

Currently, I have a flash intro and the option to 'Skip Intro' on the intro page.

I'd also like an option on the intro page to 'Skip intro and turn the music off' on all pages on the site.
That way my dial-up users can enjoy the site without the wait.

My current code works fine in IE 6 and my next project is to get it to work in FireFox (input on this would be great too!)
Currently my music code for each page is very simply:

<script language="JavaScript">

var NFsong = "http://example.com/mm5/music/m3u/storefront.m3u" [the *.m3u references an mp3 file and is different on each page of the site]

</script>

And the global footer has the player code:

<script language="javascript">
<!--
document.write("PAUSE&nbsp;&nbsp;<embed src=\""+NFsong+"\" style=\"width:44px;height:26px\" loop=\"true\" >&nbsp;MUSIC");
//-->
</script>
<BR>

Any help on passing a globabl variable from the intro page would be GREATLY appreciated!

Thanks in advance!

Joe

[edited by: jatar_k at 9:55 pm (utc) on May 5, 2006]
[edit reason] no urls thanks [/edit]