Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: Error #1065: Variable ModuleLoader is not defined. #10

Open
GoogleCodeExporter opened this issue Feb 24, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Unzipped and Loaded following file in the flexbuilder 
tool-PanosaldoSource.zip
2. Compile and  run the following mxml -layout_7.swf
3. During the run time it shows the error(Please see the snapshot of it in the 
attached file-
    ReferenceError: Error #1065: Variable ModuleLoader is not defined.
4. In the debug mode it is pointing to the following file-
       PanoSaladoApplication.as
and the function is-

private function stageReady(e:Event=null):void
        { 
            //BroadcastEvent = ApplicationDomain.currentDomain.getDefinition("zephyr.BroadcastEvent") as Class;
            //var ModuleLoader:Class;

            ModuleLoader = ApplicationDomain.currentDomain.getDefinition("ModuleLoader") as Class;

            moduleLoader = ModuleLoader( parent.parent );

            moduleLoader.addEventListener(BroadcastEvent.ALL_LAYERS_LOADED, layersReady, false, 0, true);

            moduleLoader.addEventListener(BroadcastEvent.SHOW_TOOLTIP, toolTipHandler, false, 0, true);
            moduleLoader.addEventListener(BroadcastEvent.HIDE_TOOLTIP, toolTipHandler, false, 0, true);

            stage.addEventListener(Event.RESIZE, onResize, false, 0, true);

            stage.addEventListener(Event.FULLSCREEN, onResize, false, 0, true);

            onResize();

            layersReady();

            initStyleSheets();

            initContextMenuItems();
        }

What is the expected output? What do you see instead?

It should load the page required.

What version of the product are you using? On what operating system?
Windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 May 2011 at 9:46

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant