attachMovie and buttons

Hello!
I’ve used attachMovie to get an MC onto the stage. now my problem is that there are buttons on that mc but i don’t know how to click on them using AS

here’s my code

[AS]
_root.createEmptyMovieClip(“tmp”,1);
tmp.attachMovie(“myMc”,“myMc2”,1);



the movieclip is attached but then when i try to get access of the buttons like this,

tmp.go.onRelease = function() {
doStuff;
}


where "go" is the instance name of the button, it wont work.

I've also tried typing myMc2.onRelease and that wont work either...
So how do I solve this one???

try this one
[AS]tmp.myMc2.go.onRelease = function() {
trace(“success”);
};[/AS]

scotty(-:

I’ve already tried that, and it doesn’t work…

Hmm, here it is working…

scotty(-:

Okey thx, Ill look at it when i get home
(-: