This content has been marked as final. Show 2 replies
Forgot to copy the error I get on my real app':
TypeError: Error #1009: Cannot access a property or method of a null object
at mx.managers::DragManager$/get isDragging()
at Function/ http://adobe.com/AS3/2006/builtin::apply()
Well I guess I'm kind of helping myself :-)
Googled it. Read:
"Component errors when using modules
So I've been creating a new site using Flex 2.0.1 and I've been using a lot
of modules in my design. However, when I added a COmboBox control to a
module, I started getting an error from some internal Flex Singleton Class
saying that some classes needed hadn't been loaded.
Well, I have my modules and my app setup using the new load-externs option
and thought that all the classess needed would be in my app swf. Apparently
not exactly... so all I did was in my root application I made a class that
has var of all the types of components I want to use in my modules. That
increased the size of my app swf file, which indicates to me that indeed,
some classes I needed in modules weren't in my app.
Recompile and run... and it works!"
For my specific project I just included a <mx:ComboBox visible="false"/>.
It's not clean but it will save me a few hours...