# How would i do this (AS2)

**URL:** <https://forum.kirupa.com/t/how-would-i-do-this-as2/265924>\
**Category:** flash\
**Created:** [July 14, 2008, 4:54pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924 "2008-07-14T16:54:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![revive](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@revive](https://forum.kirupa.com/u/revive)\
**Post date:** [July 14, 2008, 4:54pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924/1 "2008-07-14T16:54:45Z")

</div>

Hi

To give you reference im talking about [this design](http://www.revivetemplates.com/images/mockup_main_full.jpg)

What is going to happen is that the user rolls over a menu item up the top, gets a list of submenu items, clicks one, now heres the trick bit.

I would like the content area at the bottom to slide up, i suppose that sounds simple, but i would like it so that when they click a new submenu item the slider at the bottom closes down then slides back up with the new content item…

How should i proceed?

Thanks

Paul

---

<div class="post-metadata">

**Author:** ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Post date:** [July 14, 2008, 6:33pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924/2 "2008-07-14T18:33:16Z")

</div>

Start by learning flash.

Then realize that your design should be done in CSS.

---

<div class="post-metadata">

**Author:** ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Post date:** [July 14, 2008, 6:41pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924/3 "2008-07-14T18:41:42Z")

</div>

That was helpful, why don’t we answer every question like that?

---

<div class="post-metadata">

**Author:** ![revive](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@revive](https://forum.kirupa.com/u/revive)\
**Post date:** [July 14, 2008, 6:52pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924/4 "2008-07-14T18:52:51Z")

</div>

sekasi

That wasnt helpfull or nice, it was plain rude.

I know basic flash animation, and yeah, i could do this in CSS easily, but i dont wish to do it in CSS

My thinking behind this was that i get each submenu item to trigger a gotoandplay frame inside a movieclip, each animation could be the popup box with the content inside, pretty simple but then i will run into a few problems.

Is there any way i can open the popup, then when it hits a certain frame number, assign the movieclip an id, then i can check to see if that id exists, if it does close the box and open a new one.

Thoughts?

---

<div class="post-metadata">

**Author:** ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Post date:** [July 14, 2008, 7:27pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924/5 "2008-07-14T19:27:32Z")

</div>

Okay okay, I apologize.

But quite frankly, there’s been a weird surge of very general questions here like “see this website here, how do I do this” and similar, and it’s quite defeating to try and answer a post like that since there are so many details.

I do think you should stick to CSS for that site though, it looks like it was made for it 😉

---

<div class="post-metadata">

**Author:** ![revive](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@revive](https://forum.kirupa.com/u/revive)\
**Post date:** [July 14, 2008, 7:30pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-as2/265924/6 "2008-07-14T19:30:42Z")

</div>

WOW

Thanks Sekasi, takes a lot to do that, fair play.

Ok yeah, granted it does look like CSS would fit like a glove, unfortunatly it isnt an option, client wants flash.

Is there any way to assign an id to an object triggered by some actionscript in a frame?

[quote=sekasi;2358503]Okay okay, I apologize.

But quite frankly, there’s been a weird surge of very general questions here like “see this website here, how do I do this” and similar, and it’s quite defeating to try and answer a post like that since there are so many details.

I do think you should stick to CSS for that site though, it looks like it was made for it ;)[/quote]
