Using modules in Flex 3 is a real pain in the back. While creating modules may be easy, but loading and unloading them is very difficult to manage. The best thing is to avoid using modules as much a possible.
There seems to be better way to handle modules in Flex 4 as you can see from this post http://www.tink.ws/blog/flex-4-modules/.
2 comments
Comments feed for this article
April 7, 2010 at 11:01 pm
Joel Caballero
Just because something is hard, doesn’t mean you shouldn’t use it.
I’ll agree that finding those memory leaks can be annoying sometimes, but if you stick to good programming habbits you’ll find that the pros far outweigh the cons. The pros being a significant reduction in module swf size. When building larger projects this is something you can’t avoid.
That being said, Flash Builder does help in finding those memory leaks a lot easier.
April 8, 2010 at 12:44 am
Mark Fuqua
You should really check out Potomac Framework. It is what modules should be… http://www.potomacframework.org .