Hey Y’all,
My issue has to do with a communication error between my Flash movie, and a PHP script that’s being called by it.
The Rundown: Shopping cart login, that has to work regardless of which page the user is viewing/logging in from… currently it only works when you hard code the page name into the call i.e.
[COLOR=Magenta]cmdLoginReal.onRelease = function(){
getURL (“index.php”, “_self”, “POST”);
}[/COLOR]
The php file has a variable called “PageName”, which coincidentally enough changes each time the user visits a new page. I am passing this variable back to the flash movie through the object tag on the php page every time the swf loads, and now would like to incorporate it into the code above??? I’ve tried this…
[COLOR=Magenta]cmdLoginReal.onRelease = function(){
getURL (PageName, “_self”, “POST”);
}[/COLOR]
But it comes back as undefined??? Can someone please help? I guess I could test what page the user is on with some if statements, but I’d like to avoid the hard code if at all possible…
Keep on contact, Romeo
Thank-You