flash (macromedia):
I recently loaded the Flash Player 7, when I installed Flash MX Professional 2004, and noticed it is causing a problem with a dynamic movie I have.
I have a Flash move located on one site (media.XYZ.com/movie.swf) that requests a string of variables from an .ASP page on another site in the same domain (
www.XYZ.com/variables.asp).
Here is the script I have in Frame 2 with a simple loop to check for empty/filled variables:
loadVariables("
http://www.XYZ.com/variables.asp", "", "GET");
//trace (varDummy)
if (varDummy == 1) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
The movie with the above script does NOT work with Flash Player 7, it does with Flash Player 6. I get a Macromedia Flash Player Settings - Security warning saying this is a "potentially insecure operation" - a message I never received with Flash Player 6.
If I place the variables .ASP page on the same site as the movie, with the following script, it works fine in both v.7 and v.6 with no warning messages.
loadVariables("
http://media.XYZ.com/variables.asp", "", "GET");
//trace (varDummy)
if (varDummy == 1) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
Here are the real examples...
Accessing variables from OTHER site (warning message in v.7):
http://media.IGT.com/media/Animation/NewJobs2.swf Accessing variables from SAME site:
http://media.IGT.com/media/Animation/NewJobs.swf Is there a security setting I should be setting?
Any assistance is much appreciated.
Thanks
-Robert