So I am trying out Flex 4 and started so by creating a basic class that extends the spark.components.Application class.
public class SimpleApp extends Application
public function SimpleApp():void
It compiles time but at runtime I am getting this error:
Are you trying to use an .as file as the main application file? I'm not
sure that is supported. You may have to use MXML
K so I just setup a simple mxml file for it