6 Replies Latest reply on Aug 24, 2010 10:03 AM by kglad

    Unable to import xml into my CS4 project

    volterony22

      Hi folks,

       

      I am trying to embed a 3rd party flash component into my current flash project.  As a stand alone, the component works fine but when I try and import the xml file for the component into my current flash project library, the message I get:

       

      " one or more files were not imported because there were problems reading them"!!!

       

      I have tried importing the xml file into another dummy cs4 project on another machine and again no success, so I believe there are elements within the xml file that will not work with cs4.  Below is the xml file code.  I would appreciate if anyone can spot anything wrong with this file as to why it wont import into flash.  Even try and import it yourself and see what I mean.

       

      Hope someone can help.

       

      Regards

      Volterony22

       

      <?xml version="1.0" encoding="UTF-8"?>

       

      <!--

       

      There are 9 positions available :

       

      1. TL: top-left

      2. TC: top-center

      3. TR: top-right

       

      4. ML: middle-left

      5. MC: middle-center

      6. MR: middle-right

       

      7. BL: bottom-left

      8. BC: bottom-center

      9. BR: bottom-right

       

       

      If you set randomizePositions to true, it will overwrite the values you pass for each item

       

       

      startZoom: the zoom value to start with

      endZoon: the zoom value to end with

       

      transitionTime: the time for the slide to reach from property A to property B

      slideShowTime: the time the slide stays on screen

       

       

       

       

      disablePauseButton: it needs to be set to true if you want to have links on the slideshow

       

       

      -->

       

       

      <!--

      NOTE: The transition time must be higher than the slideshow time for each item! (make sure the difference is at least alphaTime value)

        The reason is so the zoom effect doesn't end before the transition does.

      -->

       

       

      <kenburns width = "1000" height = "348"

      backgroundColor = "0x000000"

      backgroundTransparency = "0"

       

      startWith = "1"

      randomSlideshow = "true"

      loop = "true"

       

      randomizeImagePosition = "false"

      alphaTime = "2"

       

      textX = "10"

      textY = "10"

       

      overColor = "0x000000"

      overAlpha = "20"

       

      disablePauseButton = "true">

       

      <!--

      <item>

      <title><![CDATA[<font size="16" color="#ffffff">Sand beach in the morning</font>]]></title>

      <path>content/images/image1.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>12</transitionTime>

      <slideShowTime>8</slideShowTime>

       

      <startZoom>80</startZoom>

      <endZoom>100</endZoom>

       

      <startPosition>MC</startPosition>

      <endPosition>MC</endPosition>

      </item>

       

       

      <item>

      <title></title>

      <path>content/images/image2.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>25</transitionTime>

      <slideShowTime>22</slideShowTime>

       

      <startZoom>100</startZoom>

      <endZoom>55</endZoom>

       

      <startPosition>MC</startPosition>

      <endPosition>MC</endPosition>

      </item>

       

       

      <item>

      <title><![CDATA[<font size="18" color="#ffffff">Waves and wind</font>]]></title>

      <path>content/images/image3.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>27</transitionTime>

      <slideShowTime>20</slideShowTime>

       

      <startZoom>70</startZoom>

      <endZoom>100</endZoom>

       

      <startPosition>TC</startPosition>

      <endPosition>BC</endPosition>

      </item>

       

       

      <item>

      <title><![CDATA[<font size="18" color="#224F91">No words needed..</font>]]></title>

      <path>content/images/image4.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>12</transitionTime>

      <slideShowTime>9</slideShowTime>

       

      <startZoom>80</startZoom>

      <endZoom>80</endZoom>

       

      <startPosition>BL</startPosition>

      <endPosition>TR</endPosition>

      </item>

       

       

      <item>

      <title></title>

      <path>content/images/image5.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>35</transitionTime>

      <slideShowTime>32</slideShowTime>

       

      <startZoom>55</startZoom>

      <endZoom>100</endZoom>

       

      <startPosition>BC</startPosition>

      <endPosition>TC</endPosition>

      </item>

      -->

       

      <item>

      <title></title>

      <path>content/images/image6.jpg</path>

      <link>http://www.flabell.com</link>

      <target>_blank</target>

       

      <transitionTime>10</transitionTime>

      <slideShowTime>8</slideShowTime>

       

      <startZoom>40</startZoom>

      <endZoom>35</endZoom>

       

      <startPosition>ML</startPosition>

      <endPosition>MR</endPosition>

      </item>

       

       

      <item>

      <title></title>

      <path>content/images/image7.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>20</transitionTime>

      <slideShowTime>8</slideShowTime>

       

      <startZoom>70</startZoom>

      <endZoom>55</endZoom>

       

      <startPosition>MR</startPosition>

      <endPosition>ML</endPosition>

      </item>

       

       

      <item>

      <title></title>

      <path>content/images/image3.jpg</path>

      <link></link>

      <target>_blank</target>

       

      <transitionTime>20</transitionTime>

      <slideShowTime>8</slideShowTime>

       

      <startZoom>50</startZoom>

      <endZoom>60</endZoom>

       

      <startPosition>ML</startPosition>

      <endPosition>MR</endPosition>

      </item>

       

       

      </kenburns>