# Dynamic Image Problems w/ a Mask+Tween

**URL:** <https://forum.kirupa.com/t/dynamic-image-problems-w-a-mask-tween/65208>\
**Category:** flash\
**Created:** [September 24, 2004, 12:29am UTC](https://forum.kirupa.com/t/dynamic-image-problems-w-a-mask-tween/65208 "2004-09-24T00:29:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alargent](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@alargent](https://forum.kirupa.com/u/alargent)\
**Post date:** [September 24, 2004, 12:29am UTC](https://forum.kirupa.com/t/dynamic-image-problems-w-a-mask-tween/65208/1 "2004-09-24T00:29:06Z")

</div>

I’m attempting to dynamically load an image into a movie clip and then have that clip tween across the stage. The problem I’m seeing is that the mask on top of the image layer is affecting this in a negative way. I’m seeing at the minimum a “flicker” when the image gets to its final resting place, though depending on how I load the image into the clip, sometimes it disappears altogether.

If this makes sense to anyone, is it possible there’s a bug in Flash MX 2004 where a clip can “lose” track of its instance name after a tween if there’s a mask also tweaning above it? It seems to think it’s a totally different instace once it stops, but if I delete the mask layer everything is fine (outside of not masking where it needs to mask).

If this should be posted to a more appropriate forum, please let me know.

thanks,  
-andy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2004, 7:55am UTC](https://forum.kirupa.com/t/dynamic-image-problems-w-a-mask-tween/65208/2 "2004-09-24T07:55:39Z")

</div>

how are you making the mask?  
what i do is making dynamic to following scheme:  
\_mc  
\_mc.mask  
\_mc.image

and then do \_mc.image.setMask(\_mc.mask)

i think, it’s not tested…
