# Last piece for: XML-driven, timed slideshow -- Help :)

**URL:** <https://forum.kirupa.com/t/last-piece-for-xml-driven-timed-slideshow-help/203665>\
**Category:** Uncategorized\
**Created:** [October 12, 2006, 10:12pm UTC](https://forum.kirupa.com/t/last-piece-for-xml-driven-timed-slideshow-help/203665 "2006-10-12T22:12:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kristopher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kristopher/32/501_2.png) [@Kristopher](https://forum.kirupa.com/u/Kristopher)\
**Post date:** [October 12, 2006, 10:12pm UTC](https://forum.kirupa.com/t/last-piece-for-xml-driven-timed-slideshow-help/203665/1 "2006-10-12T22:12:35Z")

</div>

I’m almost finished with an XML-driven, times slideshow I have to get done for work. I figured out the XML part and can generate the images and movieclips dynamically through AS just fine.

What I’m left with is trying to get a function to make each dynamically made MC fade after a given time. So, for example:

“pic1\_mc.\_alpha” fades to 0 after a 5 second pause

I tried using this function I found on Flash Devils from our very own Ahmed: [http://www.flashdevils.com/showthread.php?s=&threadid=187044](http://www.flashdevils.com/showthread.php?s=&threadid=187044) / But it didn’t quite work.

Attached is the the .fla and written the .xml below (you can’t upload an .xml file), if anyone would care to take a look at it. It’s due Wednesday of next week, so any help by then would be greatly appreciated.

KIRUPA is the best as always 🙂

XML

```auto
<pics>
    <image title="pic1" sourceurl="image1.jpg" />
    <image title="pic2" sourceurl="image2.jpg" />
    <image title="pic3" sourceurl="image3.jpg" />
</pics>

```
