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...Flash and XMLFlash and XML
Previous
 
Next
New Post
1/6/2009 1:29 PM
 

Ive seen a few posts but havent seen one that directly helps my situation.  I am posting a flash file to my site (http://67.199.98.159)  I used the DNN UI to embed the flash file. I can run this test to verify the file is working properly (http://67.199.98.159/Portals/0/PictureShow.swf)  It is.  Why wont it work within the html module?  Im sure this is a learning curve so please bare with me.  Some help please?  Thanks!

 
New Post
1/6/2009 2:34 PM
 

Flash "sees" paths relatively to the page it is on.

So while it's location might be /Portals/0, it uses the path in the address bar (of the page).

On the home page that is you domainname, but on subpages it will use

www.mysite.com/about/contact/tabid/122/default.aspx, while these "folders" do not exist.

So if you reference test.xml it will look for:

www.mysite.com/about/contact/tabid/122/test.xml

This means you will have pass the actual path to the SWF somehow.

You can pass it to the flash movie (as a variable) from a module, there are some free Flash mosules, that allow you to pass a variable to the flash movie.

I mostly use the one from http://www.dignuke.com/ for this

 
New Post
1/6/2009 2:38 PM
 

Thanks Timo, I will check it out

 
New Post
1/25/2009 10:41 AM
 

Timo has the diagnosis and solution -- this will definitely work. The parameter is called "flashvars". I'm working on a web site at www.tsmaa-pa.com/new (note in a few weeks the /new will be /cms). The ICON buttons and the text buttons int he flash are driven by an XML file.

Here is what our HTML code looks like:

<object id="myFlashContent" width="930" height="500" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
      <param name="movie" value="/new/portals/0/tsmaa/flash/Karate9L.swf" />
      <param name="flashvars" value="urlForXML=/new/Portals/0/tsmaa/Flash/karate.xml" />
      <!--[if !IE]>-->
      <object width="930" height="500" type="application/x-shockwave-flash" data="/new/portals/0/tsmaa/flash/Karate9L.swf">
         <param name="flashvars" value="urlForXML=/new/Portals/0/tsmaa/Flash/karate.xml" />
      <!--<![endif]-->
            <a href="http://www.adobe.com/go/getflashplayer">
                <img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" />
            </a>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
</object>


Hal Dell - Managing Partner
ePodWorks.net, Inc.
DNN Web Hosting & Development
www.ePodWorks.net
Need Credit Card Processing in DNN with PayFLow PRO ?
Ask me how !
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Flash and XMLFlash and XML


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