It's pretty simple. i'm calling an PHP script from my flash using navigateToURL. It runs the script and opens a new window in my browser
It's possible to just call the php script from AS3, without open a new window ?
Thanks.
It's pretty simple. i'm calling an PHP script from my flash using navigateToURL. It runs the script and opens a new window in my browser
It's possible to just call the php script from AS3, without open a new window ?
Thanks.
You can specify the target like so:
navigateToURL(myRequest, '_self');
Hope that helps!
Are you looking to download information from the PHP script in to your app?
If so, you might be looking for URLLoader. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html
flash.net.sendToUrl() may be of use.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/package.html