AS3: masking

Posted on 2009-04-12
Medium Priority
Last Modified: 2013-11-12
i am masking movie clicp by another movie clip, it works but i faced this error:

TypeError: Error #1006: value is not a function.
      at main_fla::MainTimeline/frame71()

is the way i am using is wrong?

Open in new window

Question by:Madkhali

Accepted Solution

john_hollings earned 2000 total points
ID: 24126778
To set a mask using AS2, you would use this approach:

To set a mask using AS3, you would use this:
box_mc.mask = circle_mc;

Hope this helps resolve the error message.

Author Comment

ID: 24129080
Thanks for your help :)

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question