Hi,
Could someone help me with this?
I generally grasp thw concept of global and have used it a number of times in flash projects, but this is the fisrt time ive declared a _global variable inside a #include file. I have an object called MovieActions, which contains many functions which i would like to make available to all timelines in my flash project. Only for some reason im running traces on these and its all “undefined” Here’s the setup
My include file…(movie_func.as)
_global.MovieActions = Object();
MovieActions.uploadMovie = function(){
...
....
}
And using the function…
#include "movie_func.as"
...
...
....
mySubButton.onRelease = function(){
MovieActions.uploadMovie("blah.swf");
}
And this aint working :(.