Easiest XML Slideshow Creator

AS3 XML Slideshow class by flashmad

Hi this is one of my class files i usually use. Just 3 lines of code makse an xml slideshow/fadeshow with editable speed and delay. What you need to do is import my class and write the code as below

import com.flashmadlab.imgFader;
var m:MovieClip = new imgFader(“images.xml”,2,3);
addChild(m);

And your as3 xml slideshow is ready if you have the images.xml is set in the below format

<images>
<image>flash_images/1.jpg</image>
<image>flash_images/2.jpg</image>
</images>

Below is the documented code and You can download the source files here : 3lineSlider_src


import com.flashmadlab.*;
var m:MovieClip = new imgFader(“images.xml”,2,5,{type:”slide”,width:null,height:null,preloader:null}); // type:”fade” or “slide” or “pngFade”
addChild(m);
//imgFader(xmlName:String,fadeDuration:Number,delayBetweenSlides:Number,[params]);
//type:”slide” can have 3 values
//type:”fade” for fading images instead sliding
//type:”pngFade” for png file fadeshow
//width:null can be replaced with a number ie:width:300 height can also be a number
//preloader:specify a movieClip name and it will scale on imageLoade Prgress.

And The demo here http://flashmadblog.com/preview_src/slideshow/

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

No related posts.

Related Posts

Popular Posts


Leave Your Response

* Name, Email, Comment are Required


Google Live Chat

Call me at

_____________________________ +91 9995040559

Add me on Skype

 - Tinku Tharasing: