Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Diving deeper into HTTPService using AS3

Avatar

Level 1
Hello.

I'm getting more into Flex and want to make an advanced rss
reader to keep up with the newest tweets in my titter feed. The
advanced part involves retrieving an rss feed, and appending only
the new items that I haven't seen yet to a list, with an alert
message/highlight color when new items become available.



I can probably figure out all the logistical stuff, but was
wondering if anyone knew of a good example that handles HTTPService
data in AS3, not dumping it all to a component of some sort right
away? A pure AS3 example would rock as well, although I do intend
to put it all back into flex components when finished messing with
the data. I look forward to your thoughts.



Thanks much in advance. 🙂




Edit:

So far, I found this in another post which will work great:

var service:HTTPService = new HTTPService();

service.url = <your url>;

service.method = "GET";

service.addEventListener("result", httpResult);

service.addEventListener("fault", httpFault);

service.send();



Now I just need a function to handle the data. I read that
the 'result' might be returned as an object that I can parse,
probably with a for statement? Still researching...
0 Replies