tanel96
1
i have a small movie clip, and now i wish to add the following actionscript to the clip:
on(release){
trace(“fine”);
}
when i do that the movieclip doesnt show it’s animation anymore, how to bypass this ?
i cannot write the trace command inside the movie clip !
system
2
Try:[AS]on (release) {
this.trace(“fine”);
}[/AS]
system
3
this way event the trace function doesnt work… i need both the animation to work and the trace function or any other function also !!!
system
5
Or, place this on a frame:[AS]MC_InstanceName.onRelease = function() {
trace(“fine”);
};
[/AS]Okay now I’m just guessing. 
system
6
try to make this button clickable, but do not modify movie clip 1 !!!
system
7
one way to get it functioning is to remove the button instance from within the movie clip, but i’m just curious… i’ve always done my buttons this way
system
8
on (rollOver) {
gotoAndPlay(2);
}
on (release) {
trace("fine");
}
works;)
But if you want the onrelease action on your mc, it will override the button actions on your button inside that mc…
scotty(-: