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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...RE: Skin Issue with Flash ObjectRE: Skin Issue with Flash Object
Previous
 
Next
New Post
8/29/2008 2:00 AM
 

Sorry, It should be <%= SkinPath %>, have corrected it.

Because your flash block in skin html is very complicated, I think it's very difficult for me to understand it and do a proper modification. the thing you should understand is what is <%= SkinPath %>

let's say your website domian is www.MusicPlay.com and you have a MusicPlay skin under your Potals/_default/Skin/MusicPlay folder, you flash file is Potals/_default/Skin/MusicPlay/extdocs/auda.swf

Becuase DNN always runing under DNN website's root folder, that means if you want to refer to any resource, including flash, image, script, etc.  you should base on DNN website's root not the skin's folder.

So, if you want to refer to a flash in your skin, data="/extdocs/auda.swf"  is not right, you  should  write data="~/Potals/_default/Skin/MusicPlay/extdocs/auda.swf", but hardcode path in skin is not a good idea, DNN use <%= SkinPath %> solve the hardcode problem. <%= SkinPath %> will be automaticlly replace with "~/Potals/_default/Skin/MusicPlay", so, you just use data=<%= SkinPath %>"extdocs/auda.swf" to refer to the swf file.

You must use <%= SkinPath %> to correct every reference in you flash block, I notice there are many reference to mp3 files ,script files, etc. then you flash will run.

 

 

 
New Post
8/29/2008 10:54 AM
 

I managed to get my flash to run however now the image links in the param name aren't showing up which doesn't give me control over the player...

This is my aspx file:

 

 

 
<tr class="music_player"> 
 
<td height="24" background="<%= SkinPath %>mp3/xmini_display.jpg" class="music_player">
     
<script src="<%= SkinPath %>documents/AC_RunActiveContent.js" language="JavaScript" type="text/javascript"></script>
     
<script language="JavaScript" type="text/javascript">AC_FL_RunContent("minversion", "7,0,0,0", "allowScriptAccess", "sameDomain", "movie", "<%= SkinPath %>extdocs/auda", "quality", "high", "scale", "default", "src", "<%= SkinPath %>extdocs/auda", "width", "299", "height", "15", "FlashVars", 'mp3dir=mp3&amp;mp3list=WaveFronts.mp3&amp;skindir=mp3&amp;play=1,0,0,xmini_play.jpg,xmini_play.jpg,xmini_pause.jpg,xmini_pause.jpg,40,40,&amp;stop=1,32,0,xmini_stop.jpg,xmini_stop.jpg,40,40,&amp;prev=1,46,0,xmini_prev.jpg,xmini_prev.jpg,40,40,&amp;next=1,66,0,xmini_next.jpg,xmini_next.jpg,40,40,&amp;display=1,82,-5,xmini_display.jpg,000000,220,40,&amp;buffer=0,FFFFFF,&amp;back=1,xmini_back.jpg,&amp;title=0,20,7,mp3s,989898,&amp;hotspots=0&amp;autoload=0', "wmode", "opaque","loop","false");</script>
 
<div id="flash" class="music_player">
<noscript>
 
<object type="application/x-shockwave-flash" data="<%= SkinPath %>extdocs/auda.swf" width="299" height="15">
 
<param name=movie value="<%= SkinPath %>extdocs/auda.swf"><param name=FlashVars value='mp3dir=mp3&amp;mp3list=WaveFronts.mp3&amp;skindir=mp3&amp;play=1,0,0,xmini_play.jpg,xmini_play.jpg,xmini_pause.jpg,xmini_pause.jpg,40,40,&amp;stop=1,12,0,xmini_stop.jpg,xmini_stop.jpg,40,40,&amp;prev=1,24,0,xmini_prev.jpg,xmini_prev.jpg,40,40,&amp;next=1,42,0,xmini_next.jpg,xmini_next.jpg,40,40,&amp;display=1,60,-5,xmini_display.jpg,000000,220,40,&amp;buffer=0,FFFFFF,&amp;back=1,xmini_back.jpg,&amp;title=0,20,7,mp3s,989898,&amp;hotspots=0&amp;autoload=0'>
 
<param name=quality value=high><param name=scale value=default><param name=wmode value=opaque><param name=loop value=false></object>
</noscript>
 
</div>
 
 Notice the jpg images in the param name FlashVars?  They aren't loading.. http://dj.elementsofdance.ca <---website here

 
New Post
8/30/2008 1:40 AM
 

You should simple your job at first, such as just try to show a static falsh, then try to add paraments to it , then add javascipt.

The html block you've post is very complicated, it's very diffcult to say where is the problem. 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...RE: Skin Issue with Flash ObjectRE: Skin Issue with Flash Object


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