Old 05-20-2008, 12:41 PM   #1 (permalink)
Junior Member
 
Join Date: May 2008
Posts: 2
Default Thumbnail Links

Hey,

I would like to have the thumbnails run a function on click, obviously doing something different for each image... I currently have this...

on (release){
txt.load("../_txt/buzz/buzz-1.xml");
}

How do I use the ID from data.xml to build each link?

Hope you can help.

Cheers, Rob.
thatblokerob is offline   Reply With Quote
Old 05-20-2008, 12:56 PM   #2 (permalink)
Junior Member
 
Join Date: May 2008
Posts: 2
Default Solved!

From line 105

function clickHandler(dat, lbl) {
txt.load("../_txt/text-"+dat+".xml");
}

Hope that helps someone!
thatblokerob is offline   Reply With Quote
Old 05-20-2008, 07:39 PM   #3 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,969
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Glad to hear that Rob, but I think you are referring to the horizontal/vertical scroller component. Anyway, glad you solved it
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:56 AM.