Sunday, May 20, 2012
 

Flash AS3 slideshow

In this article i will share my slideshow gallery i made for one of my as a freelancer projects. There were sutch requirements:

  1. Dynamic number of photos
  2. Photos should crossfade withing each other
  3. Photos should be managebal from Magento backoffice.

So let's start.

Because of first requirement, photos have to be dynamicaly added and there is no use of timeline at all. Whole slideshow is writeln in AS3. Talking about crosffading it can be done with Bitmap and BitmapData. Because photos have to be dynamicaly changed, flash reads required information from xml. During flash loading i pass flash parameter with path to XML. Working slideshow can be found here

Source code can be downloaded from here. It was compiled with Flash CS4

Back »

Comments: 0

Leave a reply »

 
  • Leave a Reply
    Your gravatar
    Your Name
     
     
     
     
 
About Remdex site

Simple site for simple peoples.

Get in touch

E-mail: remdex@gmail.com