Here is a link to another article describing how to connect Flex 2 to an 
AMF0 back-end implementation. I found it particularly helpful. You can 
ignore the back-end AMFPHP part of the article, and just use your 
OpenAMF backend, which I have used succesfully as well.

http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html

Also, I highly recommend getting yourself a robust Flash remoting 
debugging tool. This will allow you to easily see what Remoting calls 
(and all other HTTP traffic) that are going over the wires.

http://www.xk72.com/charles/

Cheers,
-Daniel

p.s. to clarify, FDS does provide Flash Remoting capabilities as well. I 
prefer it to OpenAMF as its better documented and more cleanly 
implemented. The issue with it is that it is not free if you are 
creating a multi-CPU application.




hank williams wrote:
>
> I found the link to renaun's website with the remoteObjectAMF0 tool:
>
> http://renaun.com/blog/?p=31 <http://renaun.com/blog/?p=31>
>
> Hope this helps,
>
> Regards
> Hank
>
> On 10/6/06, Varun Shetty <[EMAIL PROTECTED] 
> <mailto:varun.shetty%40mphasis.com>> wrote:
> > 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,
> > VARUNSHETTY
> >
> > ________________________________________
> > From: [email protected] 
> <mailto:flexcoders%40yahoogroups.com> 
> [mailto:[email protected] 
> <mailto:flexcoders%40yahoogroups.com>] On Behalf Of hank williams
> > Sent: Friday, October 06, 2006 3:20 AM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> > 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] 
> <mailto:flexsavvy%40gmail.com>> 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 
> <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] 
> <mailto:varun.shetty%40mphasis.com> > 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 
> <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
> > Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> <http://www.mail-archive.com/flexcoders%40yahoogroups.com>
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>  



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