?
Solved

AS3: masking

Posted on 2009-04-12
2
Medium Priority
?
436 Views
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?
chairs_mc.mask(cir_mc)

Open in new window

0
Comment
Question by:Madkhali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
john_hollings earned 2000 total points
ID: 24126778
To set a mask using AS2, you would use this approach:
  box_mc.setMask(circle_mc);

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

Hope this helps resolve the error message.
0
 
LVL 6

Author Comment

by:Madkhali
ID: 24129080
Thanks for your help :)
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

649 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