?
Solved

AS3: masking

Posted on 2009-04-12
2
Medium Priority
?
435 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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