Full Screen (like youtube) possible in AS2?

I’ve created a video player with all the basic controls. But I’m also looking to add full screen functionality like youtube. Is it possible to do it in AS2? I’ve heard there is a function in AS3 that was created for this task.