Have you tried using tweenlite or tweenmax for your tint, colour matrix
transformations on a sprite, movieclip or bitmap and then using this as your
material?




On 29 September 2010 10:36, DrMcCleod <[email protected]> wrote:

> I can, but doing a colourtransform on bitmapdata permanently changes
> the pixel values and includes clamps at 0 and 255. This means that
> some transforms cannot be reversed, which is a pain.
>
> On Sep 28, 11:04 pm, George McKinney <[email protected]>
> wrote:
> > Can you use bitmapdata?
> >
> > http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/d...
> >
> > georgemck
> >
> > On Tue, Sep 28, 2010 at 8:46 AM, DrMcCleod <[email protected]>
> wrote:
> > > In BitmapMaterial.as, applying a ColourTransform to the texture only
> > > uses the R, G, B & A multipliers of a ColourTransform object.
> > > This is in contrast to the ColourTransform defined in
> >
> > >http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/g.
> ..
> > > which also uses offsets to the colour values, permitting both gain and
> > > lift modifications to the colour.
> >
> > > Is there a reason why the functionality of the former is limited in
> > > this way?
> >
> >
>

Reply via email to