Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Flex 4 - PHP strange sequence of executing commands?
- protected function button2_clickHandler(event:MouseEvent):void
- {
- var create_new_user:Users= new Users();
- Alert.show("1");
- create_new_user.username=username_create.text;
- Alert.show("2");
- create_new_user.password=MD5.hash(password_create.text);
- Alert.show("3");
- verificationResult.token = usersService2.verification(create_new_user);
- Alert.show("4");
- var verificationInt:int = verificationResult.lastResult as int;
- Alert.show("5");
- //Alert.show("Verification as "+ verificationInt,"Verification Notification");
- Alert.show("6");
- if (verificationInt==0)
- {
- Alert.show("if 0");
- //Alert.show("Account Created , you may now login...","Account Manager");
- createUsersResult4.token = usersService2.createUsers(create_new_user);
- }
- else
- {
- //Alert.show("if else");
- Alert.show("Username already existed , please choose another","Username verification");
- }
- }
Add Comment
Please, Sign In to add comment