Inwiefern mehr code ?
Das ist der komplette code ...

Den Cache habe ich schon gefühlte 1000 mal entleert

...
Hier noch einmal der Code mit den Netstream Object ... Das selbe Phänomän wie bei dem Versuch mit dem Mediadisplay ...
Code:
import caurina.transitions.*;
import caurina.transitions.properties.DisplayShortcuts;
DisplayShortcuts.init();
var connection = new NetConnection();
connection.connect(null);
var stream = new NetStream(connection);
my_video.attachVideo(stream);
stream.setBufferTime(5);
stop();
var randvid:Number;
var loadvid:String;
var videoXML:XML = new XML();
var vidpath:Array = new Array();
videoXML.ignoreWhite = true;
videoXML.onLoad = onload;
function onload(erfolgreich) {
if(erfolgreich) {
var videos:Array = new Array();
videos = this.firstChild.childNodes;
var videolen:Number = videos.length;
_root.videolen = videolen;
for(var i:Number=0;i<_root.videolen;i++){
_root.vidpath[i] = videos[i].attributes.path;
}
randvid = Math.round(Math.random()*(videolen-1));
loadvid = "http://eve-com.de/limox/templates/limox/images/flash/" + vidpath[randvid];
stream.play(loadvid);
}
}
videoXML.load("http://eve-com.de/limox/templates/limox/images/flash/video.php");
stream.onStatus = function(info) {
if(info.code == "NetStream.Buffer.Full") {
fadeout();
}
if(info.code == "NetStream.Play.Stop") {
randvid = Math.round(Math.random()*(videolen-1));
loadvid = "http://eve-com.de/limox/templates/limox/images/flash/" + vidpath[randvid];
fadein();
}
}
fadein = function () {
Tweener.addTween(_root.fade, {_alpha:100, time:1, onComplete:playvid});
}
playvid = function () {
stream.play(loadvid);
}
fadeout = function (){
Tweener.addTween(_root.fade, {_alpha:0, time:2, delay: 1});
}