Example ====== Palette - Master Fade Time ====== ^ by: | in factory macros | ^ description: | sets palette master fade time| ^ remarks: | listed here as example for active binding | {{tag>palette fadetime busking}} ==== functions ==== * [[:macros:function:ActionScript.SetProperty.Float]] ==== affected properties ==== * [[:macros:property:Palette.MasterFadeTime]] ==== 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 Fade 0.5s Set master palettes fade to 0.5s. ActionScript.SetProperty.Float("Palette.MasterFadeTime",0.5) ===== Explanation ===== This macro sets the property ''Palette.MasterFadeTime'' to 0.5s. To do so manually you'd press '''' ''[Master Time = ]'' 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. Fade 0s/0.5s/1s/2s/5s on adjacent handles. Due to active binding they show which fade time is currently active. ~~DISCUSSION~~