A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: colorTransform erases dropShadow filter

Threaded View

  1. #1
    Member
    Join Date
    Jul 2009
    Location
    Florianópolis
    Posts
    81

    colorTransform erases dropShadow filter

    I'm using this code into a mouse over and mouse out listener , to change the color of a TextField.

    Code:
    var ct:Color = new Color();
    ct.setTint(0xFF0000, 0.5);
    mc.transform.colorTransform = ct;
    The problem is that the dropShadow filter associated with the TextField (applied in the flash UI) is gone when this colorTransform applies.

    Do anybody knows why?
    Should I apply the filter dynamically, is that the only solution ??

    Thnks!
    Last edited by ziriguidum; 08-01-2009 at 07:32 PM. Reason: I forgot the code tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center