-
Animating a Window and Rescaling a Toolbar
Hello,
Im new in CreativeCOW and at first i had to say thanks for all your help and sorry for my english.
I have a new project in process, its about to recreate a operating system interface with all the windows and icons.
My composition is easy, i have a precompose with all the elements of the window in it, but only one is the important and problematic one, the toolbar.
My need is when i resize the window in the MasterComp i want the toolbar to preserve this size as a real window in Mac OsX or Windows.
I try with this but i cant finish it, its applied to the Scale of this Toolbar in the Precomp.
Please if someone could help or guide me I would appreciate that, right now my head is not enough for much more and I have to finish soon
Thanks a lot
CompWidth = thisComp.width;
CompHeight = thisComp.height;
LayerHeight = thisComp.layer(index).height;ScalePercent = (LayerHeight * 100) / CompHeight;
WindowScale = comp("MainComp").layer("BasicWindow").transform.scale;
AppliedPercent = (WindowScale[1] * ScalePercent) / 100;
..... ??
[100, ?]