View Full Version : using swf in javascript slideshow

08-04-2009, 03:33 PM
I am using a javascript slideshow to run a series of images that relate to news headlines. I have gotten a request to use a short swf file in place of the image for a particular headline. Is this even possible?

The images for the sideshow are listed in an array like so:

fadeimages2[0]=["images/homeFeatures/image01.jpg", ""]
fadeimages2[1]=["images/homeFeatures/image02.jpg", ""]
fadeimages2[2]=["images/homeFeatures/image03.jpg", "", ""]
fadeimages2[3]=["images/homeFeatures/image04.jpg", "", ""]
fadeimages2[4]=["images/homeFeatures/image05.jpg", "", ""]

The javascript creates a fade effect from one image to the next.

I've tried several "javascript amateur-hour" solutions but they all brake the code. Any help would be greatly appreciated.