[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to intercept entire HTTPRequests from Adobe AIR's HTMLLoader

Posted on 2008-11-11
1
Medium Priority
?
839 Views
Last Modified: 2013-11-11
This is a follow-up question to http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_23787171.html?cid=239#a22931986. Between the provided answer and my own research I've managed to achieve this, but it leads to a further question, which would make this solution even more useful to me. All one "intercepts" here is the URL. Any ideas re how to intercept the entire HTTP Request. By which I mean, including POST data (if any)?

Thanks in advance,
Terry
0
Comment
Question by:tcattermole
1 Comment
 
LVL 7

Accepted Solution

by:
evcr earned 1500 total points
ID: 22933297

parse the html to get all the links out of the page:
http://www.mikechambers.com/blog/2007/11/09/using-the-htmlcontrol-in-adobe-air-to-parse-html-as-a-data-source/

That should give you the whole url inc. post data etc..

Once you've got the links in an array you could probably use my previous example to choose where (or not) you want the user to go.

HTH

Kim
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question