If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

The problem is on CLICK it traces out correct and changes the tile to an X like it should. Then when I try to DOUBLE_CLICK I get: "ReferenceError: Error #1069: Property gotoAndStop not found on flash.text.TextField and there is no default value. at ch6_fla::MainTimeline/placeX()" and the tile stays at X.
Like I said I'm pretty new to AS and coding in general so I don't understand what that error means.

I am attaching the file itself so you can see what I have. It's pretty simple but I can't understand why it doesn't work. The file is saved as a .fla 5

There is a chance you must swap e.target with e.currentTarget in the handlers as well. I don't have the documentation handy right now.

Another solution is to add MouseChildren = false to the buttons, like: tile1.MouseChildren = false; so only the button itself will trigger the event and not any other children objects (like the text) inside them.

Users who have thanked djpaul1963 for this post:

That helped and you were right about needing to change to e.currentTarget, that got rid of the error message, but for some reason it's still not displaying anything on DOUBLE_CLICK. It doesn't go to frame 3 (the O) and when I double click it treats it like a single click and traces out "You placed an X". This doesn't make any sense!

That's because you must first enable the doubleClick function on the button (yes I know it's ridiculous) like tile1.doubleClickEnabled = true;
On top of that you will realize that doubleClick will fire single click event as well, so you need something like this http://stackoverflow.com/questions/2...s-double-click