On my Mac OS X it didn’t matter, the setStyle Worked Fine,
However I’ve transfered my files over to PC and working with the exact same things all the styles work EXCEPT for the setStyle(“themeColor”, “color”);
On this PC it’s always turning it from the default “Greens” to a solid gray shade of borders, this is very weird.
For Example
// Have a button component on stage
import mx.controls.Button
_global.styles.setStyle("themeColor", "haloOrange");
// Doesn't work.. it will set it from the green to a shady gray.
However if I delete the class import and simply do
// Have a button component on stage
_global.styles.setStyle("themeColor", "haloOrange");
It works just fine, do I need to edit the core class files for something? I’m extremely confused, I inport the class files in the first place so I can do public vars and strict data type them to that component. I can remove that if needed.