RE: One of the parameters is invalid while loading a module

2013-11-19 Thread Devesh Mishra
Hi, I think, this issue was coming because of different implementation of StyleManager in Flex 3 4. So finally I got something and its working for me. Now no need to use compiler argument. I have written one this piece of code after getting ready event call i.e.

Re: One of the parameters is invalid while loading a module

2013-11-14 Thread Darrell Loverin
From what I see _popUpWindow is not on the display list when _moduleLoader.loadModule() is called. Therefore _moduleLoader is also not on the display list. On Thu, Nov 14, 2013 at 1:07 AM, Devesh Mishra devesh.mis...@mastek.comwrote: Hi Darrel, I have also tried with ModuleManager, but

RE: One of the parameters is invalid while loading a module

2013-11-13 Thread Devesh Mishra
Hi, Thanks Alex to inform us. I am adding my same code below. // Sample Code Start package com { import mx.core.IFlexDisplayObject; import mx.events.CloseEvent; import mx.events.ModuleEvent; import mx.managers.PopUpManager; import mx.modules.ModuleLoader;

RE: One of the parameters is invalid while loading a module

2013-11-12 Thread Devesh Mishra
Hi Darrel, Good to listen from you. I have attached my action script sample class file in this email. Hope it'll give you a more clarification. Here are my explanation regarding your queries. 1) I have written PopUpManager.centerPopUp() on ready event, because I want to display my popup only

RE: One of the parameters is invalid while loading a module

2013-11-11 Thread Devesh Mishra
Hi, I have lots of mxml modules (which is a combination of mxml spark controls) in my application and the way i am opening these mxml modules is common in a popup window. It's very strange to see that i am getting this error with only one module. This issue is not related to a specific

Re: One of the parameters is invalid while loading a module

2013-11-11 Thread Darrell Loverin
Setting -isolate-styles=false is not recommended when using Spark components. Verify that your calls to IModule.load() are being passed a module factory as the fourth parameter. -Darrell Loverin On Mon, Nov 11, 2013 at 3:15 AM, Devesh Mishra devesh.mis...@mastek.comwrote: Hi, I have lots

RE: One of the parameters is invalid while loading a module

2013-11-11 Thread Devesh Mishra
Hi Darrell, I am using a moduleloader to load module. You can find the code snippet below. I am using moduleLoader.loadModule() method, not using IModule.load() private function loadModule(moduleLoader:ModuleLoader):void { moduleLoader.unloadModule();

RE: One of the parameters is invalid while loading a module

2013-11-10 Thread Devesh Mishra
Hi, I have tried that suggestion which is given in forum and it's working for me. I am getting below error stack. Just want to validate whether given suggestion is valid or not. ArgumentError: Error #2004: One of the parameters is invalid. at flash.display::Graphics/drawRect()

Re: One of the parameters is invalid while loading a module

2013-11-10 Thread Alex Harui
Some folks on the forum said it worked for them. This error stack usually means an invalid value (usually NaN) is being passed to drawRect. But a breakpoint on PanelAccImpl and see if you can figure out why it is being passed a bad value. -Alex On 11/10/13 8:57 PM, Devesh Mishra

Re: One of the parameters is invalid while loading a module

2013-11-08 Thread Alex Harui
What is the error message and call stack? Did you try the workaround suggested in the forum thread? On 11/8/13 1:26 AM, Devesh Mishra devesh.mis...@mastek.com wrote: Hi, I am facing the same issue which has been reported in the given URL (http://forums.adobe.com/message/2783233) In this post,