Can't resolve 'WindowedApplication'
-
25-06-2021 - |
Question
This is my sample code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" paddingBottom="0"
paddingLeft="0" paddingRight="0" paddingTop="0"/>
I am getting below error:
Can't resolve 'WindowedApplication'. Found at line 2 column 4.
I am using FDT 5 with flex_sdk_4.6 set up.
Can any one please help.
Solution
You're missing the Flex Framework on your classpath.
You need a Project Type that includes the Flex Framework. You probably forgot to check the button 'Use Flex Framework' (pic below).
To change project type:
Right click your project and go to Flash Project>Set Project Type:
Choose Air Flex:
To choose Flex at project creation:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow