Hi,
I'm having some trouble with my carousel.
They all link to the same place. I have different links but they go to the same spot.
Here's my xml.load function:
Launch URL Button:PHP Code:xml.onLoad = function() {
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for (var i = 0; i<numOfItems; i++) {
var t = home.attachMovie("item", "item"+i, i+1);
t.angle = i*((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.urlRef = nodes[i].attributes.link;
t.content = nodes[i].attributes.content;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.r.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
};
and they all launch the same URL all the time.PHP Code:launch_magazine_mc.onRelease = function() {
// trace(this._parent.urlRef);
getURL(this._parent.urlRef, "_self");
};
Can someone Help?
DOWNLOAD FILE HERE (if needed)
Thanks,




Reply With Quote