Hello
I have a function that works well when i invoke it through onPress, however, the function does not work when i place it in the movie frame.
For instance
function traceMessage(){
trace("I am invoked");
}
works when I invoke like this through a button:
on (press){
traceMessage();
}
However, when I just place the function in the first frame of my movie, like this:
traceMessage();
it doesn't work.
Any suggestions? Thanks,
Tone
