hi,
this post is not for actionscript masters this is only for those who just started playing with actionscript. this simple example demonstrate how to open a url with querystring HTTP GET method.
import flash.net.navigateToURL;
import flash.net.URLRequest;
import flash.net.URLVariables;
var url:String="http://anilmathewm.blogspot.com/search";
var variables:URLVariables = new URLVariables();
variables.q="actionscript";
var urlRequest:URLRequest = new URLRequest(url);
urlRequest.method="GET";
urlRequest.data=variables;
navigateToURL(urlRequest, "_blank");
0 comments:
Post a Comment