Embedding an swf that has parameters in flex -
i embed swf needs flash vars specified. how do in flex. please see below how embedding swf. thank you.
[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);
Comments
Post a Comment