I'm trying to create an Application in pure Actionscript, by subclassing 
mx.core.Application, and when I run it I get:
   
  TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
 at 
mx.core::UIComponent/getStyle()[C:\dev\flex_201_ja\sdk\frameworks\mx\core\UIComponent.as:7095]
  ...etc.
   
  The source file is basically an empty shell, with nothing but a constructor 
that calls super(). I'm not adding any children or setting any properties. It's 
not in the top-level package, if that makes any difference.
   
  Is what I'm trying to do impossible, at least without adding some amount of 
setup code that is normally generated by the MXML preprocessor and isn't 
documented anywhere?

Reply via email to