RES: [FLASHmacromedia] Flash Remoting: multiple result functions 2004-04-22 - By Cristiano Monteiro dos Santos
Back That's it! Exactly! :)
Thanks a lot!
Best regards, Cristiano
-- --Mensagem original-- -- De: KingKarsten [mailto:kingkarsten@(protected)] Enviada em: quinta-feira, 22 de abril de 2004 18:10 Para: FLASHmacromedia@(protected) Assunto: AW: [FLASHmacromedia] Flash Remoting: multiple result functions
You can put your return object into the method call, if you don't declare a specific EventHandler with the service. myGateway.getService(myEJB); not myGateway.getService(myEJB, this);
The eventhandling would look like this:
var res1:Object = new Object; res1.onResult = function (resData:Object):Void { // Stuff } res1.onStatus = function (resInfo:Object):Void { // Stuff } service.method(res1);
Hope it works, Karsten
-- --Urspr?ngliche Nachricht-- -- Von: Cristiano Monteiro dos Santos [mailto:cristiano@(protected)] Gesendet: Donnerstag, 22. April 2004 22:16 An: FLASHmacromedia@(protected) Betreff: [FLASHmacromedia] Flash Remoting: multiple result functions
Hey all!
I'm working with OpenAMF and I have 3 different combo boxes, each one has to be populated with different search results from a single remote EJB call. That's my problem, as I have one single method call, the result will allways be forwarded to the same result function. How can I do that?
Thanks a lot, Cristiano Monteiro
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Server geeks, take heart! If you're sick of wading through animation & graphics instruction for relevant info., then Nate Weiss' Macromedia Flash MX Professional 2004 for Server Geeks is for you. Leave designing to designers and dig into core concepts to create rich user interfaces, online advertising, and more. See www.peachpit.com for more info. Yahoo! Groups Links
-- --Urspr?ngliche Nachricht-- -- Von: Cristiano Monteiro dos Santos [mailto:cristiano@(protected)] Gesendet: Donnerstag, 22. April 2004 22:16 An: FLASHmacromedia@(protected) Betreff: [FLASHmacromedia] Flash Remoting: multiple result functions
Hey all!
I'm working with OpenAMF and I have 3 different combo boxes, each one has to be populated with different search results from a single remote EJB call. That's my problem, as I have one single method call, the result will allways be forwarded to the same result function. How can I do that?
Thanks a lot, Cristiano Monteiro
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Server geeks, take heart! If you're sick of wading through animation & graphics instruction for relevant info., then Nate Weiss' Macromedia Flash MX Professional 2004 for Server Geeks is for you. Leave designing to designers and dig into core concepts to create rich user interfaces, online advertising, and more. See www.peachpit.com for more info. Yahoo! Groups Links
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Server geeks, take heart! If you're sick of wading through animation & graphics instruction for relevant info., then Nate Weiss' Macromedia Flash MX Professional 2004 for Server Geeks is for you. Leave designing to designers and dig into core concepts to create rich user interfaces, online advertising, and more. See www.peachpit.com for more info. Yahoo! Groups Links
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Server geeks, take heart! If you're sick of wading through animation & graphics instruction for relevant info., then Nate Weiss' Macromedia Flash MX Professional 2004 for Server Geeks is for you. Leave designing to designers and dig into core concepts to create rich user interfaces, online advertising, and more. See www.peachpit.com for more info. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/FLASHmacromedia/
<*> To unsubscribe from this group, send an email to: FLASHmacromedia-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|