Friday, May 22, 2009

VerifyError: Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found.


If you are getting this error while working with flex...chances are that you are trying to create an Air application for the first time. You should run your Air application by simply pressing CTRL+F11. BTW: This is happening because your Flash Player is trying to run your Air app but it does not contain support for the Air libraries.


VerifyError: Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found.

at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/deferredNextFrame()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:299]
at mx.managers::SystemManager/preloader_initProgressHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2225]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\preloaders\Preloader.as:398]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

7 comments:

dolphin.blog said...

Double clicking the swf will launch the file in the flash player which
does not have the support for air specific classes. When you run using
ctrl + F11, flex builder launches the file using adl command.

You can package your swf file as .air file and then install it, if you
want to run by double clicking.

avi said...

hi!!!!!!!!
I tried to run my application (made in flex builder) with
CTRL+F11 but its not giving any output and displays same error in output window .

Lior Boord said...

Avi, what exactly are you getting on your screen?

Anonymous said...

From were we can get Air libraries to avoid script error.

Lior Boord said...

All you have to do is press CTRL+F11, the Air libraries are already there

CK Lee said...

If you still face the same error after follow the solution, ensure you have installed AIR SDK properly, e.g. How to overlay the Adobe AIR SDK for use with the Flex SDK

monire said...

Hi
I have the same problem, I got this error, I have done the instructions here: http://kb2.adobe.com/cps/495/cpsid_49532.html
but still the same error. do you have other solution?