Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-17-2012, 08:42 AM   PM User | #1
kdta91
New to the CF scene

 
Join Date: Jun 2012
Location: Philippines
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
kdta91 is an unknown quantity at this point
Question Skinnable Popup container close

Hi guys, I hope anybody can help me close my skinnable popup container. This is for a login form and my problem is it shows up even though I have successfully logged-in.

Here's the code:

public function btnLogin_clickHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
selectStmt.execute();
var result:SQLResult = selectStmt.getResult();
var i:int = 0;
for (i=0; i < result.data.length; i++) {
var row:Object = result.data[i];
if(txtUsername.text != row.userName || txtPassword.text != row.userPassword || txtUsername.text == "" || txtPassword.text == ""){
(new AlertMsg()).open(this, false);
}
else{ ----> if this is true the alert message still shows up.
navigator.pushView(views.HomeView);
}
}
}


Any response would be greatly appreciated. Thank you!
kdta91 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:15 PM.


Advertisement
Log in to turn off these ads.