Hi all,
I'm new to both flash and Resolume and I was planning to stream video over some led's. Started thinking it would be nice to change color and all sort of stuff within the actionscript of flash.
So I wrote some code, basically added 3 parameters: green, red, blue.
Set the settings while parameter changed:
//set var colortransform
var my_color: ColorTransform = this.logo.transform.colorTransform;
//Set current color
var red:int = this.paramRed1.getValue() * 255.0;
var green:int = this.paramGreen1.getValue() * 255.0;
var blue:int = this.paramBlue1.getValue() * 255.0;
//Create hex color code
var hexCol:int = red * 0x10000 + green * 0x100 + blue;
Than changed the logo;
else if (event.object == this.paramRed1 || event.object == this.paramBlue1 || event.object == this.paramGreen1) {
my_color.color = hexCol;
this.logo.transform.colorTransform = my_color;
}
If say red is max on 255, the hex color code I get is really red. but when i shift the parameter in Resolume it becomes vaguely grey. When I add blue it becomes yellow and when I leave blue open it becomes red strangely. Green is kinda purple haha..
Someone any clues how to fix this issue?
Regards,
Joris
Using Flash & Color parameters
Re: Using Flash & Color parameters
I'm going to go out on a limb here and guess you're running the latest version of OSX but not the latest version of Resolume...
This should be fixed by updating to 5.0.2.
This should be fixed by updating to 5.0.2.