我想嵌入一个需要指定闪存变量的swf。我如何在flex中执行此操作。请看下面我如何嵌入我的瑞士法郎。谢谢。
[Embed ("includes/motion_guide.swf" )]
private var swfClass:Class;
var ll:LatLng = new LatLng(-27.99, 26.57);
this.myPoint = new Poi(ll);
this.myPoint.rolloverAndInfoTitleText = "Click Me";
var myIcon:ImageMapIcon = new ImageMapIcon();
myIcon.setImageURL("path",30,30);
this.myPoint.icon = myIcon;
this.myPoint.infoContent = (new swfClass());
this.myMap.addShape(myPoint);