Hi,
Appologies again if I upset anyone, that wasn'y my intention, but at least I got *some* response, which is a good progress from my previous posts :)
Also, thanks to professorcw1, with the help of the sample code from his link I was able to compare what was different in my code.
Yes, I am using the <OBJECT> flash thing. However, DNN is not just a regular ASP.NET application since it does some magic on the background, including hiding what is the current folder location for my module (hiding it from me anyway).
The module I am writing right now is called JOIN and it allows access to unauthorized users (invitation for users to join the portal). On that module I want to display a flash called FILE.SWF - some presentation.
So the question is where do I put this flash?
I tried both locations: at the root directory and inside DesktopModules/JOIN
It didn't make a difference. So after few more tries I figured that the key is in this parameter:
<param name="movie" value="file.swf">
My assumption was that DNN will pickup file.swf from the current directory, right?
But what is the current directory?
The URL line looks something like this:
http://www.portal.com/dnn/Join/tabid/149/Default.aspx
but to actually make it work I had to change the above Param to:
<param name="movie" value="../../../file.swf">
another option that works is to specify the full URI:
<param name="movie" value="http://www.portal.com/dnn/file.swf">
I also wanted to related to some of the other comments mentioned here:
1. I have done and I ALWAYS do very extensive searches for answers *before* I post to the DNN forums, including DNN documentation, google, live.com, anything
2. When I said DNN is poorly documented, I meant the book I purchased which is a lot of cut-n-paste parts of the source code. Guys, the source code is available to me. I don't need to buy a book to read it again.
3. Having source code is wonderful, and it helped me many time during development. However, the modules source code is *not* available, like the media module.
Thanks again to everyone who contributed, and I hope the information here will help others on the way to success.
I will try to help as much as I can from what I learn, hopefully some of our prayers will reach the lords of DNN :)
Ofer