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
Resizing countainer
-
- Newbie
- Posts: 39
- Joined: 18 Dec 2011 17:30
Re: Resizing countainer
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...
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...