hi
I am using red5 flash server and at that side creating a shared object called 
[B]chatSharedObject[/B]. 
For the client side,I am using openlaszlo platform, but using actionscript code 
for the shared object implementation. client application is connecting to the 
shared object on the red5 side successfully(as I see on the red5 logs).

here is the calling code snippet: 

[CODE]
<button id="sendButton">send
      <handler name="onclick" method="sendClicked" />
      <method name="sendClicked" args="v=0">
            if (message.text != "") {
        //Debug.write("Message sent!");
        classroot.writeSharedObject(message.text);  
        message.clearText();
        message.setAttribute("text_y", 0);
        }
        </method>
</button>

<method name="writeSharedObject" args="message">
[B]//shared object send method is being called[/B]
        this.send("writeMessage",loginScreen.getUsername(),message); 
</method>
                
<!--this method writes the messages to the debug window which will be shown to 
all users-->
<method name="writeMessage" args="username, msg">
        //Debug.debug(msg);
        messageArea.addText(username+ " : "+msg+"\n");
</method>[/CODE]

When I generate the swf object and try to use this application, nothing is 
being displayed although there is no problem on this issue on the development 
enviroment. Problem causes when I try to run the flash object. 

Is this maybe a flash security issue? Although I have added the corresponding 
locations as the trusted location on the flash settings manager. Still problem 
goes on. And I think this is not about the flash player, it might be a special 
problem about the flash object.

Has anyone faced such like behaviour while swf10 object running. 

Thanks in advance  
Cem

Reply via email to