Can't control Movie in Button

I have a button, which has a MovieClip within.

Parent=Button
Child=MClip

I have named the MovieClip, but can’t control it within Actionscript.

When I run and List Objects, the name does not come up, instead it has a “instance name”

If I change the Button to a MClip, then I can see and manipulate the enbeded MClip, but the Movie doesn’t work right, so I would like to keep the parent clip as a Button.

Why doesn’t Flash recognize the Instace name of the MClip within the button, and why DOES it recognize the MClip if the Button is changed to a MClip.

thx

buttons arent movieclips. If you make it a movieclip then it is a movieclip… but only movieclips can have referenceable child movieclips. A movieclip can still exist in a button, but it loses its reference there so you cant actually access it. Theres a work around to this (I posted an example about it here) but the low down dirty truth of it all is that you cant really access and manipulate a movie contained within a button. Your best bet is to just make it a movieclip and use it that way. You can add button actions (like onPress and onRelease) to movieclips all the same - you can even tell it to go to frame 2 on rollover to give it a rollover state. Shouldnt be much of a reason why you cant use a movieclip instead.

Thx senocular

Well you prevented me from spending all day long trying to figure out what I’m doing wrong.

I would change the Button to a MClip, but when i did the object no longer worked (it has a lot of code in it), guess I need to figure out why it doesn’t work as a MClip