Sorry folks. I must be stupid.
Bought the file a week ago and tried to follow steps for linking thumb to URL .
Modified .fla file Action Script to include handler…updated .XML file to point data to url…and still not click through to URL .
Is there a common problem here?
From XML file…
From bottom of AS…
// set click handler function
function clickHandler(dat, lbl) {
// handler function receives “data” as string and “label” as string
trace(“Data: “+dat);
trace(“Label: “+lbl);
}
function clickHandler(dat, lbl) {
// handler function receives “data” as string and “label” as string
var label:String = dat;
some_mc.gotoAndPlay(dat);
}
function init(n
MLNode) {
// set data for the scroller instance named “scr”
// method name is setData
// parameters must be the root node of the xml and a handler function
scr.setData(n, clickHandler);
}
// load XML file
xmlOb.load(xml == undefined ? “data.xml” : xml);
// Press any key to clear thumb selection
this.onKeyDown = function() {
Thumbnail.clearSelection();
};
Key.addListener(this);
Posted 2 months ago