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...Using Modules a...Using Modules a...Need Help with using Flash in HTML ModuleNeed Help with using Flash in HTML Module
Previous
 
Next
New Post
3/16/2010 3:17 PM
 

 Hi all -- thanks in advance for any help you can throw my way.

Hello members! I have a simple flash application that was written for an HTML page and i'm trying to figure out how to get it to work in DNN 5.x

There are 3 files and 1 file folder associated with my app. The 3 files are:

- AC_RunActiveContent.js

- Features.SWF

- Features.XML

The file folder is named 'IMAGES' and has 10 images in it.

The basic idea is a standard scrolling-type image gallery that scrolls the images in the IMAGES folder and hyperlinks off the image to some URL if clicked upon. I put all of the files and the IMAGES folder in my CUSTOMSKIN folder of my DNN Site. If i run a simple HTML page containing the flash (outside of DNN) from this directory it all works fine.

I cannot, however, seem to get it to work in DNN (using the HTML module). My flash program does appear in the HTML module however it doesn't seem to be able to get my images from the IMAGES folder. It's just sort of stuck and says 'loading next image' -- which it never loads the first one. Am I putting the files in the right place for them to be accessed correctly by DNN??

I reference the .JS file in the header of the appropriate skin.ascx file.

I use the Insert/Edit Flash feature of the HTML module and point to the Feature.SWF file.

Based on what i've provided, is something missing? Am i putting everything in the right place? Should i be using some other module to do this?Like i said, it works fine in a simple HTML page in the directory where all those components are.

Thank you for any direction.

 
New Post
3/16/2010 6:11 PM
 

Can you verify that your paths to the js and images folder are correct? Have you looked at using swf object to load the flash?

 
New Post
3/16/2010 6:29 PM
 

 This is the code that the HTML Insert/Edit Flash produces:

<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
src="/DNN_522_Tutorial/Portals/0/Skins/ConnectUnderGround2.0/features.swf"
width="400" height="260" play="true" loop="true" menu="true">
</embed>

I don't know how to do it the way you suggested. Can you talk me through?

 
New Post
3/17/2010 4:32 PM
 

 Wow, am i the only one who's trying to use Flash with XML and javascript??

Am i posting this in the wrong place?

Ok, where are the coin slots so i can pump some quarters in and buy some clues??????????????????

 
New Post
3/25/2010 9:26 AM
 
Nope you are not the only one =). i use this code in a TEXT/HTML-module

and include the AC_RunActiveContent.js in the default.aspx or the skin. There is some more JS from the FLASH generated html-page that you can paste in the TEXT/HTML module. As you probebly know this is for a flash version detection. And the last file. Be sure that you dont fall into a sandbox security issue in Flash. Shortly this means that the swf-file and the xml-file needs to be in the same domain. You can read more about the sandbox security in the Flash help.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Need Help with using Flash in HTML ModuleNeed Help with using Flash in HTML 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