A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] How to mask an imported video?

  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    30

    Wink [CS3] How to mask an imported video?

    Hello,

    I have imported a video using progressive download method. It only takes one keyframe. Now I would like to add a mask on the video so it kind of fades into the video when i press the play button. Can I do that?

    Thanks in advance if anyone could help.

  2. #2
    Senior Member
    Join Date
    Feb 2002
    Location
    uk
    Posts
    222
    try:

    myMovie.cacheAsBitmap = true;
    myMask.cacheAsBitmap = true;
    myMovie.setMask(myMask);

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