header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Shridhar Kulkarni
Points:0
Posts:0
Answered

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



1
Connor
Points: 0
Posts:0
Accepted Answer
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

2
Sin Cho
Points: 0
Posts:0
Accepted Answer
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

3
Shridhar Kulkarni
Points: 0
Posts:0
8/24/2011 2:23:15 AM



Thanks a lot guys. you gave me what actually I want.


Thanks to Askmeflash.


problem solved



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions