# onEnterFrame prob

**URL:** <https://forum.kirupa.com/t/onenterframe-prob/88657>\
**Category:** flash\
**Created:** [May 1, 2005, 2:50pm UTC](https://forum.kirupa.com/t/onenterframe-prob/88657 "2005-05-01T14:50:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)\
**Post date:** [May 1, 2005, 2:50pm UTC](https://forum.kirupa.com/t/onenterframe-prob/88657/1 "2005-05-01T14:50:47Z")

</div>

Has anyone ever experienced a call to onEnterFrame not completing?

By this I mean, I am calling onEnterFrame on a picHolder movieclip. Inside the onEnterFrame I am fading in the image like:

\_root.currentHolder.picHolder.onEnterFrame = function() {  
trace(“in onenterframe”);  
if(\_root.currentHolder.picHolder.\_alpha \<100){  
\_root.currentHolder.picHolder.\_alpha +=10;  
}

};

The trace statement prints (only once) but the alpha doesn’t get incremented.  
What could be happening here?
