8/23/2011 6:05:53 AM
Title:
Read query string from url
Hello
I want to read parameters from url.
I searched it with some docs. but they are taking parameter from flashvars which i dont want.
And also my parameter number are not fixed. Means from url I cann get 2 parameters or 3 parameters.
I also searched with browser manager but it takes parameter after '#'
But my url is www.abc.com?var=1&var1=2;
Can any one help me in solving this problem ???
Thanks in advance
Shridhar Kulkarni
8/23/2011 11:44:27 AM
you can use this actionscript code to read querystring from url from with in the actionscript
http://cookbooks.adobe.com/post_How_to_get_Query_String_in_Flex_Applications-17155.html
8/23/2011 11:46:38 AM
hi i read this article to get querystring values from url in flash . This should help you a lot. It uses a JavaScript function in HTML. Flash calls the JavaScript function to receive the querystring values.
http://actionscripter.co.uk/blog/?p=36
8/24/2011 2:23:15 AM
Thanks a lot guys. you gave me what actually I want.
Thanks to Askmeflash.
problem solved