Resizing countainer

Discuss Lemur and share techniques.
Post Reply
wurlt01
Regular
Posts: 110
Joined: 25 Feb 2012 15:21

Resizing countainer

Post by wurlt01 »

Ive found plenty of examples to resize countainer with fader. But want to do the same thing by just hiting a button. Im new to this and would appreciate some help.
I now i have to write a script. My countainer is 112,76,818,417 but want to make it stretch to 112,76,818,700 i also would have to stretch whats inside.

thanks anthony
oran-outan
Newbie
Posts: 39
Joined: 18 Dec 2011 17:30

Re: Resizing countainer

Post by oran-outan »

maybe this script
on your button

expression = x

setattribute (containername, 'rect', {112, 76, 818, (x * 283)+ 417});

or something like that


you have to do the same if you want to resize the inside...
Post Reply