Access methods/properties of embedded swf

Sorry if I am just being stupid…

import flash.display.MovieClip;

[Embed(source = 'embed.swf')]
var MainGame:Class;

var m:MovieClip= new MainGame;
addChild(m);

m.poo();

ReferenceError: Error #1069: Property poo not found on embed1_fla.MainTimeline_MainGame and there is no default value.
at embed1_fla::MainTimeline/frame1()

(embed1_fla is is trying to embed the swf named embed.swf)