Actionscript XML horizontal scrolling image gallery
Posted on 2004-08-23
Hey all ...
New to actionscript, but have a pretty good programming background ... I want a horizontal scrolling image gallery (with highlight mouse-overs), and can't figure out how (and where) to load the images from the XML file, which looks like this :
<image title="Image Title - 01" img_path="images/01.jpg">This is a description of Image 01</image>
<image title="Image Title - 02" img_path="images/02.jpg">This is a description of Image 01</image>
<image title="Image Title - 03" img_path="images/03.jpg">This is a description of Image 01</image>
Would it be best to load these into an array, then loop through the array adding images to the scene ?
Full source code for this question has been provided in answers to questions almost exactly like this by EE flash experts before (many of which I really like), but not with an XML image list before.
I'm willing to do the work on this one, just need some code examples and advice.