Please Help: Login Problem in Flash 8

First of all hi to everybody. I am new not only in flash 8 but also in this forum. I designed a login screen with the guide of

http://www.kirupa.com/developer/actionscript/authentication.htm

Moreover I prepared movieclips when the user entered the correct user name and password.

When I export the movie in flash 6 or flash7, the login process completed successfully and I can’t see the movieclips are playing. On the other hand, when I export the movieclip with flash 8, i can not entered to the system, i.e. i saw “wrong username and password” screen even if both were correct.

//---------------------------------
stop();
userinput.restrict=“a-zA-Z0-9”;
Selection.setFocus(userinput);
passinput.restrict=“a-zA-Z0-9”;
status=“Message”;
this.onEnterFrame = function () {
if(_root.checklog == 1){
_root.gotoAndPlay(55);
}
if(_root.checklog == 2){
_root.gotoAndStop(81);
}
}
//----------------------------

I thought that flash8 could not run this code. Am I right or is there any other thing I did not know?
Any help will be appreciated. Thank you.

Semirhan