prova ad usare con un gestore di eventi onClipEvent(enterFrame){
previous frame
}