Actuate Transform

I was trying out the transform functionality, specifically:

Actuate.transform (MySprite, 1).color (0xFF0000, 0.5);

Which works fine if I target SWF, but doesn’t appear to work on Mac app or HTML5.

I don’t think I missed anything in the notes about it only working in Flash, if anyone has got any pointers I’d be gratefule!

Thanks,

Charlie

It seems that ColorTransform for html5 is fully supported only for -Dwebgl render mode.

For native app - everything should work fine at least for -Dlegacy mode, but in my tests everything work without -Dlegacy either.

If you need something really cross-platform, here is ColorActuator - https://gist.github.com/restorer/4c78e820b88d2b2b778f
It is not the same as ColorTransform, but it works :slight_smile:

2 Likes