Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleExamples
Code Block
languageactionscript3
//All of these expressions return the color red.
toColor("red")
toColor("#FF0000")
toColor("255,0,0")
Code Block
languageactionscript3
//You can use the failover parameter to ensure that this expression returns something even if the input string may be badfails:
toColor({UserOptions/CustomColor}, "black")

...