Get Adobe Flash player

Tinting A MovieClip With Action Script 2.0

August 6th, 2010 | 1 Comment »
category: Software

1
2
3
4
5
6
7
8
9
//Here we assume some MovieClip needs to be tinted green.
//dependencies:
//rb: is the red value
//gb: is the green value
//bb: is the blue value
//aa: is the alpha for the tint

var myNewColor = new Color(myMovieClip);
myNewColor .setTransform({rb:0,gb:255,bb:0, aa:100});
GD Star Rating
loading...
Tinting A MovieClip With Action Script 2.0, 5.0 out of 5 based on 1 rating


One Response to “ Tinting A MovieClip With Action Script 2.0 ”

  1. Tweets that mention Tinting A MovieClip With Action Script 2.0 | MyFriendTodd -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Todd Vaughn, Todd Vaughn, Todd Vaughn, Todd Vaughn, Todd Vaughn and others. Todd Vaughn said: [cc lang="actionscript"] //He… http://myfriendtodd.com/?p=198 [...]



Content

Need to pay for services?


Banner    

Contact me


  

Socially you can find me here


                 

        


Need to pick up a few things before you leave?


Grasshopper - The Entrepreneur's Phone System   Affordable Premium Custom Flash Photo and Video Gallery Templates
2010 Copyright © Todd Vaughn. All rights reserved. Register