as2 to as3 target movie clip

Hi

I’m switching to as3 (well trying to!)

so in old language I have a movie clip on the stage and I use

this.my_mc.gotoAndStop(“1”);

How do I reproduce this in as3?

Would be very grateful for some help or any good tutorials people can recommend for making the transition to as3. Thanks.

no, it suddenly worked for some reason :slight_smile:

Cheers!

AS3 Migration Cookbook

thanks, your absolutely right. Something else is tripping it up some imported class files I think…

i am chinese.I am lenrning as2.0 .

Are you getting a compile error?

You can still use
my_mc.gotoAndStop(1);