Simple. Create a base mxml component for the data that you are retrieving
from the HTTPService. Example: If your data contains a url to an image and a
title for the image, then the base component should have a label control and
an image control.

There are two ways you can add items to the coverflow list. One way is using
a Repeater control. You can find more about a repeater here
http://livedocs.adobe.com/flex/3/html/help.html?content=repeater_3.html

Just place the repeater inside the <CoverflowContainer></CoverflowContainer>
tags and set the data correctly.

Another way to add items to the coverflow is through looping. (1) Retrieve
data. (2) Setup a for loop and loop through the data (3) For every data
item, create and instantiate the base component and add it to the coverflow
container using the addChild method.

Personally i prefer the second method. Good luck!

-- Jeethu Karthik J
  http://jeethukarthik.com

Bob Dole  - "The internet is a great way to get on the net."

On Thu, Dec 4, 2008 at 1:34 AM, richard_soper <[EMAIL PROTECTED]> wrote:

>
> I got some help from Doug Mccune, and have the cover flow part
> working, but now I want to get data from and XML document(i.e. image
> urls, titles, etc) and display them in the cover flow.
>
> I have the httpService going out and getting the data when the app
> creation is complete, i just dont know how to display the xml data how
> I need to.
>
> Here is an example of what i want to do
> http://dougmccune.com/blog/2007/11/03/coverflow-flex-component/
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to