Can code inside a movie clip affect things outside of it
I have a variable and when you touch the object the variable goes up by whatever this works but when I convert the Dynamic Text Box into a movie clip so a code can be applied to it that makes it's x the players x the code that increases the number or says what the number is doesn't work
"Coin Code"
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.score += 1;
unloadMovie(this)
}
}