Hi Achim,

Thanks for the response. I have been able to set global variables that act more 
like a constant through the method you described. What  I have been unable to 
do is set the root variable from inside a sub patch.

For example while I am iterating through heights of different string to image 
sprites, I would like to keep track of their heights so I can offset the next y 
position.

Or, based on some information in an iterative loop, set a image field at a 
higher level.

Does that make sense?

Thanks,

James

*****************************
Hello James,

you can do a ctrl-click on any patch to get a context menu for it. In
this context menu you can select "Publish Inputs". Once you select one
of your desired inputs to be published you have to give it a name.

- If you do this in the root of your document this published input
becomes a "Input Parameter" accessible from outside your composition.
(e.g. as "Input Parameter" in the View window)
- If you do this inside of a macro this input will become a new input
of that macro.

You can edit all your global parameters in the Viewer window by
clicking on the "Input Parameters" toolbar button. Unfortunately if
you want to access this input parameter somewhere else in your
composition you have to put in an input splitter (also cntrl-click on
that patch with the published input -> Inster Input Splitter...) and
connect from this new input splitter patch to every where you need
this parameter.

Is this what you are looking for?

Achim Breidenbach
Boinx Software
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to