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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaConfiguring for flash to access xml data file?Configuring for flash to access xml data file?
Previous
 
Next
New Post
4/17/2010 2:58 PM
 
hello all ! i trying to add flash to dotnetnuke application for three days but with no success at all. i download flash that contains : .swf file, content.xml, and folder with images. i located all the files in /DesktopModules/CI_MainPage/Files/ ( the images folder is in /DesktopModules/CI_MainPage/Files/Images/ ) and try this code : the result is i see the flash but with no images at all, like i run the .swf file with no content.xml file in the same folder... i think that the flash doesn't get the xml file, how should i pass the xml file ? in html it all works fine... thank you all... damty
 
New Post
4/18/2010 10:04 AM
 

Hi damty

I am not an expert but have you tried using the html module and the sort of code that I listed above? Perhaps you can list the code you are using here?

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
4/18/2010 2:08 PM
 
hi Geoffrey ! first of all thank you for your answer and your time. the below code is relavent to two flash i tried to enter. i use the code : and also this one :
FLASH Should Be Visible Here
and also this one :
the same result : i see the flash because the backgound of the flash when it upload is black and also gray, but i don't see the images at all. i also try to take another flash image-scroller with xml - the same result. did i mentioned that all works fine in html ? i will mention that if i take flash that don't get data from html then all works fine. and i also try to use the html editor the sam result. here is the code at the html file : thank you, damty
 
New Post
4/18/2010 2:23 PM
 

 

hello !

first of all thank you for your answer, and for your time.

i tried the html module and i got the same result - i see the flash is uploading but i don;t see any images at all ( i distinguish that the flash uploading because it have black-gray background and i saw the same background with the images when i run the flash from windows and not from the site ). i also mentioned that in html the flash is working, i also try to use your code from above - but i got the same result. in the code below i tried to run two flash - in both i got the sam result.

here is the code that i used :


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="300" data="content.xml"

xcodebase="http://download.macromedia.com/pub/sh...">

<param name="Movie" value="/DesktopModules/CI_MainPage/Files/preview.swf?param=/DesktopModules/CI_MainPage/Files/content.xml" />

<param name="Quality" value="high" />

<param name="wmode" value="transparent" />

<param name="allowFullScreen" value="true" />

<param name="scale" value="noscale" />

<param name="salign" value="tl" />

<param name="bgcolor" value="#336699" />

<param name="flashvars" value="urlForXML=/DesktopModules/CI_MainPage/Files/content.xml" />

<embed src="/DesktopModules/CI_MainPage/Files/preview.swf?param=/DesktopModules/CI_MainPage/Files/content.xml"

width="600" height="300"

quality="high" wmode="transparent" allowfullscreen="true"

type="application/x-shockwave-flash" scale="noscale" salign="tl" bgcolor="#336699"

pluginspage="http://www.macromedia.com/go/getflash...">

</embed>

</object>

 

i also use this code :

<asp:UpdatePanel ID="updpnlPatientBodyParts" runat="server" UpdateMode="Conditional">

<ContentTemplate>

<asp:Panel ID="MyPanel" runat="server">

<div id="ScrollerDiv">

<a href="http://www.adobe.com/go/getflashplayer">

</a>

FLASH Should Be Visible Here

</div>

</asp:Panel>

<script src="/DesktopModules/CI_MainPage/swfobject.js" type="text/javascript"></script>

<script type="text/javascript">

var flashvars = {};

var params = {};

var attributes = {};

flashvars.settingsXML = "settings.xml";

flashvars.imagesXML = "images.xml";

params.scale = "noscale";

params.salign = "tl";

params.wmode = "transparent";

//attributes.id = "myytplayer"

swfobject.embedSWF("imagescroller.swf", "ScrollerDiv", "600", "300", "9.0.0", false, flashvars, params, attributes);

</script>

</ContentTemplate>

</asp:UpdatePanel>

 


and also this code :

<asp:UpdatePanel ID="UpdatePanel1" runat="server">

<ContentTemplate>

<ASPNetFlash:Flash ID="Flash2" runat="server" DataSourceID="XmlDataSource3"

WindowMode="Transparent" width="600" Height="300" PlayerVersion="9"

PlayerVersionAutoDetect="False" ScaleMode="NoScale" Alignment="Center"

AllowScriptAccess="always" MovieURL="/DesktopModules/CI_MainPage/Files/preview.swf" >

<HTMLAlternativeTemplate>

<asp:ImageButton ID="ImageButtonGetFlashPlayer" runat="server" PostBackUrl="http://www.adobe.com/go/getflashplayer" ImageUrl="http://www.aspnetflash.com/images/get..." />

</HTMLAlternativeTemplate>

</ASPNetFlash:Flash>

<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="/DesktopModules/CI_MainPage/settings.xml">

</asp:XmlDataSource>

<asp:XmlDataSource ID="XmlDataSource2" runat="server" DataFile="/DesktopModules/CI_MainPage/images.xml">

</asp:XmlDataSource>

<asp:XmlDataSource ID="XmlDataSource3" runat="server" DataFile="/DesktopModules/CI_MainPage/Files/content.xml">

</asp:XmlDataSource>

<br />

</ContentTemplate>

</asp:UpdatePanel>


thank you,

damty
 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsMediaMediaConfiguring for flash to access xml data file?Configuring for flash to access xml data file?


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