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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...problem with using flash object in my dnn siteproblem with using flash object in my dnn site
Previous
 
Next
New Post
3/24/2011 12:44 PM
 
hi
to display swf files in my site, i'm using this basic html tag :

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="100">
                <param name="movie" value="banner.swf" />
                <param name="quality" value="high" />
                <embed src="banner.swf" pluginspage="http://www.macromedia.com/go/getflashplayer"  type="application/x-shockwave-flash" width="400" height="100"></embed>
    </object>

it works for basic html file or asp.net app, but when i add this tag within page.ascx it only display the white area!
can anybody help me does something wrong (i'm using artisteer skin)?
thanks in advance
 
New Post
3/24/2011 6:25 PM
 
Unless banner.swf is located in the root folder of the DotNetNuke installation, you will need to include its root folder relative path when setting the movie and src parameters. Where is banner.swf located in the file system?

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/24/2011 8:07 PM
 
Thanks wiliam
i've tested out this via relative path. for example, i copied my swf to the same folder which page.ascx exists, but also it does not works.
 
New Post
3/26/2011 2:26 AM
 
Make sure you can reach your swf file using http://whathever.com/somefolder/yourfile.swf and just use that full url (including http://).

You code up there looks fine, I am almost sure it's just a problem of giving it the right url. If that file was uploaded in a portal then it must be in "/Portals/PortalID/SomeFolder/YourFlash.swf or semething along those lines. A relative path in DotNetNuke refers to the root folder and not the Portal folder.

On a sidenote, I would add if that flash gets anywhere close to some popup menu or anything using z-index to prevent them from being hidden by the flash. I only tell you that because I have spent countless hours trying to find the reason for it back then ;) If you flash is not set to transparent, then it is always on top of everything, regardless of z-index.


 
New Post
3/26/2011 8:26 AM
 
Hi again
yes, my problem was solved. i've used absolute path to my swf file and now it works!
thanks
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...problem with using flash object in my dnn siteproblem with using flash object in my dnn site


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