I am not sure if I am following this idea. I declared the RemoteObject with
a method name, and then the arguments. Something like this:

            .. Remote Object ...
      <mx:method name="myInsertMethod">
                  <mx:arguments>
                        <arg1>idNumber</arg1>
                        <arg2>idName</arg2>
                        .....
                        ...
                        .
where idNumber and idName are variables declared in ActionScript. I
supplied all the parameters that my Y method is expecting but I still get
the same error message.

   Is this what you are talking about?, or should I use something like
RegisterClass?

Thanks,




                                                                                
                                            
                                                                                
                                            
             "Daniel Harfleet"                 To: flexcoders@yahoogroups.com   
                                            
             <[EMAIL PROTECTED]       cc:                                       
                                   
             >                                 Subject:  [flexcoders] Re: I 
have an overloaded Java method, How can I call  
             Sent by:                            an specific method using Re    
                                            
             flexcoders@yahoogroups.com                                         
                                            
             09/09/2005 04:51 AM                                                
                                            
             Please respond to                                                  
                                            
             flexcoders                                                         
                                            
                                                                                
                                            
                                                                                
                                            




if you were to map the java params to action script params, what would
the params still be different and if so, you may be able to work out
what param types you need to supply

see the 'Converting data from Java to ActionScript' part of the live docs




--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
> I have a overloaded method in Java which I am calling using
RemoteObject.
> One version of the methods requires X parameters while the other
requires
> Y. I am trying to call the one with Y but it Flex tries to call the one
> with X by the default. How can I tell Flex which to call?
>
> Thanks
>
>
---------------------------------------------------------------------------
> This e-mail message (including attachments, if any) is intended for
the use
> of the individual or entity to which it is addressed and may contain
> information that is privileged, proprietary , confidential and
exempt from
> disclosure.  If you are not the intended recipient, you are notified
that
> any dissemination, distribution or copying of this communication is
> strictly prohibited.  If you have received this communication in error,
> please notify the sender and erase this e-mail message immediately.
>
---------------------------------------------------------------------------





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links











---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to