Title: quote
I am almost done with a Flex 2 version of oflademo.  I looked at the flash version (AS2) and I'm stuck on how to invoke the demoService getListOfAvailableFLVs to return the array?

This is what I'm trying with not result?


private function fetchVideos():void{
             //res = new Responder(listResponder);
             aResult = new Array();
             trace("Making call");
             SharedObject.defaultObjectEncoding  =  ObjectEncoding.AMF0;   
             /*
             trace ("URI: " + nc.uri);
             soVideoList = SharedObject.getRemote( "demoService.getListOfAvailableFLVs", nc.uri);
             soVideoList.addEventListener( NetStatusEvent.NET_STATUS, netStatusHandler );
             soVideoList.addEventListener( AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler );
             soVideoList.addEventListener( SyncEvent.SYNC, sharedObjectSyncHandler );
             soVideoList.client = this;
             soVideoList.connect( nc );
             soVideoList.send(aResult);
             */
             nc.call("demoService.getListOfAvailableFLVs", null, aResult);   
            trace ("RESPONSE2: " + aResult.length);
         
        }

As soon as this works I'll post.  I 'm adding a proxy server configuration as well as a "auto sizing" video display to show wide HD format (does it automatically).

Thanks.

.j


--
Whether you think that you can, or that you can't, you are usually right.
 - Henry Ford
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to