Solved

AS3: masking

Posted on 2009-04-12
2
427 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
2 Comments
 
LVL 5

Accepted Solution

by:
john_hollings earned 500 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
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…
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 goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now