Interalab Sales schrieb:
> I've been trying to dumb this down to a very simple connection so I
> can understand it. Here's what I have so far:
>
......
> so = SharedObject.getRemote("media", nc_video.uri);
> if(so.connect(nc_video)){
> trace("here");
> };
>
~~~~~~>
what is this line good for?
> remote_so.synchronized = false;
>
~~~~~~>
this line nest liene here,
> SharedObject.prototype.onSync = function(list) {
~~~~~~>
why do you try to prototype an allready existing function?
if you would like to extend the onSync even you may would like to use
a "eventDispatcher" to do your sutom events, i never used AS1 oop only
AS2 oop
but i think this line here your problem, may its right, i never used
prottype..
and uhm ... its called sharedObject because its an Object so it doesent
has a length like a string
> for (var i = 0; i < list.length; i++) {
~~~~~~>
you may whant to use
for (var i in list) {
i++
************
greetz Sascha
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org