No, that isn't how it is used at all. Put this code in your main timeline:
PHP Code:
_root.clicked false;
_root.onEnterFrame = function(){
    if(
_root.clicked){
        if(
button._currentframe == button._totalframes){
            
gotoAndPlay("Homepage"1);
        }
    }

And put this in your button:
PHP Code:
on(release){
    
_root.clicked true;

This is assuming your button is named button. Change the line:
PHP Code:
if(button._currentframe == button._totalframes){ 
So your button instance name is there instead of the word button. That code will work provided the blur is done with frames and not with AS.