-
[F8] Using getURL() w/o page loading
Hi, I was wondering how I could go about getting a php script to be executed from flash, but without actually opening a new window. The php script creates an xml file depending on what variable is send to it when it gets called, which flash then reads. For example:
code:
getURL("script.php?year=02");
But instead of having a new window load, I just want the php script to be executed with the variable "year=02" passed onto it, which will be changed depending on what the user clicks from within flash. Any ideas? Thanks in advance, - Peter.
-
Use loadVariables
//---script---
loadVariables("script.php?year=02", "");
//--------------
In the words of Homer the Great! If it's too hard, it's not worth doing!
Finally found a use for all the forwards I received Inboxity.
-
Thanks for the help. I ended up using loadXML since it was xml that it would be loading.
code:
xml.load("script.php?year="+year);
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
|