嵌入具有flex参数的swf

时间:2013-05-10 12:21:46

标签: flex parameters flash embed

我想嵌入一个需要指定闪存变量的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); 

0 个答案:

没有答案