test.mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()" x="0" y="0" width="703" height="609" xmlns:ns1="*" >
<mx:Script>
<![CDATA[
import flash.events.*;
// stuff
private function onUncaughtError(e:UncaughtErrorEvent):void {
//Do Stuff
}
This gives: apitester.mxml 1046: Type was not found or was not a compile-time constant: UncaughtErrorEvent. /apitester/src line 35 Flex Problem
According to Adobe it is available in flex and Air.
The Flex 4/Eclipse build path shows:
Flex 4.0
- playerglobal.swc
- textLayout.swc
- osmf.swc
- framework.swc
- spark.swc
- sparkskins.swc
- rpc.swc
- datavisualisation.swc
- flash-integration.swc
- flex.swc
- utilities.swc
Any ideas?