[CS3-AS2] Trying to find a solution for an impossible problem

Hi everyone!

This will probably just get me a “can’t be done” answer, but I’m going to ask anyway…
Is there any kind of AS2 code that would make it possible for a Flash movie, loaded into the main frame of an html page, to detect which html page is loaded into the header fame of the same html page?
Something like…

 
**if **
**("page1.html", "header" == loaded)**
**{**
**gotoAndPlay(2);**
**}**
**else**
**{**
**stop();**
**}**

Which of course doesn’t work, and neither does using *true *instead of loaded
If you really need to know why I’m trying to find a solution for this, I’ll explain in detail, but it’ll require a quite lengthy explanation.:worried: