Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to display a flash swf file in a moduleHow to display a flash swf file in a module
Previous
 
Next
New Post
1/16/2007 7:39 PM
 
Hi,
    I am relatively new to DNN and have been searching for how to embed a flash swf file within my own module. I have tried to follow the advice given on similar topics but still have been unable to get it to work. It seemed obvious to paste the code between the <object> tags from the published flash html code into the view module control and also to put the swf file within the same folder. I have done this but I just get a blank area of the size specified within the code. Could anyone please give clear details of what I need to do?

Thanks,
Phil Stevenson

Note: the code I have been using is:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="700" height="500" id="webfolio" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="webfolio.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="webfolio.swf" quality="high" bgcolor="#ffffff" width="700" height="500" name="webfolio" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
 
New Post
1/16/2007 8:24 PM
 

Hi Phil, 

Here is how I got it to work.

<div id="comercial">    
    <!--[if !IE]> -->
    <object type="application/x-shockwave-flash" data="mini_commercial.swf" width="114" height="81">
    <!-- <![endif]-->
   
    <!--[if IE]>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="114" height="81"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">
     <param name="movie" value="mini_commercial.swf" />
    <!--><!---->
     <param name="loop" value="true" />
     <param name="menu" value="false" />
     <param name="quality" value="high" />
     <p>This is <strong>alternative</strong> content.</p>
    </object>
    <!-- <![endif]-->
</div>

It works for both IE and FireFox.

John

 
New Post
1/17/2007 6:36 AM
 
John,
    Thanks for the reply. I had already tried using this code from an earlier post but can't get it to work for IE or firefox - it still just displays a blank area. The only changes I made to the code were the swf name and the width and height so I can't see where I am going wrong.

Phil
 
New Post
1/17/2007 7:49 AM
 
If you are usign this code in the HTML editor, don't switch back to normal view. simply update the module.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
1/17/2007 8:03 AM
 
Have you checked that the mime type of swf is enabled for your web server ?
This had me going in circles for a few hours.

Ian

Mutate and Survive
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to display a flash swf file in a moduleHow to display a flash swf file in a module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out