You need to Register for free and Login to post a message in the forum.

Forum

Flash in the HTML Module
Last Post 2010-03-25 01:48 PM by WinXnet. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
robbitUser is Offline
Nuke Active Member
Nuke Active Member
Posts:21

--
2010-03-16 05:19 PM  
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. See Attached Source. 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 (outside of DNN) from this directory referencing the flash program, 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. I have sent the code separately to Lee@DNN but i was wondering if anyone could comment on perhaps am i putting the files in the right place for them to be accessed correctly by DNN. Also, here is the code that the DNN/HTML module creates when i Insert/Edit a flash file: And, i put this code in the relevant skin ascx file to reference the .js file: [script removed] The ConnectUnderGround2.0 is the name of the custom skin i am using and is the name of the folder i have installed my flash components. Any help by any one would be very, very welcome. I've included the source Flash for review.

131645241554.zip

robbitUser is Offline
Nuke Active Member
Nuke Active Member
Posts:21

--
2010-03-16 05:37 PM  
Wow, why does the forum format my question to make it basically unreadable?? I certainly did not type it in that way...


mcmantaUser is Offline
Nuker
Nuker
Posts:16

--
2010-03-16 08:02 PM  
I had the same problem before. I noticed I had some HTML tags from some error text I copied. I was able to remove it by clicking HTML tab at the bottom and removing the tabs.

With that said I have a similar issue and are curious to see the solution.


robbitUser is Offline
Nuke Active Member
Nuke Active Member
Posts:21

--
2010-03-16 08:07 PM  
OK, so i commented out my AC_RunActiveContent.js file and my HTML module runs the same -- telling me that the HTML module is not reading my .js file.

Where/Why/How do i get the HTML module to recognize my .js file?? I must not have it in the right place, or i need to reference it in some other file, but where? which one?

It doesn't seem to find it even when i reference the .js in the skin.ascx i am using for the test page i have the HTML module with my Flash in.



Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9315
Avatar

--
2010-03-17 08:41 PM  
I commented on another post you made. Here is some more.

You probably will be more successful if you place the images in a directory off of the portal's root directory using the File Manager. DotNetNuke modules generally don't know where the skin is located, but they do know where the portal's root is.

You didn't say where you put the .js files. I'd try placing them in the portal's directory tree, too, and then you'll need to refer to the files in a javascript reference in a script tag. You can usually do this by placing the script and javascript references in the header of the module that you are using. If you want it to appear in a very specific location, use Will Strohl's module to inject it into the skin (willstrohl.com).

You are probably going to have to fiddle a bit to get all of the paths correct. When I'm having trouble, I will specify absolute URLs to make sure that things are working, and then move toward relative URLs.

Learn to use the javascript debugging tools that come with IE and Chrome, or add Firebug to Firefox. This will greatly help your troubleshooting as you'll be able to set breakpoints and examine variable to see exactly what is happening.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
WinXnetUser is Offline
Nuke Master
Nuke Master
Posts:138
Avatar

--
2010-03-25 01:48 PM  
you will probably have to hard code location of the files in the flash file itself, like "Portals/0/flash/flash1.swf" etc. Since the pages are dynamic, this tends to work the best...

GeishaMX ^_^


http://www.winxnet.com Emerson Bruce - http://chayadigital.wordpress.com
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

RE: Active Forums vs. DNN 6.2 CE by Joseph Craig
I haven't really previewed it, but my understanding is that pretty much everything except the "Mail
RE: horizontal main and submenu items by Joseph Craig
If you could show a page as an example, that would help. Basically, you can put multiple menus on
Active Forums vs. DNN 6.2 CE by Aggiedan97
Active Forums will no longer be offered with the debut of DNN 6.2 which is promising to integrate Ac
Google Analytics Module by Aggiedan97
I'm in need of providing a GA module that displays GA charts, graphs, and reports internal to DNN si
RE: horizontal main and submenu items by Dan Glanton
I'm not sure. One of the tutorials show using 2 horizontal menus with one being the submenu. This do
RE: Different search icon for each portal by Joseph Craig
Are you using the same skin in each portal? If so, and assuming that you are using the SiteIconURL
Different search icon for each portal by Bill Swanson
How do I use a different search icon for each portal in dnn 6.1.4?
RE: horizontal main and submenu items by Joseph Craig
Do your requirements fit with any of the available templates?
RE: horizontal main and submenu items by Dan Glanton
I went ahead and upgraded to the DDR to make sure I have the best updated menu possible. What I woul
RE: DNN 6.2 by Joseph Craig
The release notes that came with the beta version of the software should indicate if the version can
RE: horizontal main and submenu items by Joseph Craig
Part of the answer will depend on the menu that you are using in your skin. I strongly recommend th
DNN 6.2 by Sameer
Hi All i am using dnn 6.2 beta version for my demo site i need to custmize the 4 modules in that
RE: Deploying dnn by Sameer
Thanks a lot so kind of you
RE: Unable to Create Skin Package by schilders
Joe, When I click the Edit icon next to the skin package on the Host Extensions page, I receive t
horizontal main and submenu items by Dan Glanton
I found a very good tutorial on horizontal main and subitems in DNN Creative, but what about if you
RE: Skin creation - Menu questoni by Joseph Craig
This has to do with the structure of the elements that make up the skin and the CSS. Most likely, y
Skin creation - Menu questoni by CDMeyer
I have a skin and when I add more menu items to the nav bar than can fit in one row of nav, the seco
RE: FCK Editor in DNN 6 by Pingle2009
Just to follow on from Joe's reply, the 'official' line seems to be that not only that the old FCK E
RE: Slice a Site by Dan Glanton
Thanks, I'll look into that when I get a chance.
RE: Creating structured page content by Stephen Bugden
Thankyou very much Joe, I will take a look at your suggestions.
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds