Hi , i read the jwamicha tutorial and althoug i did learn some stuffs, like 
the services, i still could'nt make the SO as i wanted.
It is strange because i followed everything and......The shared Object was 
kind of created, the persistend folder and the sharedObject Folder appeared, 
the shared object that i wanted Appeared too, with all the propertys but 
without the values.

But what i'm really bugged is that i still get the null, when i ask to 
return the sharedObject, and i followed the jwamicha advice of don't putting 
nothing in the appStart , i didn't even implemented the method.
And i still get my program to don't even see the sunlight.........

There is something that i was supposed to do, besides getting the scope and 
calling the function to create an SO?


  IScope oneScope= Red5.getConnectionLocal().getScope();

          boolean a=createSharedObject(oneScope,nameos,true);


If someone give me a simple example of a SO creation i would be really glad.
THanks again
Fabio-Brazil


>Hi,

>Please see if this will help you it is based on Joachim's tutorial with 
>some
>code examples for shared objects:
>http://jwamicha.wordpress.com/2007/01/29/create-a-new-java-red5-application/

On 3/29/07, F?bio Costa <[EMAIL PROTECTED]> wrote:
>>
> >Hi people,i'm a newbie develloper in red5.(i started for real yesterday),
>>and i'm with a huge issue.
>>   I followed the joachim bauch tutorial for shared objects and read the
> >documentation. But in my program it returns neither false nor true, just
>>null.
>>I simplified my code to just create the damn sharedObject.
>>
>>JAVA CODE:
>>
>>public boolean Test(String nameos){
>>
>>                 IScope oneScope= Red5.getConnectionLocal().getScope();
>>
>>          boolean a=createSharedObject(oneScope,nameos,true);
>>
>>          return a;
>>         }
>>
> >and the AS Code:
>>
> >nc.call("Test",new ShowOutput,"anything");
> >...
>>
>>
> >function ShowOutput(){
>>         this.onResult = function(clientObj) {
>>                 var theThing=clientObj;
>>
>>
>>                 trace (theThing);
>>
>>         }
>>
>>PS: also i would really like to know if there is some material for
>>streaming
>>LIVE pre-recorded FLV, with FMS2 i used to send the stream to the
> >server-side,.asc, make it play and it would cause the publishing of the
> >stream
>>
>>Thanks in Advance F?bio-Brazil
>[email protected]

_________________________________________________________________
Seja um dos primeiros a testar o novo Windows Live Mail Beta- grátis. Acesse 
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to