Go To Frame according to Page Loaded

I want my flash menu to go to and stop on different frames depending on which page is loaded.

I would like to use a variable stored in the php hyperlink. Such as:

page.php?framenumber=5

If so, how do I get my flash to react to that variable and “gotoandstop” on frame “5”.

Thank You in advance for any help.

this should help. :wink:
http://www.macromedia.com/support/flash/ts/documents/flashvars.htm