thanks

i think the problem was caused by  air application  sandbox,
see logs below :

*** Security Sandbox Violation ***
Connection to app:/../messagebroker/streamingamf halted - not permitted from 
app:/datapush.swf
app:/../messagebroker/streamingamf
*** Security Sandbox Violation ***
Connection to app:/../messagebroker/amfpolling halted - not permitted from 
app:/datapush.swf
app:/../messagebroker/amfpolling 
 

how to solve sandbox problem  in air? 
foodyi




________________________________
From: "p...@vin Uttarwar" <[email protected]>
To: [email protected]
Sent: Saturday, February 7, 2009 9:47:34 PM
Subject: Re: [flexcoders] is there different using blazeds in flex and air?


Hi ,

In air you have to specify ChannelSet for RemoteObject,

eg:

var cs:ChannelSet = new ChannelSet() ;
var myChannel:Channel = new AMFChannel("my-amf", "http://yourdomain/ 
messagebroker/ amf");
cs.addChannel( myChannel) ;

//assign channel set to remoteobject
remoteObj.channelSe t = cs;

hope this will help you.

Regards, 
Pravin Uttarwar



2009/2/7 Fu Di <foo...@rocketmail. com>

hi all,  
in air(flex for air), i  excepted  to send message  by blazeds , i  failed   no 
error alert  
the same environment and code using flex to send message  succesed   
is there any different  from  air and flex  in message service??

thanks for ur answers
 foodyi






      

Reply via email to