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.
meoden8x
Points:110
Posts:0
Answered

8/16/2010 2:46:46 AM

Title: How to get orginal url of a rewrote url by AS3?


I need to get the orginal url of a rewrote url by AS3 code to get its query string.
Could anybody help suggest a workaround or a fix for this issue?
Best Regards,
meoden8x



1
Otis
Points: 0
Posts:0
8/16/2010 3:39:47 AM



url is rewritten at the server side even before the server page is executed. If you can get the querystring values on your server side then you can write them in the html and pass them as parameters to swf file

2
Rex
Points: 1280
Posts:0
Accepted Answer
8/16/2010 11:57:49 AM



you can pass the values to swf in the html using querystring

a.swf?variable1=something

client side cannot read the rewritten url. If you can get the querystring transformed to new url then you may read the new url and extract them

old url

www.yoursite.com/a.php?chapter=1 it might be transformed to
www.yoursite.com/1/

here you can extract the 1 from url

3
Veer
Points: 480
Posts:0
8/16/2010 9:39:27 PM



Hi,

what do you mean by 'orginal url' and 'rewrote url' ??
can you explain more ??

Regards,
Virat Patel


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 1+6 



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