Duplicate movie clip issue in AS3

Hi,

Can anybody tell me what is going on with flash AS?

Now, I cannot use duplicateMoiveClip() function in AS3, earlier it was working fine with AS2. Now, when I am using same code in AS3 it is giving error.

Any help would be appreciated.