I want to create an AIR project in Flex. I tried a lot of combinations, but I couldn't get the flash.system.Worker found in Flash Builder. I'm assuming that I'm not using the right Flex/AIR SDK/Namespace declaration combo. I have both Flash Builder 4.6 and 4.7 beta, tried Apache Flex SDK with the 'downloader', downloaded AIR SDK from labs (3.5) and release (3.4) as well (not 100% sure how to install it, but I've overrided it to the current flex sdk folder..) I want to see the Builder recognise the built in Worker class (the code below shouldn't throw error), and use it. I've found samples for Flash Player, but I need it for AIR.
import flash.system.Worker;
...
var w:Worker;
testproject-app.xml: is the xmlns correct?
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/3.5">
testproject.mxml: is the xmlns correct?
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">