LetterAfterZ
07-18-2007, 07:04 AM
Hi,
I'm trying to create a dynamic news page on a flash site in a similar style to that on http://www.wolfmother.com (as an example)
Bascially it has a seperated date and header that is formatted differently.
I also want to be able to limit the news articles to, say, 10 a page.
I presume the way to achieve this would be to utelise a generated XML file, so using PHP I currently have the following structure:
<page>
<article>
<headline>HEADLINE TEXT HERE</headline>
<text>NEWS TEXT HERE</text>
<date>DATE HERE</date>
</article>
<article....etc
How would I take this values into flash to present each news article beneath the last? I have created news within a single scrollable dynamic text box before, but how can I do this using XML with different fields for the header, date and main text?
Thanks!
I'm trying to create a dynamic news page on a flash site in a similar style to that on http://www.wolfmother.com (as an example)
Bascially it has a seperated date and header that is formatted differently.
I also want to be able to limit the news articles to, say, 10 a page.
I presume the way to achieve this would be to utelise a generated XML file, so using PHP I currently have the following structure:
<page>
<article>
<headline>HEADLINE TEXT HERE</headline>
<text>NEWS TEXT HERE</text>
<date>DATE HERE</date>
</article>
<article....etc
How would I take this values into flash to present each news article beneath the last? I have created news within a single scrollable dynamic text box before, but how can I do this using XML with different fields for the header, date and main text?
Thanks!