I am currently using a Flash component called "Flow List" from
http://www.afcomponents.com
Here is the issue I am having. I have the 3D flow list images in the selector linked to different
HTML pages. But what I want to do is link the arrow buttons below the images in which the buttons activate the next link to open rather than the images themselves. I tried linking the buttons with the same action script code used for linking the images, but the URLs then came up as undefined. Has anyone used this component before and know how to do this? Or even if you haven't, could you take a look at the action script and help me figure out what I need to add or fix?
Quote:
// Add Event Listeners
// display first image description
myFlow.addEventListener("ITEM_LOAD_COMPLETE",dspTe xt);
// display description once image is clicked
myFlow.addEventListener("ITEM_ON_RELEASE", dspText);
// load selected item
myFlow.addEventListener("ITEM_ON_PRESS", this);
function ITEM_ON_PRESS(evnt:Object) {
getURL(evnt.target.data, "_self");
}
// Start Code
left_btn.onRelease = function() {
if (myFlow.getSelectedItem().id>0) {
myFlow.selectPreviousItem();
}
};
right_btn.onRelease = function() {
myFlow.selectNextItem();
};
// End Code
|
Any advice is greatly appreciated, thanks.