1 Reply Latest reply on Oct 1, 2009 1:02 AM by afrobeard

    Help with error when including Actionscript library

    afrobeard Level 1

      Hi,

       

      I have air setup on my system and I threw in the following actionscript library from http://code.google.com/p/as3xls/

       

      I included it into into my html file:
      <script src="lib/core/library.swf" type="application/x-shockwave-flash"></script>

       

      and i'm using it in the following manner

       

      new runtime.com.as3xls.xls.ExcelFile();

       

      The thing is that it is registering with autocomplete in aptana studio, however when I run it either through aptana or through adl I get the following error:-

       

      Error: Could not find resource bundle collections

       

      I would be really grateful for any and all help that I may get.

       

      Thanks in advance.

       

      P.S. I'm attaching the sample project

        • 1. Re: Help with error when including Actionscript library
          afrobeard Level 1

          Apparently I beleive the root cause that it uses features from the flex builder sdk specifically mx.collections. I'm not really sure how to include them either into the swf or configure air in such a way that it can use them if they are included in the system somewhere.

           

          My intent is to use html/js with air primarily and use a couple of compiled as3 libraries to do a little heavy lifting here and there. The library I'm used is open source and some approach which might compile it in a way as to include the required dependencies would also be appreciated.

           

          The original library was an swc file that I extracted.

           

          Would be really grateful for some help in this regard. Thanks.