PDA

View Full Version : Changing the themeColor of a FLVplayback instance


themortalgod
07-16-2008, 05:06 PM
Hey I have been trying to change the themeColor on an FLVplayback instance all day and I can't seem to figure out how, in the docs it says you can call setStyle() on any component but when I call setStyle on my FLVPlayback instance it throws an error, I have also tried to import fl.managers.StyleManager to try and set it globally but flash also throws an error when I try to import the StyleManager, I think im starting to go insane? does anyone know of a way to do this? The default "haloGreen" style is hideous :(

thx in advance

markdj
07-16-2008, 05:21 PM
i'm sure this isn't the quickest/easiest way to do it, but I've always just opened up the skin fla, changed the colours where needed and saved it as a custom skin.

Doesn't take too long once you know where to find the relevant parts!

themortalgod
07-16-2008, 05:58 PM
ya, I think il just do it that way... was hoping there would be a coding solution so I could use the default skin style,

thx tho!