<?xml version='1.0' encoding='UTF-8'?><uidget><metadata><name>Flash</name><description>Add a Flash animation</description><help>
			Flash is commonly used to create animations, various web page content, or to integrate video into web pages.&lt;br&gt; Files in the SWF format, traditionally called &quot;Flash movies&quot; or &quot;Flash games&quot;, usually have a .swf file extension.
		</help><size height='150' width='150' /><blog en='71' fr='70' /></metadata><view><content></content><properties><flash_selector default='{url:&apos;/swf/default.swf&apos;,name:&apos;default.swf&apos;,id:-1}' default_action='true' help='Upload and select the .swf file you want to insert on the page.' icon='folder' name='swfFile' title='Animation' /><checkbox default='true' help='While resizing, constraint the width or height of the animation to keep the aspect ratio.' name='aspectRatio' value='Aspect ratio' /><checkbox default='false' help='Display a loading animation image while the SWF file is being downloaded. Please note that this solution is not ideal: if the SWF file contains transparency, the loading animation can still be visible below your flash content. The best solution is to include a preloader frame in your .FLA file before generating your SWF file.' name='loading' value='Loading...' /><hidden default='1.0' name='aspectRatio_v' /></properties></view><script>UI_List.UI_Flash={initialize:function(a){this.component=a;
a.setOptions([&quot;locked&quot;])
},loadDefault:function(){},onDisplay:function(a){this.swf=$(&quot;&lt;div class=&apos;uiflash_swf &quot;+(this.component.data.loading?&quot;uiflash_swf_loading&quot;:&quot;&quot;)+&quot;&apos;&gt;&quot;+sprintf(&quot;&lt;p&gt;This block requires the Flash plugin. If the plugin is already installed, click %1$shere%2$s.&lt;/p&gt;&quot;,&quot;&lt;a href=&apos;?detectflash=false&apos;&gt;&quot;,&quot;&lt;/a&gt;&quot;)+&quot;&lt;/div&gt;&quot;).appendTo(a);
this.drawFlash();
this.img=$(&quot;&lt;div class=&apos;uiflash_img&apos;&gt;&amp;nbsp;&lt;/div&gt;&quot;).width(this.component.W()).height(this.component.H()).appendTo(a).hide();
if(this.component.data.aspectRatio){this.component.setAspectRatio(this.component.data.aspectRatio_v)
}},drawFlash:function(){this.swf_id=this.swf.setFlash(this.component.data.swfFile,this.component.W(),this.component.H())
},onPropertyChanged:function(a){if(a.include(&quot;swfFile&quot;)){this.drawFlash();
this.img.width(this.component.W()).height(this.component.H());
var b=this;
$(&quot;#&quot;+this.swf_id).sizeload(function(c,e){b.component.data.aspectRatio_v=e/c;
if(b.component.data.aspectRatio){b.component.setAspectRatio(b.component.data.aspectRatio_v)
}for(var f in v.device_modes){if(f==v.device_modes[f]){b.component.setXYZWH({w:c,h:e},{device:f})
}}})
}if(a.include(&quot;aspectRatio&quot;)){if(this.component.data.aspectRatio&amp;&amp;this.component.data.aspectRatio_v){this.component.setAspectRatio(this.component.data.aspectRatio_v)
}else{this.component.setAspectRatio(null)
}}},onSelect:function(){},onDeselect:function(){},advancedProperties:function(){},onZIndexChanged:function(){},onRotateStart:function(){this.img.show();
this.swf.hide()
},onRotateStop:function(){this.img.hide();
this.swf.show()
},onMoveStart:function(){this.img.show();
this.swf.hide()
},onMove:function(){},onMoveStop:function(){this.swf.show();
this.img.hide()
},onResizeStart:function(){this.img.show();
this.swf.hide()
},onResize:function(){this.img.width(this.component.W()).height(this.component.H())
},onResizeStop:function(){this.drawFlash();
this.img.width(this.component.W()).height(this.component.H());
this.swf.show();
this.img.hide()
}};</script><style>.uiflash_swf{height:100%}
.uiflash_swf_loading{background:transparent url(/assets/loading/66x66.gif) no-repeat center center}
.uiflash_img{background:#C00 url(/swf/img.jpg) repeat top left;filter:alpha(opacity=40);-moz-opacity:.4;opacity:.4}</style></uidget>