Thank you Hank, 

The link provided by greg was too confusing and didn't see it solving my 
concern. 

I will try FDS and AMF to generate the chart. I am not really relied or hooked 
upon only using flex and openamf directly. didn't find anything specific by 
renaun... but I'll keep searching..
Thanks for the lead. 


Thank you,
Regards,
VARUN SHETTY  
 
________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of hank 
williams
Sent: Friday, October 06, 2006 3:20 AM
To: [email protected]
Subject: Re: [flexcoders] Using Remoting on Flex 2.0

I dont think the referenced article here is really on point to the question for 
a variety of reasons, the most important of which is that it is based on using 
FDS which he explicitly stated he doesnt want to use. Also the article is for 
constructing Data Acess Objects, but presumably, since he was already doing 
this in flash 8, he has remote functions already written which he just wants to 
use with his new flex code. 

The issue is a simple question of AMF0 remoting in flex.

I gave up on using AMF0 and am currently using FDSExpress and AMF3 to do 
remoting. But there are some tools and articles about how to do this. There is, 
I believe, an article on this somewhere on the adobe website. There was also 
some code written by renaun (I hope I have that spelling right) that will, as I 
understand it, help you to do this, though, I have not yet gotten it working. 
That doesnt mean it doesnt work, but just that I have not focused on that part 
of my app recently. I think if you search the archives for renaun, AMF0 and 
amfphp and remoting, you will find references to discussions about this that 
will be helpful. 

Hank
On 10/5/06, greg h <[EMAIL PROTECTED]> wrote:
Varun,

Congratulations on getting your remoting configuration working with Flash 8.  
Getting it working Flex 2 likely will be pretty straightforward from here.

I currently am not using Java as backend on my Flex 2 apps.  But I do think the 
following article might walk you through the remaining steps:
    Automatically generating code for Flex 2 data access
    http://www.adobe.com/devnet/flex/articles/daoflex.html

The article focuses on using Flex 2 with RemoteObject against Java backends.  
The article is very tightly written and includes downloadable code.

And best of all, the article is a how-to for using DAOFlex, an open-source tool 
that generates Flex and Java code for you :-)

hth,

g

On 10/5/06, Varun Shetty <[EMAIL PROTECTED] > wrote:
Hi,

I do not have a CF server, I have installed OpenAMF on Tomcat server.
With flash 8 I have been able to connect to the server and get the data.

Data is coming from a Java call which would load return an array of date 
and values, that I am using to generate a chart custom built by me.

Currently I am trying a POC to generate the chart in flex using the same
call. I am a newbie with Flex, and I have managed to learn the builder 
tools. But I have failed to understand or find any running example to
connect to a Remoting service.

Any example to the code would be helpful.
Also what all calls should I use, then I can use the flex help to 
understand it more.


Thank you,
Regards,
VARUN SHETTY

 


--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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