Question : How do you create a slideshow (with forward and next buttons and dynamic captions using swf files?

Hi- I am pretty new at this xml / as stuff but I am eager to learn and can learn by examples.

So here is my problem, I found a great xml slideshow with dynamic captions. Its exactly what I want but I dont want to load photos I need to load external swfs.

Does anyone know how to create a XML slideshow like this but instead of loading photos it would load swfs?

All help provided is very appreciated!
Thanks
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
XML FILE:








 
 
ACTIONSCRIPT FILE:
var x:XML = new XML();
x.ignoreWhite = true;
 
var urls:Array = new Array();
var captions:Array = new Array();
var whoIsOn:Number;
 
x.onLoad = function(success) {
	var photos:Array = this.firstChild.childNodes;
	for(i=0;i 0) {
		whoIsOn--;
		holder.loadMovie(urls[whoIsOn]);
		caption.text = captions[whoIsOn];
	}
}
 
next.onRelease = function() {
	if(whoIsOn < urls.length-1) {
		whoIsOn++;
	    holder.loadMovie(urls[whoIsOn]);
	    caption.text = captions[whoIsOn];
	}
}
Open in New Window Select All

Answer : How do you create a slideshow (with forward and next buttons and dynamic captions using swf files?

Oh I forgot to mention this is AS2, I would really like to know it is in AS3...thanks!
Random Solutions  
 
programming4us programming4us