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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to