thanks. the function makes sense and it should work but i’m getting an error regarding my brackets and I don’t know why. this is what i have placed in the frame. Do you have any idea why it’s not working?
if thats a direct copy and paste of the code I dont see any reason it gives an error, what I would do here is try putting the “}}” on seperate lines…or maybe use the autoformat thing in the actionscript window, it usually makes errors pretty apparent.
If you can locate the error upload the fla, or pm it to me if youre worried about it being stolen.