Re: Accessing non-visual module

2015-09-12 Thread Alex Harui
Using a class in the loading SWF defeats the purpose of modules as the class will be linked into the loading SWF as well as the module. So if dataLoader is a class and not an interface, you must define an interface to use to communicate. I don’t know why the properties are null though. -Alex On

Re: Running flex modules from html shell

2015-09-12 Thread Dave Glasser
> > a module is not an application and cannot run without one. That's true, At minimum, you'll need a shell application that loads and displays the modules. You can reload the shell app each time the module changes, and pass the module parameter into it through flashvars. The browser caching wou

Accessing non-visual module

2015-09-12 Thread mark goldin
I am creating mx applications that all would share some common data. I am thinking to make a mx:Module to be a loader for that data. I have designed one and here is my code: private var info:IModuleInfo; info = ModuleManager.getModule("dataLoader.swf"); info.addEventListener(ModuleEvent.READY, mod

Creating deferred components

2015-09-12 Thread mark goldin
I am using creationPolicy="none" in my test application to delay component creation. Just for testing I am running swf file from FB without any wrapper. But all I get is a progress bar saying "Initializing". Am I approaching it wrongly? Thanks