User Tools

Site Tools


macros:example:palettemasterfadetime

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
macros:example:palettemasterfadetime [2019/04/12 12:04]
sideshowbond [Set Palette Master Fade Time]
macros:example:palettemasterfadetime [2019/05/05 14:05] (current)
icke_siegen [Explanation]
Line 23: Line 23:
 <code xml> <code xml>
 <?xml version="​1.0"​ encoding="​utf-8"?>​ <?xml version="​1.0"​ encoding="​utf-8"?>​
-<​avolites.macros ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​ xsi:​noNamespaceSchemaLocation="​Avolites.Menus.xsd"​>+<​avolites.macros>​ 
   <macro id="​Avolites.Macros.PaletteFadeHalf">​   <macro id="​Avolites.Macros.PaletteFadeHalf">​
     <​name>​Palette Fade 0.5s</​name>​     <​name>​Palette Fade 0.5s</​name>​
     <​description>​Set master palettes fade to 0.5s.</​description>​     <​description>​Set master palettes fade to 0.5s.</​description>​
-    <active binding="​{propertyLink id='​Palette.MasterFadeTime'​ converter='​Playbacks.Editor.Times.TimeEqualityConverter'​ converterParameter='​0.5'​}"​ />+    <active binding="​{propertyLink id='​Palette.MasterFadeTime' ​ 
 +      ​converter='​Playbacks.Editor.Times.TimeEqualityConverter' ​ 
 +      ​converterParameter='​0.5'​}"​ />
     <​sequence>​     <​sequence>​
-      <step pause="​0">​ActionScript.SetProperty.Float("​Palette.MasterFadeTime",​2)</​step>​+      <step pause="​0">​ActionScript.SetProperty.Float("​Palette.MasterFadeTime",​0.5)</​step>​
     </​sequence>​     </​sequence>​
-  </​macro>​ +  </​macro>​ 
 + 
 </​avolites.macros>​ </​avolites.macros>​
 </​code>​ </​code>​
Line 38: Line 42:
 ===== Explanation ===== ===== Explanation =====
  
-This macro sets the property ''​Palette.MasterFadeTime''​ to 2s. To do so manually you'd press ''<​Palette>''​ ''​[Master Time = ]''​ and enter a value.+This macro sets the property ''​Palette.MasterFadeTime''​ to 0.5s. To do so manually you'd press ''<​Palette>''​ ''​[Master Time = ]''​ and enter a value.
  
 ===== How to use it ===== ===== How to use it =====
macros/example/palettemasterfadetime.1555063451.txt.gz · Last modified: 2019/04/12 12:04 by sideshowbond