I am trying to include an AS file in my mxml file that in a
library project. But it always gives me error like: “The
public attribute can only be used inside a package”. Actually
all my declarations in the AS file got similar error. But it has no
problem to include my AS file in Application project.