Hello all!
Here is a puzzle (at least it is for me).
Imagine two swf files, MAIN and SUBJECT. Main is the level 0 for the movie and it will load Subject into its level 1. But I want to make it so that if you try to open Subject without using Main it will unload itself and display a third swf called ERROR.
So the code in SUBJECT says:
this.onLoad = function() {
loadMovieNum(“ERROR.swf”, 0);
unloadMovieNum(1);
};
This code works, but I don’t know why: If you open Main first, and press the button that loads SUBJECT into level 1, it plays perfectly. But if you open SUBJECT first, it closes and loads ERROR. This is what I want, but somebody please tell me why it doesn’t load ERROR when MAIN loads SUBJECT?
-Brother Gabriel-Marie