I've never needed such a thing and I suspect the desire for
such a thing is due to an mis-understanding of how Flash works.
First of all, there is nothing that does with Flash enters a
frame so why aren't you asking for that too? I know there is an
onEnterFrame function, but it is poorly named. It doesn't MEAN what
it is called. It means to repeat something at the frame rate of the
swf. So even a swf with one frame or a stopped clip will execute
over and over.
How Flash works is that all the code on a given frame is
executed and then the screen is redrawn. In effect, that is "as the
player exits the frame." So there is your "event" right there!
There are no times between frames.
So a very simple way to do what you are talking about is to
have code like the following on each of your frames. I'm pretending
that your external assets are called something like Page2.swf,
Page3.swf, etc., that you are loading them into _level5, and that
you have already set up a MovieClipLoader to handle the loading.
stop();
if(_level5){
myLoader.unloadClip(5);
}
myLoader.loadClip("Page"+this._currentFrame+".swf",5);
That is it.
PS: Of course I wouldn't do it this way at all. But given
what you seem to want there you go.