Nicole Rutter's Blog
Posted At : October 20, 2007 9:19 AM | Posted By : Nicole Rutter

Flash and XML Image Viewer/slideshow

If you have been looking for a Flash and XML image viewer or sideshow with a description you may be hit a dead end.

Example

Find out How......

[More]

Comments
Hey Nicole. This is exactly what im looking for bar one part.

I'm totally new to flash and actionscript and would really appreciate it if you'd take some time to help me out.

is it possible to add another part to the xml. a link="http://www.site.com" and when the user clicks on the picture or on the text they would be sent to it.

I'm assuming you'd have to create another clip and call the info from the xml doc...i just have no idea how.

thank you for you time and i await your reply.
# Posted By Rrory | 12/30/07 8:05 PM
add this line to the top:
var link:Array = new Array();

and include this in the if loop:
textBar.onRelease = function() {
getURL(link[current], "_blank");
trace(link[current]);
};

then in the xml, add link="http://www.site.com"
# Posted By Nicole Rutter | 1/14/08 9:14 AM



Blog provided and hosted by CF Webtools. Blog Sofware by Ray Camden.