Action Script
MovieClip.prototype.moov = function() {
this.onEnterFrame = function() {
if (Key.isDown(Key.RIGHT)) so.data.x = this._x += 20
if (Key.isDown(Key.LEFT)) so.data.x = this._x -= 20
if (Key.isDown(Key.UP)) so.data.y = this._y -= 20
if (Key.isDown(Key.DOWN)) so.data.y = this._y += 20
};
};
clip.moov();
//connection au serveur
nc = new NetConnection();
nc.connect("rtmp://fc798.streamedia.info/remizserver/test_fms_streamedia");
so.onSync = function(list) {
clip._x = so.data.x;
clip._y = so.data.y;
};
so.connect(nc);
Malheuresement j'ai l'impression que ma connection de la ligne RTMP n'est pas bonne, pourriez vous m'indiquez comment cibler la bonne zone du serveur? Laquelle ciblée? Y a t'il une façon spécial d'heberger le SWF pour que cela marche?
Je vous en serais trés reconnaissant merci !