Bitch-Who-Codes

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 🙁