2 Replies Latest reply on Apr 12, 2008 12:36 AM by tony0000000

    using actionscript libraries from within html/js app

    tony0000000
      I'm trying to use a action script library from within a html/js app by following some of the instructions at

      http://livedocs.adobe.com/air/1/devappshtml/help.html?content=ProgrammingHTMLAndJavaScript _07.html

      heres what I've added to my code

      <script src="xmlsyndication.swc" type="application/x-shockwave-flash"></script>

      <script type="text/javascript">
      var feedObj =
      window.runtime.com.adobe.xml.syndication.generic.FeedFactory.getFeedByString(aStringContai ngXmlFeed);
      </script>

      This is causing an error but as I've never used a action script library in a html/js app before I'm unsure if I've added to the app correctly or I'm using the library methods incorrectly.

      Is this the correct way to add and call a static method in a action script library?