# Go To Frame according to Page Loaded

**URL:** https://forum.kirupa.com/t/go-to-frame-according-to-page-loaded/20249
**Category:** flash
**Created:** [May 6, 2003, 9:09pm UTC](https://forum.kirupa.com/t/go-to-frame-according-to-page-loaded/20249 "2003-05-06T21:09:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rythmiklad](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rythmiklad](https://forum.kirupa.com/u/rythmiklad)
#### Post date: [May 6, 2003, 9:09pm UTC](https://forum.kirupa.com/t/go-to-frame-according-to-page-loaded/20249/1 "2003-05-06T21:09:10Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 7, 2003, 10:42am UTC](https://forum.kirupa.com/t/go-to-frame-according-to-page-loaded/20249/2 "2003-05-07T10:42:40Z")

</div>

this should help. 😉  
[http://www.macromedia.com/support/flash/ts/documents/flashvars.htm](http://www.macromedia.com/support/flash/ts/documents/flashvars.htm)
