Hi JD
yes, flash and sitecore not palying nice is the source of great frustration
the one workaroud which is ugly, but gets the job done is
using
this in your html view
////////
inline[src="url://www.yourdomain.com/App_Media/yourSWFdirectory/slideshow.swf"
style="width: 550px; height: 420px; float: right;"]inline
///////
src - is uri to your swf file
style - up to you, you can add as many attributes as you want
make sure no spaces between beginning and ending //inline// and
brackets // [ ] //
make sure that both your .swf file and your xml file are in the same
directory/folder under /yourSWFdirectory, publish them both from media
and then publish your page.
it bugs me that it's a non-508 compliant iframe, in essence, but....
we had no choice
grrr
let me know if that helps out
cass
On Wed, Oct 22, 2008 at 2:08 AM, hifromjd <hifromjd@...> wrote:
> Hello Friends,
>
> I am trying to render flash added in media library in sitecore 6.0
>
> I am getting the item by parametes from one my rendering control as
> showen below.
>
> Item flashFileItem = Sitecore.Context.Database.Items[parameters
> ["src"]];
> MediaItem flashFile = (MediaItem)flashFileItem;
> Controls.Add(new LiteralControl("src=\"" +
> Sitecore.Resources.Media.MediaManager.GetMediaUrl((MediaItem)
> flashFileItem) + "\""));