Wednesday, July 20, 2011

Actionscript compile error - attempted access of inaccessible method through a reference with static type

If you are sure that the class and method that generated this error are all marked as public a simple publish settings change may help to fix the problem.  In the Publish Settings, select the Flash tab.  Then check the Export SWC option.  Then publish your SWF.  The error should be gone.

No comments:

Post a Comment