AS+frames. Need a lil help

I have an idea, now I only need to write it with AS:)

if ( my_mc_.current_frame_is == 2)
{expression}

Couldn’t find anything for this, maybe somebody knows?