« Hoppin on the Flex bandwagon | Main | Osama Bin Codin' »

Adding to the Flex Change list

Adding to the items that Jesse Warden and Darron Schall have posted about in regards to changes in the Flex beta/as - here's one i discovered today:

Previously you did this for web services:

var service:WebService=new WebService();
service.wsdl="http://www.mywebservice/services/getitBitch.cfc?wsdl";
service.addEventListener("load",onWSDLLoad);
service.fetchWSDL();

//----------------------------------------
NOW you need to do this:

import mx.rpc.soap.*;
import mx.rpc.soap.LoadEvent ;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent ;


var service:WebService=new WebService();
service.wsdl="http://www.mywebservice/services/getitBitch.cfc?wsdl";
service.addEventListener(LoadEvent.LOAD,onWSDLLoad);
service.addEventListener(FaultEvent.FAULT,onWSDLLoadFault);
service.loadWSDL();


////-------------------------------

The changes totally make sense, but it didn't stop me from nearly dropping a load in my pants when my application was broke :(

Posted by bitch at February 3, 2006 04:57 PM

Comments

I was hoping for a better finish then a load...perhaps, "but it didn't stop me from nearly wetting my panties..."

Posted by: jj at February 3, 2006 05:41 PM




Remember Me?