Hi there. I'm new to this forum and this is my first post. I am in need of some help with the following:
I've made a flash button which goes to a url, however, I need to pass into the button a PHP variable (parameter) so that the target would change based on the variable.
the target URL would be something similar to this:
[FONT=courier new]http://www.myDomain.com/page.php?myVar=something[/FONT]
where the "myVar" value would change. In my Flash movie, I have tried:
[FONT=courier new]
on (release, dragOut){
getURL("page.php?myVar=$myVar", "_self", "GET");
}
[/FONT]
unfortunatley, I end up with the string "page.php?myVar=$myVar" as my URL.
Does anyone have a simple solution to this? I sure it is probably something simple, but I've never tried combining Flash with PHP before and I don't want to revert to using a standard HTML link. I have looked up using a dynamic text field, but everything I've found referes to using an external text file to load content.
Thanks in advance!