1 person found this helpful
The 1009 error indicates that one of the objects being targeted by your code is out of scope. This could mean that the object....
- is not in the display list
- doesn't have an instance name (or the instance name is mispelled)
- does not exist in the frame where that code is trying to talk to it
- is animated into place but is not assigned instance names in every keyframe for it
- is one of two or more consecutive keyframes of the same objects with different names assigned.
If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.
Well, thanks for your reply
maybe it's because " one of two or more consecutive keyframes of the same objects with different names assigned." but I really dunno how to be sure.
But it's strange cause I can't even assign a url to the buttons, also can you please tell me why can't I add an event listner to a movie clip with some buttons inside it ?!?!?! And if it requires some special coding, please let me know the steps
To see if it might be what you think, name the objects in adjacent frames the same thing and that will resolve that issue.
I don't know what you mean by "add a url to the buttons".
You can add an event listener to any object that has an instance name. If you have a movieclip that contains buttons and you assign some form of mouse interactive listeners to the movieclip, it will block the buttons from interacting with the mouse.