Hi, I have a small Flash animation in which I try to send the main timeline to a specific frame from an animated button.
I have an animated button that does some graphic stuff (that is actually right out of a tutorial from this site) and then, at the end, I have a frame with the following code to send the action to to frame 10 in the main timeline.
MovieClip(root).gotoAndPlay(10);

It works ok, except for 2 things:
1- It throws this error right at the beginning (even before hovering):
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Untitled_fla::Symbol3_2/frame16()
2- Then it throws the same error again when i am no longer hovering over the button.

I am using Flash CS3 professional, and i am pretty new to AS -so this may be something really easy...
Can anyone please help? Thanks a million!

PS: I am trying to include my fla, but I don't see any way to attach a file here...