-
problem sending variables to banner
I want to give promotors there own banner to promote my sites.
to keep track of there banner stats they heve ther own Id.
But offcorse i dont want to make for every promotor an uniek banner so i want to get ther ID into the url within the movie.
on (release) {
getURL("http://www.site.com/promo/?pid=&user&sid=122 ", "_blank", "GET");
}
i want to get the variable from the movie code
like this:
<cut>
<PARAM NAME=movie VALUE="flashtest.swf?user=234">
<EMBED src="flashtest.swf?user=234" menu=false quality=high scale=noborder bgcolor=#000000 WIDTH="468" HEIGHT="60" NAME="flashtest" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
<cut>
Dos anybody understand what i mean and help me to get this to work?
Thanks,
-
Hi,
the code in your flash should read
on (release) {
getURL("http://www.site.com/promo/?pid="+user+"&sid=122 ", "_blank", "GET");
}
Musicman
-
Oke that workt perfect.
Oke that workt perfect.
The problem whas that you cant test this on a local machine it has to be uploaded to the server before the variables in de html are pased on to the flash file.
And ofcorse a didnt know abbout the + sign
Thanks a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|