On Thursday, March 29, 2012 03:09:28 AM Gnome wrote:
> Hello, flash plugin in mnemosyne now actually works!
Nice!
> But I have not
> found no other way than to link to the *.swf using an direct path.
> Example: "file:///C:/Users/Gnome/AppData/Roaming/Mnemosyne/
> default.db_media/makePicture.swf"
Not really surprising, because the path expansion currently only happens for
video and sound.
It wouldn't be so hard to add support for a special flash tag to Mnemosyne,
e.g. <flash src="makePicture.swf">, which would then get expanded to the full
container when the card gets shown. That way, you don't have to see all this
ugly boiler plate code in your cards.
Can you verify that the following simpler container also works?
<div id="flashContent">
<object type="application/x-shockwave-flash"
data="makePicture.swf" width="600" height="500">
<param name="movie"
value="makePicture.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false"
/>
<param name="salign" value="" />
<param name="allowScriptAccess"
value="sameDomain" />
</object>
</div>
Also, If you omit the values for width and height, do you get sensible
defaults based on the contents of the actual flash file?
Peter
> Here is an default plugin container for flash, the .swf is linked to
> in two places:
>
> <div id="flashContent">
> <object
> classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
> width="600" height="500" id="makePicture" align="middle">
> <param name="movie" value="makePicture.swf" />
> <param name="quality" value="high" />
> <param name="bgcolor" value="#ffffff" />
> <param name="play" value="true" />
> <param name="loop" value="true" />
> <param name="wmode" value="window" />
> <param name="scale" value="showall" />
> <param name="menu" value="true" />
> <param name="devicefont" value="false" />
> <param name="salign" value="" />
> <param name="allowScriptAccess"
> value="sameDomain" />
> <!--[if !IE]>-->
> <object type="application/x-shockwave-flash"
> data="makePicture.swf" width="600" height="500">
> <param name="movie"
> value="makePicture.swf" />
> <param name="quality" value="high" />
> <param name="bgcolor" value="#ffffff" />
> <param name="play" value="true" />
> <param name="loop" value="true" />
> <param name="wmode" value="window" />
> <param name="scale" value="showall" />
> <param name="menu" value="true" />
> <param name="devicefont" value="false"
> />
> <param name="salign" value="" />
> <param name="allowScriptAccess"
> value="sameDomain" />
> <!--<![endif]-->
> <a
> href="http://www.adobe.com/go/getflash">
> <img
src="http://www.adobe.com/images/shared/download_buttons/
> get_flash_player.gif" alt="Get Adobe Flash player" />
> </a>
> <!--[if !IE]>-->
> </object>
> <!--<![endif]-->
> </object>
> </div>
--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: [email protected]
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mnemosyne-proj-users?hl=en.