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 02: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 06: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 06: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 09: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 09: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:9008
Avatar

--
2010-03-17 09: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:130
Avatar

--
2010-03-25 02: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: iPhone website logo in DNN root directory by JohnnieD
I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
iPhone website logo in DNN root directory by JohnnieD
I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
RE: Fixed size container by Joseph Craig
Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
Fixed size container by Aggiedan97
I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
RE: DNN 6.1 app_offline.htm by Joseph Craig
If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
RE: DNN site automatically redirects to a different domain name. by Joseph Craig
Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
DNN 6.1 app_offline.htm by Dave Hassall
Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
RE: DNN site automatically redirects to a different domain name. by imran shaikh
Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
Enforce Terms Tutorial Update by Vistalogix Corporation
I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
RE: Best Practices for Modifying a Custom Module by Joseph Craig
Start up the development website, then install the module using the package that you have. Then, yo
Best Practices for Modifying a Custom Module by schilders
Good Morning, I'm needing to modify a custom built module created by another developer targeted f
RE: Admin menu problem by alireza arabiyan
hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
RE: Admin menu problem by Joseph Craig
Yes, that is what you should have done. What is the URL for your home page? What is the URL for
RE: Admin menu problem by alireza arabiyan
hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
RE: Admin menu problem by Joseph Craig
How did you move it? Have you added an entry in the portalalias table for the site's domain name?
RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
Set up a user with dbo privileges and set the connection string for that user, rather than using Win
Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
Admin menu problem by alireza arabiyan
hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config procedure
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds