dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: need help with masking text

  1. #1
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    hi

    I want to use a rectangle shape as mask and tween the text of out it --disappear once leave the shape. but the thing is the text is not masked properly: as the text leave the mask area I can still see the faint text. Does anyone know how I can fix that? by the way it's dynamic text with font embeded.


    thanks.

  2. #2
    Media Developer CJElven's Avatar
    Join Date
    Jan 2002
    Location
    San Antonio, TX
    Posts
    298
    I'm not having any problems with it. Did you make sure to put your dynamic text field inside another symbol before you tween it?

  3. #3
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    First create a movieclip from your text block and give it an instance name. example "mc". place it on the stage
    second, on a the frame of the movieclip, call the value of the text block.
    i.e.

    mc.text = "whatever"
    //where text is the variable assigned to the textblock
    .
    then mask it the way you want.
    If needed I could send you a fla illustrating this.

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    thank you both very much for the suggestions. I think I got it figured out though..it's because I'm using pixel fonts and when tweened they are not perfectly aligned with integer coords.


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