http://www.actionscript.org/forums/showthread.php3?p=673089#post673089
<http://www.actionscript.org/forums/showthread.php3?p=673089#post673089>plz chk this ur,this is the issue im facing ,in Adobe air,i dont know *how do i handle a HTTP 301 status code? meaning, how do i detect a redirect?* On Sun, Nov 28, 2010 at 8:43 AM, Jitendra Jain < [email protected]> wrote: > It is better you paste some code what and how you are trying to doing > this.. > > Thanks and Regards, > Jitendra Jain > > > On Thu, Nov 25, 2010 at 4:40 PM, kalai selvi <[email protected]>wrote: > >> no actually u understood wrong , some HTML content,ok in this it has >> some h ref link,when u click this it will go to some video server then >> from video server it will redirect to some url to download the >> video,like that process, >> >> >> so when u click the href link ,,its still exist in tha same page, >> >> On 11/25/10, Abdul <[email protected]> wrote: >> > *Hi Selvi,* >> > >> > This code may help for you.. >> > >> > >> > >> > <?xml version="1.0" encoding="utf-8"?> >> > <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" >> > layout="absolute" >> > title="Browser"> >> > >> > <mx:Script> >> > <![CDATA[ >> > import mx.events.ItemClickEvent; >> > >> > [Bindable] >> > private var domains = [{label: "Google", url: " >> > http://www.google.co.in/"}, {label: "Yahoo", url: "http://in.yahoo.com/ >> "}, >> > {label: "Bing", url: "http://www.bing.com/"}] >> > >> > private function callLoadDomain(e:ItemClickEvent):void >> > { >> > // var domain = e.item.url; >> > // html.htmlLoader.load(new URLRequest(domain)); >> > >> > // [or] >> > >> > html.location = e.item.url; >> > } >> > ]]> >> > </mx:Script> >> > >> > <mx:VBox x="0" >> > y="0" >> > width="100%" >> > height="100%" >> > verticalAlign="middle" >> > horizontalAlign="center"> >> > >> > <mx:LinkBar dataProvider="{domains }" >> > itemClick="callLoadDomain(event)"/> >> > >> > <mx:HTML id="html" >> > location="http://abdulthink.wordpress.com/" >> > width="100%" >> > height="100%" >> > htmlText="summa" >> > historyPosition="2"/> >> > </mx:VBox> >> > >> > </mx:WindowedApplication> >> > >> > >> > >> > >> > On 25 November 2010 16:09, kalai selvi <[email protected]> wrote: >> > >> >> hi aLL, >> >> im facing some critical issue in my task, >> >> >> >> >> >> <mx:HTML> using this im showing html contents, >> >> >> >> let assuming my situation : in this <a href="www.google.com" > live >> >> performance </a> so when u click this link it will goes to that site >> >> (google) then it will hit the url also this also it will redirect to >> >> one more url (www.yahoo.com) like, >> >> >> >> so in this case in adobe air(desktop application),when i click "Live >> >> Performance" it doesnt happend any thing,means it still exist in the >> >> page itself.its not redirecting into google atleast >> >> >> >> >> >> so plz what needs to to be done for this redirection on Adobe AIR >> >> >> > >> > >> > >> > -- >> > *With Regards, >> > Abdul. <https://abdulthink.wordpress.com/>** >> > * >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Flex India Community" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]<flex_india%[email protected]> >> . >> > For more options, visit this group at >> > http://groups.google.com/group/flex_india?hl=en. >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> >> > > > -- > Thanks and Regards, > JJain, > > If you have knowledge, let others light their candles in it --Margaret > Fuller: > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

