Currentframe Question

Hello all…

I have a movie clip which, when closed, should send you to a specific frame on the main timeline… I have used frame labels on the main timeline…

Here is a bit of my code so far:

Code:

if(_root._currentframe == (“farDef”)){
_root.gotoAndStop (“xfarDef”);
}

Can anyone offer any advice as to why this doesn’t work?

Cheers…

David