My top-level mxml file looks like this:
<?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"
       xmlns:loc="location.*"
       xmlns:ch="choices.*"
       xmlns:step="script_step.*"
       pageTitle="Gasper Heights"
       height="600"
       weight="800"
       backgroundColor="#FFFFFF">
...
</s:WindowedApplication>

When I go to compile it, I get the error message:
compile:
    [mxmlc] Loading configuration file
C:\barry\bin\flex\sdks\4.6.0\frameworks\flex-config.xml
    [mxmlc] C:\dn\inprogress\GHen\flex\GHen\src\GHen.mxml: Error: Unable to
locate specified base class 'spark.components.WindowedApplication' for
component class 'GHen'.
    [mxmlc]

What's up with that?  When I look in the API reference,
spark.components.WindowedApplication is there.

Do I need to change my build file to use amxmlc instead of mxmlc?

Perhaps more generally, is there a reason to use AIR and/or a reason _not_
to use AIR?  If I have a .swf file on my disk and double-click it, the
Windows Shell opens it in my brower-of-choice, so I don't see exactly what
AIR is for. Or, contrariwise, any disadvantage to building the application
for AIR (at least for debugging).

Comments?



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Missing-WindowedApplication-tp5021.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to