selfdefined constants don't work in TextOut-Objects when ...
Posted: Wed Apr 13, 2011 9:07 am
... a hollywood script is compiled to a binary (tested with AOS3 and AOS4).
Const #MYCOLOR = $003388
Text(#CENTER,#CENTER,"[color=#MYCOLOR]Some coloured text[/color]")
Executing this line in a hollywood script (.hws), it works fine. Compiling it to a binary, you get an error message about "unknown constant" or something like that.
Predefined constants like #RED also work fine.
Thanks,
nexus
Const #MYCOLOR = $003388
Text(#CENTER,#CENTER,"[color=#MYCOLOR]Some coloured text[/color]")
Executing this line in a hollywood script (.hws), it works fine. Compiling it to a binary, you get an error message about "unknown constant" or something like that.
Predefined constants like #RED also work fine.
Thanks,
nexus