|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Loading JPGs from XML depending on date
Hi all!
I've been looking around to find out exactly how I can dynamically load JPGs as the background to a flash movie I'm working on, which are displayed based on date, i.e. they are diaplyed only until the enddate defined in the XML file. I saw a post where an external XML file was used and this is the way I want to go. The file should be something like the following: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE images SYSTEM "promo.dtd"> <images> <photos> <img>foto1.jpg</img> <startdate>01/11/2003</startdate> <enddate>30/11/2003</enddate> </photos> <photos> <img>foto2.jpg</img> <startdate>01/12/2003</startdate> <enddate>31/12/2003</enddate> </photos> </images> As a complete novice actionscripter I dont know where to start at reading this XML and then dispalying the image, so any help is much appreciated. I have 52 images - one per week for 2004. Thanks! Simo |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Loading JPGs from XML depending on date |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|