Help with Classes

Hiya Im trying to make a video class so I can put in my src and video dimensions to load up a video …
I am wishing to implement this in the following way

import MyClass;
MyClass.makeVideo("myMovie.mov",400,300);

so with loads of syntax issues involving static functions dynamic classes - what the heck - im lost. I assumed the following would work >>>>

package{
public class MyClass extends MovieClip {
  public var source:String;
  public var width:uint;
  public var height:uint;
  public function MyClass():void
  {
    // nothing to init yet
  }
  public function makeVideo(url:String,w:uint,h:uint)
  {
    source = url;
    width = w;
    height = h;
    // go the vars do the vid stuff - etc etc
    addChild(vid);
  }
} // urmmm too many errors

Any class help out there?!