Using Flash in WCM

How do you install Flash into a Homepagecontent record?  Where do you put the flash files and what do you put into your webpart?

version15.1.2

thanks,

Jonathan

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Iframe solution

You can do this like;

<div class="asi-HomepageContentArea3"><iframe height="256" src="/public/home/public/flash.swf" width="456"></iframe></div>

or you can acutally hard code the swf in the template.

If you have multiple sites as in above there is a public site. You will have to fully qualify the swf path, since the content cannot find the swf always, because of the url rewriter.

I would place the swf in the secondary sites folder (i.e. public) and any needed support files for the flash incase you are using xml to pull images and text data to display.

Have you also tried to turn on the flash manager in the WCM editor? You can use a simple flash here, simply upload it via the document or image manager, and use the flash tool in the editor.

Broc

Broc, I was unaware that the

Broc,

I was unaware that the you could use the image manager.  I've enabled the document manager, but it has it's issues, i.e. menu doesn't enable in order to use, unless you know it's been updated??

 

Anyway, I'll try your suggestions.  I may have more questions but thanks again!

 

Jonathan

You can turn on the flash

You can turn on the flash manager in the Telerik Editor and do it directly from HTMLContent. See if this helps:

 

http://www.imiscommunity.com/adding_flash_files_with_external_references_does_not_work_within_wcm#comment-7780

 

I had an issue with the DocumentManager. It's not configured right. There is a file that you will have to modify to get it working. Refer to the following if you want to get it working:

http://www.imiscommunity.com/wcm_performance

 

 

Thanks,

Andie

 

 

do I put my .swf and

do I put my .swf and supporting files in C:\Program Files\ASI\iMIS15\net\TAHC?  TAHC being the name of the website.....

I put all my files in

I put all my files in C:\Program Files\ASI\iMIS15\net\TAHC\TEST, and my code is below, however, I get a page not found.  Can you tell me what might be the trouble?

 

Here is the code I have in the html editor:

<iframe height="140" src="/TAHC/TEST/EPCOR-Home-ads2.swf" width="415"></iframe>

 

I removed the div class as I was getting a name property error. 

Hi You can add the following

Hi

You can add the following code (based on wcm template version 1503)  to render swf files into your home page. You can't use iframe element to render swf files this needs an additional plugins, plugin versions may vary for diffrent browsers..

swf path constructed based on the theam slected from your website settings then follows image folder. you can change image to swf to normalise the folder structure

<%= "/imis15/App_Themes/" + Page.Theme + "/Images/" + "example.swf"%>"

<div class="homepage_ca_3 homepage_ca_3_style" style="float:left;">

<%-- <asiweb:ContentTemplateArea id="HomePageContentArea3" templateareaname="HomepageContentArea3" runat="server" />--%> 

<embed id="detectionExample" height="200" align="middle" width="550" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" allowscriptaccess="sameDomain" name="detectionExample" bgcolor="#FFFFFF" quality="high" src="<%= "/imis15/App_Themes/" + Page.Theme + "/Images/" + "example.swf"%>"/> 

</div>

 Balaji

 

 

 

Balaji, so, do I put my .swf

Balaji,

so, do I put my .swf into the net/app-themes/TAHC folder?  Please tell me where to put my files...

 

thanks,

J

Hi, Create a new folder

Hi,

Create a new folder called SWF under TAHC folder. then copy your file to swf folder. then set source to

src="<%= "/imis15/App_Themes/" + Page.Theme + "/SWF/" + "example.swf"%>

Hope this helps

Thanks

would the SWF file be in

would the SWF file be in the TAHC folder under Net/app_themes/TAHC or Net/TAHC?  I've almost got it, just need to clarify the path..

 

thx

Here's what I have in my

Here's what I have in my contenthtml web part:

 

<!--"/imis15/net/App_Themes/" + Page.Theme + "/SWF/" + "EPCOR-Home-ads2.swf-->
<div style="float: left;" class="homepage_ca_3 homepage_ca_3_style"><!-- <asiweb:ContentTemplateArea id="HomePageContentArea3" templateareaname="HomepageContentArea3" runat="server" />---><embed id="detectionExample" height="140" name="detectionExample" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="415" src="&lt;%= " allowscriptaccess="sameDomain" bgcolor="#FFFFFF" quality="high" /> </div>

 

I get a box with an icon in the top-left hand corner.

 

????

j


 

Flash file to display

 <div style="float: left;" class="homepage_ca_3 homepage_ca_3_style">
    <embed id="detectionExample" height="140" name="detectionExample"
    type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"
    width="415" src="<%= Asi.Business.ContentManagement.NavigationHierarchy.GetTildeExpansion().TrimEnd('/') + "App_Themes/" + Page.Theme %>/swf/EPCOR-Home-ads2.swf" allowscriptaccess="sameDomain" bgcolor="#FFFFFF" quality="high" />
    </div>

you have to specify the correct width and height also you may need to adjust css styles to adjust positions to show correctly on to your home page.

swf folder must be created under app_theams/<site_name>/swf folder.

Thanks