# Sliding out Image Gallery (How?)

**URL:** <https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842>\
**Category:** flash\
**Created:** [August 13, 2004, 2:38am UTC](https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842 "2004-08-13T02:38:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DHFlash](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@DHFlash](https://forum.kirupa.com/u/DHFlash)\
**Post date:** [August 13, 2004, 2:38am UTC](https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842/1 "2004-08-13T02:38:48Z")

</div>

Alrite, so here is what I’m trying to accomplish in Flash and have no idea how to do it…mind you, im kinda new to Flash (understand all basics, but havent gone into too much detail)…anyway:

I have a button that i want the user to be able to click, where consequently a sliding menu pops out with images that the user is able to select and view…then if the user clicks on the button again, the sliding menu slides back in and outta sight.

i’ve posted a JPG of what I’m trying to accomplish to make it easier if anyone can help. (objective.jpg)

Thanks, Dan

---

<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:** [August 13, 2004, 5:21am UTC](https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842/2 "2004-08-13T05:21:59Z")

</div>

search for “easing”. you’ll find a lot of info on how to move things like this. you will make a MC containing those thumbnail buttons. the MC is what you will be moving.

---

<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:** [August 13, 2004, 5:40pm UTC](https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842/3 "2004-08-13T17:40:33Z")

</div>

See, I’ve figured out the easing out part…the part that is still giving me trouble is the fact that the image gallery is much longer (width wise) than the box beside it that would cover wats underneath. Furthermore, the box beside it is also semi transparent, which in my Flash presentation, will have the background kinda showing through…so how do i have the gallery pop out of nowhere and slide back into nowhere?

I know this sounds confusing…but any help would be great!

Dan

---

<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:** [August 13, 2004, 6:02pm UTC](https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842/4 "2004-08-13T18:02:29Z")

</div>

put the sliding mc in it’s own layer and use a mask for that layer. mask the area left of of your box.

---

<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:** [August 13, 2004, 6:44pm UTC](https://forum.kirupa.com/t/sliding-out-image-gallery-how/60842/5 "2004-08-13T18:44:02Z")

</div>

alright…i got it…i just never thought of masking the whole thing and have the MC play when an invisible button it pushed on the GALLERY image.

working! thanks for the help…sometimes u just need someone to refresh ur thoughts and whak u across the head for not thinking of something so simple.
