Hi I'm looking to create some actionscript for a button that goes something like this.
The button is a link that opens up in a new window lets say the URL is "www.test.com/new.jsp?test="
I've got the actionscript for that but what I want to be able to do is basically have another eventlistener for the click that uses an array that has a list of words that would go in after "test="
So I have an array with a list of words like "word1, word2, word3, word4"
On the first click of the button I want it to take me to "www.test.com/new.jsp?test=word1"
On the second click of the button I want it to take me to "www.test.com/new.jsp?test=word2"
On the third click of the button I want it to take me to "www.test.com/new.jsp?test=word3"
etc.. I hope that made sense. I would greatly appreciate the help!