# Flash MX Frames Question

**URL:** <https://forum.kirupa.com/t/flash-mx-frames-question/10911>\
**Category:** flash\
**Created:** [January 9, 2003, 12:22pm UTC](https://forum.kirupa.com/t/flash-mx-frames-question/10911 "2003-01-09T12:22:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stratdude](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@stratdude](https://forum.kirupa.com/u/stratdude)\
**Post date:** [January 9, 2003, 12:22pm UTC](https://forum.kirupa.com/t/flash-mx-frames-question/10911/1 "2003-01-09T12:22:51Z")

</div>

Hello Y’all,  
I am building a brand new website for my band. I use a sliding menu I d/l from [flashkit.com](http://flashkit.com) go goes from left to right.  
With the html frames file I have a top frame for the menu and a bottom for the main.  
My question if this:

For my button which returns the menu back to the default state I would like it to also return the main frame to the default state also which is a htlp file with the band pic  
My code for the button looks like this:

on (release) {  
play();  
tellTarget ("/controller") {  
gotoAndStop(1);  
}  
}

I guess what I am saying is I would like the button to do 2 things,

1. Return to the start of the movie (menu)

2. Display the appropriate htlp in the main frame.

Could anyone tell me hot to acomplish this and where I should  
add the code to the button?

I think this website is really great and a wonderful resource to the great world of flash.

Thanks

Steve

---

<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:** [January 9, 2003, 1:15pm UTC](https://forum.kirupa.com/t/flash-mx-frames-question/10911/2 "2003-01-09T13:15:21Z")

</div>

on(release) {  
getURL (“bandpic.html” , “main\_frame”);  
controller.gotoAndStop(1);  
}

I think this is what you want, though I don’t know what the play; action was in there for. Change the stuff in getURL to your page and frame names, and note that tell target is being phased out.

---

<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:** [January 9, 2003, 4:22pm UTC](https://forum.kirupa.com/t/flash-mx-frames-question/10911/3 "2003-01-09T16:22:59Z")

</div>

Thanks for the reply.  
This is for a flash file I downloaded called cool menu.  
It is a vertical sliding menu.  
The play function is on all of the buttons.  
I have attached the file to this reply,  
I am not sure if I remove the play action if it will still work

Thanks

Steve
