# Dynamic Image Flickers .. help please

**URL:** <https://forum.kirupa.com/t/dynamic-image-flickers-help-please/306674>\
**Category:** flash\
**Created:** [March 19, 2010, 6:52pm UTC](https://forum.kirupa.com/t/dynamic-image-flickers-help-please/306674 "2010-03-19T18:52:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakes3212](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jakes3212](https://forum.kirupa.com/u/jakes3212)\
**Post date:** [March 19, 2010, 6:52pm UTC](https://forum.kirupa.com/t/dynamic-image-flickers-help-please/306674/1 "2010-03-19T18:52:04Z")

</div>

this.addEventListener(MouseEvent.ROLL\_OVER, rolledOver);  
this.addEventListener(MouseEvent.ROLL\_OUT, rolledOut);

function rolledOver(e:MouseEvent):void  
{  
this.visible = false;  
}

function rolledOut(e:MouseEvent):void  
{  
this.visible = true;  
}

Ok … so i think this is related to bitmap caching however the “this”  
is a dynamically created object that then dynamically has a .jpg  
placed inside of it. I want the object to disappear on rollOver and go  
back to normal onRollOut. But i can’t figure out how to assign  
bitmap caching to the dynamic jpeg or this.movieClip as they are  
both dynamic … this code makes it flicker on hover … any answers???
