Load dynamic image links from XML page

  • frons
  • Born
  • Born
  • No Avatar
  • Joined: Sep 14, 2007
  • Posts: 3
  • Loc: Ancona, ITALY
  • Status: Offline

Post November 13th, 2007, 4:01 am

Hello: I got a .xml file generated via a .php page that shows (among other datas), html links to various images (taken from a db). I gotta do a sort of dynamic music catalogue that shows the following datas: band name, genre, web page link and album cover image

I use Flash 8 and I connect the .xml file to the Flash .swf via a XML connector.

What's the best way to make a sort of dynamic image loader that "reads" the links in the .xml-generated page (in the classic form of http://xxxxxx/xxxxx.jpg) and shows the real image?

I have one list and two textInput components that show the other datas from the .xml page, the last to be showed are the album cover images and the HTML links to the web page.

Any hints?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 13th, 2007, 4:01 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post November 13th, 2007, 12:23 pm

this tutorial should do what you want...
http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 75 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.