# (MX) How to add images to thi slidingmenu (from KiruTutorial)

**URL:** https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459
**Category:** flash
**Created:** [March 27, 2006, 10:11am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459 "2006-03-27T10:11:24Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)
#### Post date: [March 27, 2006, 10:11am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/1 "2006-03-27T10:11:24Z")

</div>

I am working on this tutorial  
[http://www.kirupa.com/developer/flash5/slidingmenu.htm](http://www.kirupa.com/developer/flash5/slidingmenu.htm)

How can I add pieces to the sliding menu and the trigger buttons??  
What bit of script should I ammend?  
Is it possible to increase the main mask to show 2 or more immages at once?

Please help I cannot get my head around it.  
Thanx  
fv

---

<div class="post-metadata">

### Author: ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)
#### Post date: [March 27, 2006, 11:28am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/2 "2006-03-27T11:28:15Z")

</div>

I know you can help…🙂

---

<div class="post-metadata">

### Author: ![nathan99](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nathan99](https://forum.kirupa.com/u/nathan99)
#### Post date: [March 27, 2006, 11:49am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/3 "2006-03-27T11:49:27Z")

</div>

funny, you say you can’t get your hea around it, implying you’ve tried for a while, yet you give people 77 minutes to respond.BUT I will say, clarify what you’re asking 😉

---

<div class="post-metadata">

### Author: ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)
#### Post date: [March 27, 2006, 12:58pm UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/4 "2006-03-27T12:58:18Z")

</div>

:-)🙂  
I think you guys are at least 77 times better than me…

Ok the tutorial has 4 large images and for buttons. I wanted to add more immages to the slide. I have managed to add other 4 and work out the \_X value to move the slide to the correct position.

The problem is that if I change the size of the mask (I need to show 4 pictures) the all slide disappears, but I cannot understand why this happen.

Shall I come back in a coupple of days? No no no…  
You know how women are like, they are always late but hate waiting  
🙂

---

<div class="post-metadata">

### Author: ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)
#### Post date: [March 28, 2006, 6:49pm UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/5 "2006-03-28T18:49:03Z")

</div>

Excuse me guys  
any idea on how to solve the above?  
I have now found many examples of a double menu / scrolling and so on…  
but I still need to show more than one image (square) for each trigger, hence I need the mask to be enlarged…

or maybe someone know of a different tutorial / movie to show?

Pleeeease  
Thanx

---

<div class="post-metadata">

### Author: ![aioros](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@aioros](https://forum.kirupa.com/u/aioros)
#### Post date: [March 30, 2006, 10:10am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/6 "2006-03-30T10:10:27Z")

</div>

oooh.  
i just figured it out.

take the tutorial and build one yourself side by side.  
that’s what i did and it works like a charm!!

just make sure that the content pages (no matter how big) are at x=0,y=0 each for its coordinates. and then line them up correctly in the content holder.

so happy! 😉

---

<div class="post-metadata">

### Author: ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)
#### Post date: [March 30, 2006, 10:37pm UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/7 "2006-03-30T22:37:30Z")

</div>

Well…I am happy that you are happy  
You mean that it can be done it is just a matter of starting from scratch and make the mask MYSize…is that it?

I will trust your words, but if I fail will you show me your example? Even just the swf working…

Nite Nite  
fv

---

<div class="post-metadata">

### Author: ![aioros](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@aioros](https://forum.kirupa.com/u/aioros)
#### Post date: [March 31, 2006, 2:39am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/8 "2006-03-31T02:39:25Z")

</div>

oh sure! it’s really easy. i made mine 750x580 and plan to add more slides.  
i also moved the buttons to the top instead of the sides. i’ll attach my swf  
here for you to look at. it is possible! 😉 i thought it wasn’t but it is!!! 🙂

**Now, what I want to know:**  
Could someone pleeeze be kind enough to tell me – how do I make it so that an animation does not begin/load until users get to a specific slide?

Example:  
The shine effect tutorial. [http://www.kirupa.com/developer/mx2004/shine.htm](http://www.kirupa.com/developer/mx2004/shine.htm)

Say I want to put that effect on an object in slide 4.  
How do you make it so that the object animates itself only when that slide is called up?

(maybe i should post this somewhere else. i don’t want to drag on your post)

---

<div class="post-metadata">

### Author: ![aioros](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@aioros](https://forum.kirupa.com/u/aioros)
#### Post date: [April 3, 2006, 7:42am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/9 "2006-04-03T07:42:53Z")

</div>

please! anyone know?

---

<div class="post-metadata">

### Author: ![gvozden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gvozden/32/1084_2.png) [@gvozden](https://forum.kirupa.com/u/gvozden)
#### Post date: [April 3, 2006, 9:42am UTC](https://forum.kirupa.com/t/mx-how-to-add-images-to-thi-slidingmenu-from-kirututorial/183459/10 "2006-04-03T09:42:48Z")

</div>

you can put your animations on frames  
and that animations are movieclips  
movieclip start animating from frame 2  
on first frame of animation clip you put stop();

and on selecting menu item you say  
movieclip.gotoAndPlay(2)

if you have problem determining when your manu frame is on right place use jsut \_x value of your menu sliding clip
