This content has been marked as final. Show 7 replies
that code wouldn't generate an error IF you have an interactive object with instance name dineContent that exists when that code executes.
The button exists in that frame with that instance name. I tried adding a duplicate keyframe to 41 and moved code (along with the stop) to that. Same error.
how do I get around this?
I started messing around with a few more things and found the solution.
in the property inspector of my instance of dineBtn named "dineContent" there is a popup list underneath the "instance of: _____" txt where you can choose between Track as Button or Track as Menu Item.
You must use Track as Menu Item. the default is button.
I was curious about the difference between Track as Button and Track as Menu Item, and why only one options works for my case?
Originally posted by: kglad
Thanks. but how does that explain why you can't have an addeventlistener to one and have one on the other?
i doubt that's the only issue. you almost certainly have other things occurring that are causing/contributing to the problem.