well its 1 line in flex (compared to 6) and thats not what i was originally replying back to, the comment was made
*I'm going to wait until Longhorn. I just don't feel that flash applications are worth the time it takes to make it work right. It's still much simpler to use DHTML components that Flash Components.* 1) how in gods green earth is longhorn gunna make it simpler or more "worth it?" 2) while flex compiles to swf, its not the same thing as flash, so i am assuming the writer hasnt even tried it yet 3) maybe im missing something with dhtml but i dont think its easier than flex so why doesnt someone good with dhtml give us an estimate on how much code it would take to make the simple flex store the idea with flex is to make something simple, powerful, flexable and quick to make, dhtml really isnt simple, powerful or quick to make ---------------------------------------- From: Rob <[EMAIL PROTECTED]> Sent: Saturday, February 12, 2005 12:05 AM To: CF-Talk <[email protected]> Subject: Re: Flex On Fri, 11 Feb 2005 21:51:35 -0500, dave wrote: > well im sure html can too using java or anything else for that matter. > are you saying that its easier with dhtml & JavaScript then with flex? > > ---------------------------------------- > From: Dave Watts > Sent: Friday, February 11, 2005 9:43 PM > To: CF-Talk > Subject: RE: Flex > > > Lcant recall dhtml being able to consume web services either. > > Actually, you can use web services from DHTML using JavaScript. It's pretty easy - 6 lines of code (could be less too) //get a connection factory so we can make connections httpFactory = new HTTPConnectFactory(); //create our play connection httpcon = httpFactory.getInstance(); //our remote object creation factory roFactory = new RemoteObjectFactory(); roFactory.setAsync(true); //pass in a connection object and the service we would //like to use roFactory.createObject( httpcon, "http://www.rohanclan.com/products/neuromancer/chatdemo.cfc" ); robject = roFactory.getObject(); that unmarshals a coldfusion web serivce into a javascript object, and will then handle translations of methods for you (so like robject.getNumber() will call the cfc method getNumber) http://www.rohanclan.com/products/neuromancer/chatdemo2.cfm http://www.rohanclan.com/products/neuromancer I hear flex is cool and powerful though I havent tried it. I just don't want any misinformation about das-javascript. Cheers, Rob -- ~Blog~ http://www.robrohan.com ~The cfml plug-in for eclipse~ http://cfeclipse.tigris.org ~open source xslt IDE~ http://treebeard.sourceforge.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194416 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

