Hi!
I have a little question about an array/push. (I’m not a actionscript proff)
When I use the script below ‘myArray’ changes from nothing to ‘cheese’. Logic. But what I want is that everytime I hit my button, ‘cheese’ is added to the array. So when I would have hit my button 3 times, it would look like this: cheese, cheese, cheese.
myButton.onRelease = function(){
myArray = [""];
myArray.push("cheese");
trace(myArray);
};
Possible? How? Thanks! :3ye:
(love those smileys here btw)