Hey Folks
Trying to load a movie [swf] on top of my main flash page and I get these errors…
Error Symbol=page4, layer=Layer 10, frame=1:Line 1: Statement must appear within on/onClipEvent handler
videogbutton.onPress = function() {
It’s a movie clip as a link on one of the pages that has a script attached to it as follows
videogbutton.onPress = function() {
loadMovieNum(“videog.swf”, 1);
};
Also I added the instance name videogbutton to that movie clip
Results:
The movie loaded successfully on top of my main page but with those errors.
Any help appreciated.
BTW Newbie here.
Thanks