Skip to main content
Participant
Aug 18, 2006 5:18 PM UTC
Answered

Resizing movieclips at set intervals

Hi,
So here's my problem - i hope you have solution:

I have a dynmically populated list of buttons (an archive list for blog) which is masked by a movieclip. The mask resizes to the height of the stage so that the archive list is always the correct height.

What I want to do though is have the mask resize at intervals of 20 (the height of each button in the list) so as the stage resizes the mask will either completely reveal or completely hide the bottom button, not cut it of at all.

For example, if the stage was 412 pixels high the mask would only be 400. If the stage got dragged larger the mask would not resize until the stage reached 420px. Does this make sense?

If anyone can suggest something that would be great! Thank you!!!!!!!
This topic is closed to new replies. Start a new post to keep the conversation going.
kglad
kgladCorrect answer
Community Expert
Aug 18, 2006 5:32 PM UTC
try:

3 replies

kglad
Community Expert
Community Expert
Aug 18, 2006 5:50 PM UTC
you're welcome.
Translate
Participant
Aug 18, 2006 5:38 PM UTC
Thanks kglad! That's exactly what i needed!
Translate
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
Aug 18, 2006 5:32 PM UTC
try:

Translate