I’m making a Flash invitation to a party, and I want to send it via e-mail.
So I want to pass a variable to Flash in the URL like this:
www.mydomain.com/index.html?nameID=23
Flash contains a list of people invited to the party.
So when Flash reads nameID = 23 it shows the name linked to # 23.
E.g. “Dear Thomas, please come to my party bla bla bla…”
This way I only have to change the nameID in the e-mails I send.
I’ve found some sites on the web, that suggests to replace this line in the index.html:
<param name="movie" value="invitation.swf" />
With this:
<param name="movie" value="invitation.swf?nameID=23" />
But it is hard coded and I don’t know any javascript.
Could anyone make a script, that takes the nameID from the URL and puts it behind the “invitation.swf” in the index.html file?
(index.html attached as index.txt)