A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Dynamic text with gradients?

  1. #1
    Member
    Join Date
    Jan 2001
    Posts
    54

    Dynamic text with gradients?

    I have a dynamic text field I'd like to apply a gradient to. The only think I could think that would work would be to have the text act as a mask for a gradient square beneath.

    When I attempt this in a small, two layer MC it previews perfectly in the library, yet when exported to a swf displays as just the underlying gradient, unmasked. Does anyone know why?

  2. #2
    :
    Join Date
    Dec 2002
    Posts
    3,518
    Make sure the font is embeded.

    If using a dynamically created text field, the font also needs to be in the library and linkage set to export.

    See attached file for a scripted sample of a dynamically created text field that is masked with a randomized gradient fill, text also has a drop shadow.
    Last edited by dawsonk; 08-22-2007 at 10:51 AM.

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