# I'm trying to create a gallery using movieclips. Help!

**URL:** https://forum.kirupa.com/t/im-trying-to-create-a-gallery-using-movieclips-help/38853
**Category:** flash
**Created:** [December 30, 2003, 7:08pm UTC](https://forum.kirupa.com/t/im-trying-to-create-a-gallery-using-movieclips-help/38853 "2003-12-30T19:08:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pnvnc1](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@pnvnc1](https://forum.kirupa.com/u/pnvnc1)
#### Post date: [December 30, 2003, 7:08pm UTC](https://forum.kirupa.com/t/im-trying-to-create-a-gallery-using-movieclips-help/38853/1 "2003-12-30T19:08:50Z")

</div>

I have created a menu which contains the button [GALLERY]. When a user clicks this button it plays a movie. The movie is a set of thumbnails. heres the code I’m using to play the movie:

on (press) {  
this.attachMovie(“thumbs”, “window”, 0);  
window.\_x = -900;  
window.\_y = 575;  
}

When a thumbnail is clicked I want the photo to popup. The photo is also a movieclip itself. Using the same code as above nothing happens. I want to keep the photos as movieclips so I can have them load as needed to keep the file size down of the initial swf file. I’m using MX 2004 Pro. Any help with this would be appreciated.

---

<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: [December 30, 2003, 9:53pm UTC](https://forum.kirupa.com/t/im-trying-to-create-a-gallery-using-movieclips-help/38853/2 "2003-12-30T21:53:04Z")

</div>

looks like you’re setting the x postion a bit off the stage, and why not just load the photos dynamically, with a small php you could even load ones with wierd names and yo wouldn’t have to make a ton of MC’s to load
