# onEnterFrame question ppl :)

**URL:** https://forum.kirupa.com/t/onenterframe-question-ppl/147226
**Category:** Uncategorized
**Created:** [May 8, 2005, 2:41pm UTC](https://forum.kirupa.com/t/onenterframe-question-ppl/147226 "2005-05-08T14:41:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aldomatic](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@aldomatic](https://forum.kirupa.com/u/aldomatic)
#### Post date: [May 8, 2005, 2:41pm UTC](https://forum.kirupa.com/t/onenterframe-question-ppl/147226/1 "2005-05-08T14:41:28Z")

</div>

[color=black]ok i have some what of a problem

iam loading in jpg’s thru xml – now when they load in they are fading in  
so i have this  
holder\_mc is my movieClip they are loaded into

this.onEnterFrame = function(){  
holder\_mc.onEnterFrame = function(){  
holder\_mc.\_alpha +=20;  
}  
}

its probly wrong or so but

how would i delete the on enter frame\* [color=Red]for both[/color]\* and start the fade again when i press the button to load another picture  
[/color]
