I've now changed the code to:
I have added another rectangle in a different colour to create an 'over' effect - now the over effect is working and the click is working but the down state doesn't appear
I am wondering how you are doing this. I would have the display on /off for each state and all should work property on any state. Your code is correct.
Really strange - when I selected 'view in browser' it didn't work. When I published it and dragged the html file into a browser it worked!
Problem is, this was a simple test file and now that I have placed exactly the same symbol and code into a prototype I'm working on, it doesn't work again.
I have a simple animation which then reveals a login screen. I've then created a 'sign in' button which when clicked should show a down state and then open a link. So far the button has no functionality at all even though I've added all the same code.
Without showing you my file I have no idea how you would be able to see why it isn't functioning. Is there any place I can upload my file?
Thank you for taking the time to do this. I've rebuilt my file from scratch and all seems to be working so there must have been a glitch in the original - I remember having the same issues with Flash years ago. Good to see your file though - reassuring to know I'm on the right track! Thanks