flash Q (hi unfit :)
- Started
- Last post
- 6 Responses
- toastie
im pretty sure it's impossible, but i'll ask anyhow.
Is there a way to tween/change the color of a bitmap dynamically. Like setting up a colorkey that will change color.
- laurus0
if you make it into a movieclip, you can with the color settings (tint or advanced).
Although I'm not sure what you mean by colorkeyÑdo you mean like keying a color out as in video bluescreen?
- jpolk0
this might be kinda ridiculous but you could use varying alphas of a mc on top of it and use setRGB();
guess it depends on the bitmap
- ********0
bitmaps don't have specific properties in flash, they only have movieclip properties. You can tweak them, but you are very limited.
create a movie clip and place your bitmap inside it. then go to the main stage and mess with the settings int the property inspector. These are pretty much the extent of what you can do.
you CAN fake some things, have transitional clips that you make in after effects or something and then have them appear at certain times - that and a little smoke and mirrors and you can do some cool stuff.
- toastie0
i thought what i could do is make a bitmap of the outline and then a bitmap for the alpha and then make that second bitmap a mask for an underlying movie clip that will change color. but no luck, flash doesnt allow bitmaps to be masks :(
- unfittoprint0
u may change dinamically the 3 color channels of a movieclip [with a bitmap inside].
Here's some fade [tween] examples:
http://www.actionscripts.org/tut…
- toastie0
oh, hey, that does work. man, i was doing it the hard way :) thanks alot guys!