Failed to bind SWC file

I am trying to link the as3corelib library with their JSON functionality following this tutorial . But I am having trouble compiling it. My command looks like this:

mxmlc --strict = true -library-path + = as3corelib.swc --file-specs myapp.mxml

But I am getting this error:

_divided_mx_managers_SystemManager.as (13): col: 14 Error: Interface method getVisibleApplicationRect in namespace mx.managers: ISystemManager not implemented by
class _divided_mx_managers_SystemManager.

public class _divided_mx_managers_SystemManager

What is the problem?

Update: Is this because I am using Flex 3? The tutorial appears to be for Flex 2. If so, what do I need to do for Flex 3?

+1


source to share


4 answers


I found an older version of the library bundled with some tutorial that worked. Filed a bug report to as3corelib, of course I'm not really sure how reliable the bug is.



+1


source


If you are using Flex Builder 3, you can simply take the swc file and place it in the libs directory. This will automatically add it to your classpath and you can use it from now on. You may need to do a clean draft afterwards to make sure it accepts it.



+1


source


I faced a similar issue in Flex Builder 4. I had to put the as3corelib sources in the source code for it to work fine.

+1


source


Are you using flex gubmo sdk? It looks like the method he is complaining about is in an interface that is part of Gumbo. If so, then as3corelib probably won't work with it.

0


source







All Articles