# ArgumentError:Error #2012?

**URL:** <https://forum.kirupa.com/t/argumenterror-error-2012/258411>\
**Category:** Uncategorized\
**Created:** [April 23, 2008, 7:16pm UTC](https://forum.kirupa.com/t/argumenterror-error-2012/258411 "2008-04-23T19:16:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ibanez271](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@Ibanez271](https://forum.kirupa.com/u/Ibanez271)\
**Post date:** [April 23, 2008, 7:16pm UTC](https://forum.kirupa.com/t/argumenterror-error-2012/258411/1 "2008-04-23T19:16:52Z")

</div>

I have written an actionscript 3.0 application that uses a custom package I wrote. When I try to run the .swf file and have a try catch block on the point of declaring my custom class object, I get outputted a ArgumentError:Error #2012. I searched for this and it seems the errors is The class cannot be instantiated. This error only happens when I am running my .swf though the Flash Player 9 on Solaris 10 using Mozilla Firefox and not on Windows using IE . Does anyone know how to fix this? The .fla file does know where my custom .as file is, so it doesn’t seem to be a problem with it finding the file. Thanks
