Che fai, dici le bugie ?![]()
controlvolume.onRelease = function(){
if(!a){
_root.controlvolume.play()
_root.controlvolume.onEnterFrame = function(){
if(this._currentframe == this._totalframes){
this.stop()
a = true
this.onEnterFrame = null
}
}
}else{
_root.controlvolume.onEnterFrame = function(){
if(this._currentframe > 1){
this.prevFrame()
}else{
this.onEnterFrame = null
a = false
}
}
}
}
Nessuno dei due può funzionare perché in prima riga e in entrambi in casi dichiari un nome istanza diverso da quello vero.
Tutto qui.
Ciao,
NAP