It is fixed now, found a much easier waymabro wrote:Coming back to the same picture when changing languages is very nice too!! (... the light is not turned off then, though, but that's just a minor point)
Code
this.onEnterFrame = function (){
SWFAddress.text = SWFAddress.getValue();
if (SWFAddress.text.indexOf(".jpg") == -1){
var myTween:Tween = new Tween(black_square, "_alpha", Strong.easeOut, black_square._alpha, 0, 1, true);
} else{
var myTween:Tween = new Tween(black_square, "_alpha", Strong.easeOut, black_square._alpha, 80, 1, true);
}
}

