[flexcoders] Re: RemoteObject in AS3 Project

2009-04-01 Thread valdhor
channelSet = new ChannelSet();
amfChannel = new AMFChannel(my-amf,
http://myserver.com/WebORB/weborb.php;);
channelSet.addChannel(amfChannel);
myService = new RemoteObject();
myService.channelSet = channelSet;
myService.destination = WeborbTesting.MyService;
myService.requestTimeout = 30;
myService.getData.addEventListener(ResultEvent.RESULT, resultHandler);
myService.addEventListener(FaultEvent.FAULT, faultHandler);


--- In flexcoders@yahoogroups.com, Nick nick...@... wrote:

 Hello all!

 I am trying to use the RemoteObject class along with ResultEvent etc
in an AS3 project in FB3. Ideally I would like to remote out using these
objects and not have to load the entire Flex framework within an
Application container. Is this possible? I have done some searching and
my results suggests it is not BUT I could of sworn I have seen some
people doing this a while back. Am I mistaken?

 I appreciate it!!

 Thanks.

 Nick




[flexcoders] Re: RemoteObject in AS3 Project

2009-04-01 Thread Nick
Thanks everyone! I really learned alot from your posts!! 

I think I found the solution to my problem. I am using the NetConnection object 
described in this post: 

http://www.oscartrelles.com/archives/as3_flash_remoting_example

It seems to be giving me the same results as I was looking for with the 
RemoteObject path I was going down. 

Any draw back to this approach that I may be missing? 

Thanks! 

Nick


--- In flexcoders@yahoogroups.com, Nick nick...@... wrote:

 Hello all! 
 
 I am trying to use the RemoteObject class along with ResultEvent etc in an 
 AS3 project in FB3. Ideally I would like to remote out using these objects 
 and not have to load the entire Flex framework within an Application 
 container. Is this possible? I have done some searching and my results 
 suggests it is not BUT I could of sworn I have seen some people doing this a 
 while back. Am I mistaken? 
 
 I appreciate it!! 
 
 Thanks. 
 
 Nick





RE: [flexcoders] Re: RemoteObject in AS3 Project

2009-04-01 Thread Peter Farland
If you're comfortable with calling the NetConnection API directly and are fine 
with having to manage connectivity issues, faults, setting up request/response 
messages etc... then you could go that route.

Pete


-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Nick
Sent: Wednesday, April 01, 2009 3:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RemoteObject in AS3 Project

Thanks everyone! I really learned alot from your posts!! 

I think I found the solution to my problem. I am using the NetConnection object 
described in this post: 

http://www.oscartrelles.com/archives/as3_flash_remoting_example

It seems to be giving me the same results as I was looking for with the 
RemoteObject path I was going down. 

Any draw back to this approach that I may be missing? 

Thanks! 

Nick


--- In flexcoders@yahoogroups.com, Nick nick...@... wrote:

 Hello all! 
 
 I am trying to use the RemoteObject class along with ResultEvent etc in an 
 AS3 project in FB3. Ideally I would like to remote out using these objects 
 and not have to load the entire Flex framework within an Application 
 container. Is this possible? I have done some searching and my results 
 suggests it is not BUT I could of sworn I have seen some people doing this a 
 while back. Am I mistaken? 
 
 I appreciate it!! 
 
 Thanks. 
 
 Nick







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links