I made a (albeit small) break through in my struggles to master Flex 2 development. Tom and I have been working together (meaning he’s been giving me lots of pointers on ActionScript syntax) over the last 3 days or so on getting my app to talk to the login web service I wrote. Today it did. The whole login process went smoothly. Tomorrow hopefully registration will take little time at all and I can start on the real meat of the application.
I found some useful info on how to work with web services in ActionScript in Flex 2.
userWS = new WebService();
userWS.loadWSDL("http://localhost:8101/cfusion/dtmc/components/user.cfc?wsdl");
userWS.useProxy = false;
userWS.addEventListener("result", wsLoginResult);
userWS.addEventListener("fault", wsLoginFault);
var op:AbstractOperation;
op = userWS['tmcUserExists'];
var args:Object = new Object();
args.DataSource = "timeDSN";
args.UserLogin = loginValue;
args.UserPassword = passwordValue;
op.arguments = args;
op.send();
The nice thing is you can have multiple methods, and each can define a result/fault handler pair specific to that methods purpose, which helps a lot.
Categories
Archives
Tags
360Flex 360|Flex Camp Adobe Adobe Flex Adobe MAX Apple Argent BlogCFC Books Brightkite Business ColdFusion community Conferences Defrag Denver DTMC eBooks EffectiveUI Flex Flex Development Google Google Android government Harvest Ignite Denver IP iPad iPhone iTunes Kindle Mac Macbook Microsoft Obama politics Social Media Steve Jobs Technology Television Twitter Wordpress Work Writing YojimboWhat I'm Doing...
- @defrag @iotashan I was trying to think of a good reply, but that was way better than what I woulda come up with LOL in reply to defrag 13 hrs ago
- @leifwells Yeah I really enjoyed Blackest night like that in reply to leifwells 13 hrs ago
- @leifwells the first pic was it being printed :) 3D printing FTW in reply to leifwells 13 hrs ago
- More updates...

