Example
====== Palette - Set Master Overlap ======
^ by: | in factory macros |
^ description: | sets palette master overlap |
^ remarks: | listed here as example for active binding |
{{tag>palette master overlap busking}}
==== functions ====
* [[:macros:function:ActionScript.SetProperty.Float]]
==== affected properties ====
* [[:macros:property:Palette.MasterOverlap]]
==== specials ====
* [[macros:active_binding]]
===== Code =====
This is part of the factory macros. Palette Master Overlap and Palette Master Fade Times macros have been extracted and put in this file: {{ :macros:example:macro_overlap.xml |}}
Palette Overlap 50%
Set master palettes overlap to 50%.
ActionScript.SetProperty.Float("Palette.MasterOverlap",0.5)
===== Explanation =====
This macro sets the property ''Palette.MasterOverlap'' to 50%. To do so manually you'd press '''' ''[Master Overlap = ]'' and enter a value.
===== How to use it =====
[[:macros:deploying|make this macro available]]
It might be useful for busking to put some of the related macros, e.g. Overlap 100%/50%/0% on adjacent handles. Due to active binding they show which value overlap is currently set to.
~~DISCUSSION~~