0

我想嵌入一个需要指定一些闪存变量的 swf。我如何在 flex 中做到这一点。请参阅下面我如何嵌入我的 swf。谢谢你。

 [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); 
4

0 回答 0