I am not sure how your system is setup, but if you can, use Remoting instead of webservices... remoting is much much faster and IMO, easier to work with.
On 3/21/07, Chad Gray <[EMAIL PROTECTED]> wrote:
Hi Clint, thanks for the response. I watch the silvafug training yesterday and i started with session 3 and I probably should have started with 1. http://www.silvafug.org/ They got into all of this event stuff and custom components. It seems very OO if you want to really start making some powerful applications. I have built my first app that talks to one of my CFC's via web service. It took me a while and some reading of the adobe help files to figure what to place in click and how .lastResult works. <mx:WebService id="myWebservice" wsdl="http://demo.dev/test.cfc?wsdl" useProxy="false"> <mx:operation name="echoString"> <mx:request> <input> {login.text} </input> </mx:request> </mx:operation> </mx:WebService> <mx:Button x="141" y="280" label="Button" click=" myWebservice.echoString.send()" /> <mx:TextArea id="source*"* width="356" height="201" text="{ myWebservice.echoString.lastResult}" x="10" y="10"/> <mx:TextInput x="101*"* y="229" id="login"/> If I have time today I want to start replacing one section of our CF based ERP system with a Flex/Apollo. It is how our employees clock in and out. They also log into jobs and log out with different labor types. I have to build the CFC first, but if I get stuck I will post here on the list. Thanks! Chad ------------------------------ *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Clint Tredway *Sent:* Tuesday, March 20, 2007 10:11 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] first impressions Honestly, to get started you dont need to know OO. You need to understand how Flex works. Its event based. Your code needs to respond to events that are triggered, ie button clicks, results being returned from the server, etc. I would be happy to help you get going as I use Flex/CF/SQL Server everyday. On 20 Mar 2007 18:50:54 -0700, *Chad** Gray* < [EMAIL PROTECTED]> wrote: Im a CF guy and mainly a spaghetti coding CF guy. CF gave me, the "non OO guy", the ability to write very complex programs that manipulated data in very complex ways since SQL is an easy language to learn and everything was very linear. Now my applications are hard to maintain, but easy to read and follows such a simple logic that any <html> guy could probably understand. They also deliver what the customer wants, and delivering what the customer wants is of course the number one objective. I step into Flex and the demo's make it look easy, but I try to start writing my own apps in flex and I am lost. Nothing is familiar like it is in CF where things start at the top of the page and work their way down then lead from point A to B. Maybe it is an old dog learning new tricks syndrome.... Can someone link me to good training on OO? I think this is the place that I need help. I need the basic... super basic lead into OO. Should I concentrate on java based training? -- http://indeegrumpee.spaces.live.com/
-- http://indeegrumpee.spaces.live.com/