Glad to hear that you figured it out. 2010/5/21 Lucas Lain <[email protected]>
> Hello Cem, > > I was using the "passthrough" at the beggining of the canvas. > > I moved it inside the dataset tag (the place where I was calling the > _nc.call sentence) and everything worked great. > > Thank you for your reply. > > Lucas. > > On Fri, May 21, 2010 at 5:02 AM, cem sonmez <[email protected]> wrote: > >> Hİ Lucas >> I just use like that. I have no idea why you are getting this unexpected >> error but this may help you to compare with yours) : >> >> //this is for as3 >> <switch> >> <when property="$as3"> >> <passthrough> >> import flash.net.*; >> </passthrough> >> </when> >> </switch> >> >> <attribute name="responder" /><!--responder for the server side--> >> >> <!--listening connected attribute of the connection--> >> <handler name="onconnected" reference="conn"> >> if (conn.connected) { >> responder = new Responder(this.responderResult, >> this.responderStatus); >> } >> </handler> >> >> <method name="responderResult" args="returnvalue"> >> if ($debug) >> Debug.write("register result method : " + returnvalue); >> </method> >> >> <method name="responderStatus" args="returnvalue"> >> Debug.write("onStatus:" + returnvalue.toString); >> </method> >> >> HTH >> Regards >> >> 2010/5/20 Lucas Lain <[email protected]> >> >> Hello everyone, >>> >>> I'm trying to use rtmp._nc.call() as follows: >>> >>> rtmp._nc.call( >>> "auth_bcast", >>> new Responder( >>> function() { vid.stream.broadcast() }, >>> funcition(fault: Object) {} >>> ), >>> key >>> ); >>> >>> .... but the class "Responder" is not available on canvas. I tried to use >>> "passtrhrough" with "import flash.net.Responder;" but the compiler says: >>> >>> "Call to a possibly undefined Method Responder" >>> >>> What I am doing wrong? >>> >>> Best! >>> >>> -- >>> Lucas >>> +54 911 6621 5845 >>> >>> >> >> >> -- >> Cem SONMEZ >> > > > > -- > Lucas > +54 911 6621 5845 > > -- Cem SONMEZ
