Skip navigation
Currently Being Moderated

SWC buttons not working in a Flash Builder 4.7 ActionScript Project

Jun 24, 2013 2:40 PM

Howdy,

 

I have this BIG issue. Every button in my swc causes issues when compilling in Flash Builder 4.7. Two things will happen, one or the other:

 

1. I get this error in the class that extends a linked library item:

Error #1107: The ABC data is corrupt, attempt to read out of bounds.

 

2. The swf compiles with no errors but all buttons display the wrong art.

 

Both problems go away when I remove the buttons.

 

I found this article:

http://inflagrantedelicto.memoryspiral.com/2012/12/flash-builder-4-7-u seflashsdk/

 

I tried this solution but it did not work.

 

This problem occurs with all my projects. I'm creating SWCs via Flash Pro, and using them in a Flash Builder ActionScript Project.

 

Does anyone have any solutions?

 

Thanks!

 
Replies
  • Currently Being Moderated
    Jun 24, 2013 10:20 PM   in reply to DJ Gecko

    Did you see the "use legacy compiler" option?  I would recommend finding a way to use the "older" compiler.

     

    One way to do that may be to switch to the Apache Flex SDK.  It might cause FB to use the older compiler by default.

     

    Another option is to try the Ant builder options.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2013 4:44 PM   in reply to DJ Gecko

    File a bug against Flex at issues.apache.org/jira and attach a simple project that can reproduce the problem, and attach the SWC as well.

     

    -Alex

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2013 8:47 PM   in reply to DJ Gecko

    You can try filing a bug with Adobe, but I probably won't see it.  My responsibilities are with Apache Flex, not Adobe Flex, and as such, I'm more interested in what problems you had trying to get the SWC working with Apache Flex.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points