I was wondering something to do with global functions, it seems if you declare a function as global inside the first frame of a movieclip…and try call it from the first frame of the _root timeline it does not work.
Example.
This code is in a movieclip on the first frame of the timeline called “my_mc”;
_global.Test = function(){
trace("Test ok!");
}
Then the code on the main timeline, first frame would be a call like this.
Test();
I know this is very simple, but it does not work. Could someone explain this for me?
Thanks