Mega Code Archive
Embed a SWF file
package{
import flash.display.Sprite;
import flash.text.*;
public class Main extends Sprite{
public function Main(){
var txt:TextField = new TextField();
txt.htmlText = '
some text around our image';
addChild(txt);
}
}
}