﻿<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Flash Player Container"
title_url="http://sites.google.com/site/annuairevin/"
height="350"
width="446"
scrolling="false"
directory_title="Flash Player Container"
description="Flash Container. A Google Gadget to incorporate a Flash Player within
Google Sites."
screenshot="http://winepic06.googlepages.com/gadget-flash_slideshow-screenshot.png"
thumbnail="http://winepic06.googlepages.com/gadget-flash_slideshow-thumb.png"
author="Philippe Chappuis"
author_email="philippe.chappuis+gadgetCSE@gmail.com"
author_affiliation="Google"
author_location="Rolle Switzerland"
author_link="http://philippe.chappuis.googlepages.com"
author_photo="http://winepic02.googlepages.com/gadget-author-photo.png"
author_aboutme="An Engineer who likes to develop for the Net and tastes wines"
author_quote="A chief is a man who assumes responsibility. He says &quot;I was

beaten&quot; he does not say &quot;My men were beaten&quot; - Antoine de

Saint-Exupery">

<Require feature="flash" />

</ModulePrefs>

<UserPref name="File" display_name="File (*.swf)"
required="true" default_value="http://philippe.chappuis.googlepages.com/BR01-92-Blue-150x137.swf" />

<UserPref name="FlashWidth" display_name="Width for Flash" required="true"
default_value="150" />

<UserPref name="FlashHeight" display_name="Height for Flash" required="true"
default_value="137" />

<Content type="html">
<![CDATA[

<style type="text/css">
body
{
padding: 0;
margin: 0;
background: transparent;
}

</style>

<div id="flashcontainer" style="text-align: center; "></div>

<script type="text/javascript">

// Global variables

var prefs = new _IG_Prefs(__MODULE_ID__);

var s_fil=_trim(prefs.getString("File"));

var s_fwi=_trim(prefs.getString("FlashWidth"));
var s_fhe=_trim(prefs.getString("FlashHeight"));


// Play .swf file
function displaySlide()
{

// Play .swf file.
_IG_EmbedFlash(s_fil, "flashcontainer", {
swf_version: 9,
id: "flashid",
wmode: "transparent",
allowfullscreen : "true",
scale: "showall",
width: s_fwi,
height: s_fhe
})
}



// When gadget first loads, display slide
_IG_RegisterOnloadHandler(displaySlide);

</script>
]]>
</Content>
</Module>