How can I do it in Flash?

[FONT=verdana, arial, helvetica][SIZE=2]Hi all,

I have a question, I want to know that if i put a header flash for a website, can i play from different frame numbers depends on which page is loading or not ?
I mean for example i have a site with 5 pages which on all 5 pages on top of pages a flash menu is playing from the beginning every time one of these 5 pages loads.
I want to know that if possible the flash part only load on index page and then on other 4 pages the flash start to play from a specific frame number.

[/SIZE][/FONT][FONT=verdana, arial, helvetica][SIZE=2] I use this method :

if (this._url=“http://www.myurl.com/index.php”) {
play();
} else {
gotoAndPlay(framenumber);
}

but on all pages the file start playing from the frame number that i have specified. Also on index.php !
So what is the problem ?
Thnx ![/SIZE][/FONT]