For those that care:
"This" gives you the movieclip the event has been called on
If you retrieve the text of the link, then find the text in the array, it
gives you the position in the array of the URL, so:
// create the on release function to make it a button
_level0.movieClips[i].onRelease = function() {
// in function
// "this" gives you the movieclip your working on
j = 0;
for(i = 0; i < _level0.buttonText.length; i++) {
if(this.linkText.text == "[" + _level0.buttonText[i]
+ "]") {
j = i;
}
}
_level0.getURL(_level0.buttonURL[j], "_parent", "GET");
}
Long winded, but works.
Paul
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]