Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8562837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:49:08+00:00 2026-06-11T16:49:08+00:00

I have created a picture slide show flash and put into a C# website

  • 0

I have created a picture slide show flash and put into a C# website project.

Here is my xml file

<?xml version="1.0" encoding="UTF-8" ?>
<flash_parameters copyright="socusoftFSMTheme">
    <preferences>
        <global>
            <basic_property movieWidth="484" movieHeight="402" html_title="Title" loadStyle="Bar" startAutoPlay="true" continuum="true" socusoftMenu="false" backgroundColor="0x002780" hideAdobeMenu="false" photoDynamicShow="true" enableURL="false" transitionArray=""/>
            <title_property showTitle="true" photoTitleColor="0x000080" backgroundColor="0xffffff" alpha="50" autoHide="true"/>
            <music_property path="" stream="true" loop="true"/>
            <photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/>
            <properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
        </global>
        <thumbnail>
            <basic_property showPreview="true" backgroundColor="0x000000" backgroundAlpha="70" buttonColor="0xffffff" numberColor="0x000000" currentNumberColor="0xffffff"/>
        </thumbnail>
    </preferences>
    <album>
        <slide jpegURL="ethumb/t_0001.jpg" d_URL="slides/p_0001.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" title="t-shirt" width="484" height="402"/>
        <slide jpegURL="ethumb/t_0002.jpg" d_URL="slides/p_0002.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2"  title="golf" width="484" height="402"/>
        <slide jpegURL="ethumb/t_0003.jpg" d_URL="slides/p_0003.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2"  title="ball" width="484" height="402"/>
        <slide jpegURL="ethumb/t_0004.jpg" d_URL="slides/p_0004.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2"  title="shoe" width="484" height="402"/>
        <slide jpegURL="ethumb/t_0005.jpg" d_URL="slides/p_0005.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2"  title="apu" width="484" height="402"/>
</album>

And the code i paste in my asp website

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="704" height="402" id="tech">
          <param name="movie" value="flash home.swf?xml_path=home.xml" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <object type="application/x-shockwave-flash" data="flash home.swf?xml_path=home.xml" width="704" height="402">
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
          </object>
        </object>

So, i want to allow user to insert a new “<“slide”>” into xml file between <“album”> <“/album”>.

Any help would be appreciate.

Sorry for my poor English.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:49:10+00:00Added an answer on June 11, 2026 at 4:49 pm

    Do you want this XML to be saved on your server, or just let the user temporarily add things to the local XML that was loaded into his .swf file?

    If you want to save it on the server, you’ll need to add some sort of functionality to your website (or Flash file) that will let the user upload an image (or link to an image, doesn’t matter). You’ll need to add a element to your XML file and the embedded Flash object will need to reload it after it received a response from the server.

    If you want just to let the user fiddle with his local copy of the XML, Flash provides libraries to work with XML Data. Check this link.

    EDIT: Here is an example of how to add an element to an XML.

    // Load your XML into an XmlDocument
    XmlDocument doc = new XmlDocument();
    doc.Load("your file.xml");
    
    // Create a new element and add attributes
    XmlElement newElem = doc.CreateElement("slide");
    newElem.SetAttribute("jpegURL", "ethumb/t_0001.jpg");
    newElem.SetAttribute("d_URL", "ethumb/t_0001.jpg");
    // etc...
    
    // Add the new slide to your album element
    doc.DocumentElement["album"].AppendChild(newElem);
    
    // Save the file to your filesystem
    doc.PreserveWhitespace = true;
    XmlTextWriter wrtr = new XmlTextWriter("your file.xml", Encoding.Unicode);
    doc.WriteTo(wrtr);
    wrtr.Close();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an array square(40) as picturebox. I have to assign 40 picture
I am a little stuck. I have created almost everything in the picture below.
I have a graph created with MS Chart like the following picture. As you
I have a table created like this: CREATE TABLE rh857_omf.picture(MeasNr TINYINT UNSIGNED, ExperimentNr TINYINT
Take a look at the picture. I have created 3 lists. The items in
I have created a QWidget with a bunch of QToolButtons in it and I
I have created 3 classes as following Ext.mine.TextParent - Inherting from Textfield Ext.mine.child.TextChildA -
I have created some JQuery that will expand a div 'popup' on hover and
I have created a JSP / servlets application running in Tomcat 7. It runs
I have created an EDMX in visual studio 2010 SP1. It has been built

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.