Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7969701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:16:42+00:00 2026-06-04T07:16:42+00:00

I have made a Actions Script 3 code that fetches an image, does an

  • 0

I have made a Actions Script 3 code that fetches an image, does an addchild do it and adding a mask to it aswell.

Everything works fine, except the mask I’ve made is an animated MovieClip, and this MovieClip hides some spots where 2 or more objects inside that MovieClip overlaps each others.
I haven’t found how to remove this effect, so the mask is valid on overlaping aswell.

So basicly I need to know how to disable overlaping exclude effect in AS3. Is there a setting of some sort to solve this problem?

Code here:

// area is a MovieClip
// images_loaded[current_int] is a loaded image
// slider is a MovieClip, which I use to mask with
next_image          =   area.addChild(images_loaded[current_int]);
next_image.x        =   0;
next_image.y        =   0;
var masky:MovieClip =   new slider;
masky.x             =   0;
masky.y             =   0;
area.addChild(masky);
next_image.mask =   masky;

Thanks!

EDIT:

Here’s the problem:

Example

The slider-MovieClip got 7 layers. 1st layer is the letter M and 7th layer is a big box. Basicly I first want to fill up the Mask with the letter first, then cover it whole with the bix box. However when these 2 overlays you can the gray result (which is the background).
I’d like it to show the entire picture, not having this overlap effect.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:16:43+00:00Added an answer on June 4, 2026 at 7:16 am

    Masking sure can be a mystery in Flash.

    I solved this problem earlier by Breaking all into one layer instead. Then there were no layers which could overlap each other.

    This article and some of the comments contains very good solutions for weird mask behaviors. Hopefully they will help you aswell!

    One soluton which is always worth to try is cacheAsBitmap = true

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have an editor that is basic microsoft actions: createlink bold etc. i made
I have a file upload script that works [finally] but want to have users
I have a bookmarklet that I've made and it loads a script from my
I have made a simple html page with an image on it to display
I have made a debugger for the websites i develop that i simply include
I have made a background that needs to cover the whole page. I know
I have made a program with vb.net and I want that program to run
I have a HTML option element that I want to perform some actions when
I have an issue with a jQuery script I wrote that is driving me
I made a script before, that worked completely fine in PHP 5.2. But when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.