# \[MC became a mask\] Is it a flash MX bug?

**URL:** <https://forum.kirupa.com/t/mc-became-a-mask-is-it-a-flash-mx-bug/46502>\
**Category:** flash\
**Created:** [March 25, 2004, 4:07am UTC](https://forum.kirupa.com/t/mc-became-a-mask-is-it-a-flash-mx-bug/46502 "2004-03-25T04:07:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LawfuI](https://avatars.discourse-cdn.com/v4/letter/l/bbe5ce/32.png) [@LawfuI](https://forum.kirupa.com/u/LawfuI)\
**Post date:** [March 25, 2004, 4:07am UTC](https://forum.kirupa.com/t/mc-became-a-mask-is-it-a-flash-mx-bug/46502/1 "2004-03-25T04:07:48Z")

</div>

Hi there!

I currently working on a web project and try to load some character with clothes into my flash MX movie 6.0 but turn out ran into trouble.  
So pls kindly drop me a comment or something. Thanks in advance.

The Movie structure is like below:

STAGE  
|\_\_\_\_\_\_\_\_\_MC#1 (depth=1400)  
|  
|  
|\_\_\_\_\_\_\_\_\_MC#2 (depth=1500)  
|  
|  
|\_\_\_\_\_\_\_\_\_MC#3 (depth=1600)  
|  
|  
|\_\_\_\_\_\_\_\_\_MC#4 (depth=1700)  
|  
|  
|\_\_\_\_\_\_\_\_\_MC#5 (depth=1800)  
|  
|  
|\_\_\_\_\_\_\_\_\_MC#6 (depth=1900)

All the MC above are created by attachMovie.  
And each of the six MC contained 2 child MC(depth=11, 18), and the child MC contained a .swf file by loadMovie();

However, when I test the movie, part of MC#6 become MASK of #MC1  
The screenshot is something like this:  
 ![](http://forum.kirupa.com/uploads/kirupa/494/75794b654833744c.jpg)

And I heard if 10 layers (altho in different MC timeline) stacked together can be a mask effect bug.  
URL: [http://www.flashkit.com/movies/Effects/Masking/Scriptab-Justin\_E-1448/index.php](http://www.flashkit.com/movies/Effects/Masking/Scriptab-Justin_E-1448/index.php)  
So is it same stuff?

Regards,  
Camus

=======Some codes=======

Character.prototype.update = function(){  
Obj=eval(this.$name);  
localNode = Obj.$char\_XML.childNodes[0];  
for (i=0; i\<localNode.childNodes.length; i++){  
mcLevel = int(localNode.childNodes\*.attributes.level);  
mcDescription = localNode.childNodes\*.attributes.description;  
mcID = localNode.childNodes\*.attributes.id;

```
Obj.createEmptyMovieClip(mcLevel, mcLevel);
ElementObj = eval(Obj+'.'+mcLevel);
if (mcID!=""){
	fileName = "virtualimage/"+mcLevel+mcDescription+"/"+mcID+".swf";
	ElementObj.loadMovie(fileName);
	ElementLayer= ElementObj.getDepth()
	with (ElementObj){
		ParentLayer = _parent.getDepth();
	}
}

```

}  
}

makeCharacter = function(Name, Expression, Sex, Level){  
this.attachMovie(“CharacterHolder”, Name, Level).init(Expression, Sex, Level);  
}

Zip file: [http://www.magusequine.com/lawfui/Query.zip](http://www.magusequine.com/lawfui/Query.zip)
