# Wiping problem

**URL:** <https://forum.kirupa.com/t/wiping-problem/48162>\
**Category:** Uncategorized\
**Created:** [April 10, 2004, 7:24pm UTC](https://forum.kirupa.com/t/wiping-problem/48162 "2004-04-10T19:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![knowjeremy](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@knowjeremy](https://forum.kirupa.com/u/knowjeremy)\
**Post date:** [April 10, 2004, 7:24pm UTC](https://forum.kirupa.com/t/wiping-problem/48162/1 "2004-04-10T19:24:38Z")

</div>

im wondering how to (whilst mousing down the whole time) move to the next frame whilst moving on and off the image/movieclip/hotspot

An example would be that of wiping condensation from a window, each time you take more off…

i found a this code:

on (dragOver) {  
this.\_alpha = this.\_alpha + 1;  
}

except i need to instead of change the alpha, change the frame to the next each time a user drags over the hotspot

really appreciate if anyone can help me

ta very much
