4 Replies Latest reply: Sep 26, 2011 6:15 AM by bemdesign RSS

    New to editing XML file could use some beginner help =)

    8bf Community Member

      Sorry if this ia little newbish but could use some help. Trying to edit a flash website the flash has a dead rollover links on the top of it.

      Want to remove the Sitemap,login and faqs rollover link on the top of it. The xml says:

       

      <content>

       

              <section name="settings">

              <item name="textSelectable">true</item>

              <item name="copyright"><![CDATA[<font color="#1d3043">GLASMARK 2011  <a href="asfunction:_root.more_click_func, privacyPolicy"><u>Privacy policy</u></a></font>]]></item>

              <item name="companyName">GLASMARK</item>

              <item name="slogan"><![CDATA[<b>IMPORTER POLISH GIFTS</b>]]></item>

              <item name="button1"><![CDATA[Sitemap]]></item>

              <item name="button2"><![CDATA[Login]]></item>

              <item name="button3"><![CDATA[FAQ&#8217;s]]></item>

              <item name="buttonback"><![CDATA[<b>&#60;&#60; <u>BACK TO PRODUCTS<u></b>]]></item>

              <image imageUrl="_logo.png" link="asfunction:link"/>

       

          </section>

       

       

      I see the xml file linking to the sitemap,login and faq. I want to remove them but I'm left with a undefined text replacing the rollovers and my main image logo with undefined as well. How do i remove the dead rollovers and just leave that space blank and not be left with undefined.What file/files do i edit and exactly what part do i remove so i can chop off these dead rollovers on top.

       

       

      Again thanks and sorry, yeah i need to read some more. If anyone h'd also appreciate it.

        • 1. Re: New to editing XML file could use some beginner help =)
          8bf Community Member

          Same person I was wondering if this is at the point of the xml or flash; and if flash does anyone know how to deactivate it in the flash script if thats the case.

           

          Yes i have alot to learn =)

          • 2. Re: New to editing XML file could use some beginner help =)
            bemdesign Community Member

            I think that to remove the sitemap, login and FAQ links, you'll need to remove the following from the XML file:

             

            <item name="button1"><![CDATA[Sitemap]]></item>

            <item name="button2"><![CDATA[Login]]></item>

            <item name="button3"><![CDATA[FAQ&#8217;s]]></item>

             

            I highly recommend you make a backup of the XML file first though before deleting these lines.

             

            If this doesn't fix the issue you're experiencing then the problem lies with how the Flash app has been programmed and you'd need the Flash source file and a good knowledge of Actionscript to be able to fix it.

            • 3. Re: New to editing XML file could use some beginner help =)
              8bf Community Member

              Removing that section leads to my logo image saying invalid and the rollover links i wanted removed replaced with invalid in their place instead of removed. Any help would be appreciated greatly

              • 4. Re: New to editing XML file could use some beginner help =)
                bemdesign Community Member

                As I said previously, if removing the section detailed in my previous reply doesn't work, the issue is likely with how the Flash file has been constructed and coded. You will need to access the source Flash file (.fla) and any associated Actionscript files and then figure out where in the code it requires these three buttons and remove such a requirement. Your best option would be to locate the original developer and have them make such changes (as they would be the most knowledgeable about how and why they programmed the Flash file the way they did).

                 

                If that's not possible, then your next best option (in my opinion) would be to redo the entire site and this time stay away from Flash and create your site and navigation using standard HTML and CSS.