PDA

View Full Version : slide menu with a MC


Cazz
01-16-2006, 04:28 PM
I have a MC that I have a menu inside.

I like to make it at begin that is not so big but when I move the mouse over it slide down and show everyting and when I move the mouse from it slide to the size that have before

I have no idea right now.

I have try a little with ._height but that was not good :o

flashead
01-16-2006, 05:11 PM
you mean like a dropdown menu?

invader
01-16-2006, 05:27 PM
if you want it to be 0 pixels tall until it's activated, then stretch out, use the ._yscale property (from 0 to 100, then back to 0).

most people do a sliding menu. are you sure you want to stretch it? i'm not saying there's a problem with it. i just want to make sure i'm giving you advice to achieve the effect you are really looking for.

Cazz
01-16-2006, 05:28 PM
hmm maybe a little like dropdown menu


Like I have a square that I can see the first link and when I move the mouse over it get taller.

I hav attach a picture.
The yellow square is the MC

The left is that when the mouse is not over and the right is when the mouse is over

Cazz
01-16-2006, 05:30 PM
if you want it to be 0 pixels tall until it's activated, then stretch out, use the ._yscale property (from 0 to 100, then back to 0).

most people do a sliding menu. are you sure you want to stretch it? i'm not saying there's a problem with it. i just want to make sure i'm giving you advice to achieve the effect you are really looking for.


No no stretch :)

When I try to use ._height it stretch and that don't look nice :D

I have try with a scrollpane and one compontent that works like a scrollpane but it stretch

flashead
01-16-2006, 05:35 PM
yeah that's a dropdown, search the forums for 'dropdowns'. I think there may even be some tutorials on it so check out that section too!

Cazz
01-16-2006, 07:06 PM
Thanks.
Look like a dropdown but more basic.
I try to find how to create a basic dropdown menu with a MC but that is not easy.

I just like to make my MC show more when the mouse is over.

Cazz
01-20-2006, 06:26 PM
Hmm maybe with a mask I can use like I want to have it.

I try now to find to make basic mask