7 Replies Latest reply on Sep 18, 2009 11:03 AM by kglad

    xml file and flvplayback AS2

    jdwild Level 1

      I'm using the flvplayback component that came with Flash CS4.

      To use with an xml file, it indicates that all I need to do is to enter the name of the file in the contentPath, which I have done (videostest.xml)

      Both Flash file, html file and xml file are in the same directory, so the path name should be fine.

      When I go to view the file nothing displays. If I enter the name of the actual FLV file it works fine, but I need to use an xml file.

       

      XML file text follows:

       

      <?xml version="1.0" encoding="utf-8"?>
      <FlvPlayer>
              <item>
                  <file>WLA_Now_Fall_2008_Introduction.flv</file>
              </item>
      </FlvPlayer>

       

      I gave the component on the stage the instance name of FlvPlayer, but I don't think that matters.

      Do I need any other script on this page. Adobe knowledge center does not indicate to do so.

       

      TIA