Salve a tutti,
con il seguente codice richiamo un file video e lo ridimensiono:
stop();

var duration:Number = 0;
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
videoPlayer.attachVideo(ns);
videoPlayer.smoothing = true;

ns.play(_level0.vid[n]);

//funzione che viene richiamata quando NetStream riceve i metadata del video
ns.onMetaData = function(evt:Object):Void {
duration = evt.duration;
videoPlayer._width = 670;
videoPlayer._height = 402;
};

//viene richiamata ogni volta che NetStream cambia status
ns.onStatus = function(evt:Object):Void {
if (this.time>0 && this.time>=(duration-0.5)) {
n++;
gotoAndPlay(2);
delete this.onStatus;
}
};
Il problema è che quando flash esegue il video noto uno sfarfallio molto sgradevole in particolar modo sulle pan laterali...
Come posso risolvere? Può essere un problema del metodo che utilizzo per ridimensionare il video?