RE: [flexcoders] Re: Singletons and Modules - Application domain problem

2009-08-16 Thread Alex Harui
See the modules presentation on my blog.  You'll need to define the singleton 
or at least its interface and related types in the main app or a shared-code 
module.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Everson Alves
Sent: Saturday, August 15, 2009 9:47 PM
To: granit...@yahoogroups.com; flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Singletons and Modules - Application domain problem



I tried removing the option to optimize the module but the problem persists. 
Any idea?
On Sat, Aug 15, 2009 at 1:11 PM, Everson Alves 
jho...@eversonalves.com.brmailto:jho...@eversonalves.com.br wrote:
Hello guys,

I'm facing a weird problem. I'm working with flex Modules that are tide mxml 
components . Using ModuleManager to load the modules. If I load using 
moduleInfo.load(ApplicationDomain.currentDomain) it loads fine but as I want to 
use the module as independent sub applications and they use the same class 
definitions that doens't play nice with singletons (ModelLocator) . When 
loading using  moduleInfo.load() expecting that it uses it's own 
ApplicationDomain it loads, dispatches ModuleEvent.READY event but 
moduleEvent.module.factory.create() gives me null. I also tried 
moduleInfo.load(new ApplicationDomain(ApplicationDomain.currentDomain)) but 
this case dispatches a ModuleEvent.ERROR saying that file isn't a loadable 
module or something like that. An detail that might be important is that the 
module is marked to be optimized to my application in compilation.

thanks in advance.

--
Jhonny Everson



--
Jhonny Everson



RE: [flexcoders] Content area of a container.

2009-08-16 Thread Alex Harui
One way is to factor in viewMetrics

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Wesley Acheson
Sent: Saturday, August 15, 2009 2:21 PM
To: flexcoders
Subject: [flexcoders] Content area of a container.



How do I find the content area of a container?  For example a panel. This as 
far as I can tell is different to its height, width, explicitHeight, 
explicitWidth are all the height and width of the panel not of its content area.



[flexcoders] Re: Event Best Practices

2009-08-16 Thread jdizowat
It is a custom event and I did not override clone().

--- In flexcoders@yahoogroups.com, Magnus Lassi magnus.la...@... wrote:

 I don't see the event mentioned, is it a custom event you created or an
 event in the framework? If it's a custom event, did you override the clone
 function?
 
 On Fri, Aug 14, 2009 at 3:15 PM, jdizowat jasonharr...@... wrote:
 
 
 
  Thanks for all the help. I have exactly what you said, Jake. A little more
  info -
 
  I have the following:
 
  mx:app - event never gets here
  mx:customComponent - this tabcontainer handles it just fine
  mx:customComponent / - this is a popup titlewindow which dispatches the
  event
  /mx:customComponent
  /mx:app
 
  I dispatch the event from the popped-up titlewindow. I have bubbles=true.
  I'm sorry, I'm not understanding why the event isn't making it up to the
  application level. I even tried taking out the event listener on the next
  level up. What now? I know what I'm reading up on this weekend :)
 
   
 





Re: [flexcoders] Content area of a container.

2009-08-16 Thread Wesley Acheson
Thanks thats what I needed.

Looking at viewmetrics it says it factors the scrollbar if the policy is on.
Is there a way to factor the scrollbar if the scroll policy is auto?  This
is a subclass

On Sun, Aug 16, 2009 at 8:10 AM, Alex Harui aha...@adobe.com wrote:



  One way is to factor in viewMetrics



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Wesley Acheson
 *Sent:* Saturday, August 15, 2009 2:21 PM
 *To:* flexcoders
 *Subject:* [flexcoders] Content area of a container.





 How do I find the content area of a container?  For example a panel. This
 as far as I can tell is different to its height, width, explicitHeight,
 explicitWidth are all the height and width of the panel not of its content
 area.



 



Re: [flexcoders] Hierarchical Tree Data

2009-08-16 Thread Wesley Acheson
Yes I build an an object that nests all objects.  Usually I do it manually
rather then use an ORM.
Yes I send that entire structure to flex.

What I get depends on what the object was that I put in.  I'm not being
funny sometimes its nested ArrayCollections. Mostly I send an object
containing an array collection though.  I use named classes in remote class
as I find that easier.  (No casting once I get the object into flex).

Note Baz. - This is just what I do. Its not necessarily the best way.

On Sun, Aug 16, 2009 at 7:50 AM, Baz li...@thinkloop.com wrote:



 Hey Wesley, when does the hierarchy get setup? Do you use an orm that
 builds and nests all objects - then, I guess, send that entire strucutre off
 to flex through remote object (amf). What do you get in flex, a nested
 ArrayCollection of objects, with a nested ArrayCollection of objects,
 indefinitely until all levels are fulfilled?

 Cheers,
 Baz




 On Sat, Aug 15, 2009 at 2:23 PM, Wesley Acheson 
 wesley.ache...@gmail.comwrote:



 I usually do this at the server level.  I collect all my data from the
 database and then I put it into objects.  (I use java) Then I use Xstream to
 convert to XML if required.  However usually I just use a remote object and
 bypass the XML stage.

 Regards,
 Wesley Acheson


 On Fri, Aug 14, 2009 at 10:25 PM, Baz li...@thinkloop.com wrote:



 How do you generally handle generating hierarchical tree data from a
 database. Lets say I had a query that returned *Name, ID, ParentID*
 with an indefinite number of nest levels, and I wanted to turn that into a
 nice xml structure - do you usually peform that transofrmation at the DB
 layer, the app layer, or is there perhaps an easy Flex function that can
 take care of that?

 The ideal function would take the query and ask for the id and parentid
 properties to use to recurse through the query, i.e.
 generateNestedXMLFromFlatQuery(QueryData, ID_ColumnName,
 ParentID_columnName):XML;

 Thoughts?






 



Re: [flexcoders] Re: Singletons and Modules - Application domain problem

2009-08-16 Thread Everson Alves
I already had read it, about 2 years ago, right? It's very good. I read
again now to check if forgot something in these 2 years. I guess not;

Maybe I didn't explain correctly. In fact I want to have multiple Singleton,
that might sound weird but each module needs to run as an independent
application. I want to load more than once each module.

For example:

ModuleAModelLocator.getInstance.shoppingCart should differ from
ModuleAModelLocator.getInstance.shoppingCart loaded a second time in a
different ApplicationDomain. Is that possible?


On Sun, Aug 16, 2009 at 3:04 AM, Alex Harui aha...@adobe.com wrote:



  See the modules presentation on my blog.  You’ll need to define the
 singleton or at least its interface and related types in the main app or a
 shared-code module.



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Everson Alves
 *Sent:* Saturday, August 15, 2009 9:47 PM
 *To:* granit...@yahoogroups.com; flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Re: Singletons and Modules - Application domain
 problem





 I tried removing the option to optimize the module but the problem
 persists. Any idea?

 On Sat, Aug 15, 2009 at 1:11 PM, Everson Alves jho...@eversonalves.com.br
 wrote:

 Hello guys,

 I'm facing a weird problem. I'm working with flex Modules that are tide
 mxml components . Using ModuleManager to load the modules. If I load using
 moduleInfo.load(ApplicationDomain.currentDomain) it loads fine but as I want
 to use the module as independent sub applications and they use the same
 class definitions that doens't play nice with singletons (ModelLocator) .
 When loading using  moduleInfo.load() expecting that it uses it's own
 ApplicationDomain it loads, dispatches ModuleEvent.READY event but
 moduleEvent.module.factory.create() gives me null. I also tried
 moduleInfo.load(new ApplicationDomain(ApplicationDomain.currentDomain)) but
 this case dispatches a ModuleEvent.ERROR saying that file isn't a loadable
 module or something like that. An detail that might be important is that the
 module is marked to be optimized to my application in compilation.

 thanks in advance.

 --
 Jhonny Everson




 --
 Jhonny Everson



 




-- 
Jhonny Everson


Re: [flexcoders] Hierarchical Tree Data

2009-08-16 Thread Wesley Acheson
sorry I forgot what the first post was when I answered this.  Yes in this
case it will be nested arraycollections.

On Sun, Aug 16, 2009 at 7:50 AM, Baz li...@thinkloop.com wrote:



 Hey Wesley, when does the hierarchy get setup? Do you use an orm that
 builds and nests all objects - then, I guess, send that entire strucutre off
 to flex through remote object (amf). What do you get in flex, a nested
 ArrayCollection of objects, with a nested ArrayCollection of objects,
 indefinitely until all levels are fulfilled?

 Cheers,
 Baz




 On Sat, Aug 15, 2009 at 2:23 PM, Wesley Acheson 
 wesley.ache...@gmail.comwrote:



 I usually do this at the server level.  I collect all my data from the
 database and then I put it into objects.  (I use java) Then I use Xstream to
 convert to XML if required.  However usually I just use a remote object and
 bypass the XML stage.

 Regards,
 Wesley Acheson


 On Fri, Aug 14, 2009 at 10:25 PM, Baz li...@thinkloop.com wrote:



 How do you generally handle generating hierarchical tree data from a
 database. Lets say I had a query that returned *Name, ID, ParentID*
 with an indefinite number of nest levels, and I wanted to turn that into a
 nice xml structure - do you usually peform that transofrmation at the DB
 layer, the app layer, or is there perhaps an easy Flex function that can
 take care of that?

 The ideal function would take the query and ask for the id and parentid
 properties to use to recurse through the query, i.e.
 generateNestedXMLFromFlatQuery(QueryData, ID_ColumnName,
 ParentID_columnName):XML;

 Thoughts?






 



[flexcoders] Re: ameature question but am desperate

2009-08-16 Thread stinasius
am using access database?



[flexcoders] change event for Text and Label Component

2009-08-16 Thread farid wl
Hi guysanyone knows how add Change Event for Text and Label in flex 3.I bind 
the text propery to model and everytime the value of it changed by model ,the 
Text or Label component triger event but  in present 2 components  have not 
this Event.
How should i do ,pls Help me to solve this problem.
BRFarid Valipour


  

[flexcoders] Re: What is the best material to learn Flex 3 and AS3?

2009-08-16 Thread Michael Portuesi
Adobe also offers another video tutorial series, hosted by Doug Winnie:

http://www.adobe.dougwinnie.com/actionscript-11/

This series provides an introduction to ActionScript, and Doug is an excellent 
teacher.  Episode 13 covers all the addlistener stuff.

Michael Portuesi

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Start with the Adobe Flex in a Week video training at 
 http://www.adobe.com/devnet/flex/videotraining/
 
 
 
 --- In flexcoders@yahoogroups.com, fred44455 fred44455@ wrote:
 
  I got 2 books , one Flex 3 cookbook and it seems to difficult to follow.
  I purchased Actionscript 3(Lynda.com) video with Joel Lott and that seems 
  hard to follow as well.All that addlistener  dispatcher seems pure Hebrew 
  to me. I only did a little bit of html in my life so maybe Flex 3 is too 
  much for me? Any suggestions that you may have that could help me learn 
  Flex 3?
 





Re: [flexcoders] Re: Event Best Practices

2009-08-16 Thread Magnus Lassi
that may be why you doesn't fire:

http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html

You are required to override the Event.clone() method in your subclass. The
clone() method returns a cloned copy of the event object by setting
the typeproperty and any new properties in the clone. Typically, you
define the
clone() method to return an event instance created with the new operator.

On Sun, Aug 16, 2009 at 2:15 AM, jdizowat jasonharr...@gmail.com wrote:



 It is a custom event and I did not override clone().


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Magnus
 Lassi magnus.la...@... wrote:
 
  I don't see the event mentioned, is it a custom event you created or an
  event in the framework? If it's a custom event, did you override the
 clone
  function?
 
  On Fri, Aug 14, 2009 at 3:15 PM, jdizowat jasonharr...@... wrote:
 
  
  
   Thanks for all the help. I have exactly what you said, Jake. A little
 more
   info -
  
   I have the following:
  
   mx:app - event never gets here
   mx:customComponent - this tabcontainer handles it just fine
   mx:customComponent / - this is a popup titlewindow which dispatches
 the
   event
   /mx:customComponent
   /mx:app
  
   I dispatch the event from the popped-up titlewindow. I have
 bubbles=true.
   I'm sorry, I'm not understanding why the event isn't making it up to
 the
   application level. I even tried taking out the event listener on the
 next
   level up. What now? I know what I'm reading up on this weekend :)
  
  
  
 

  



[flexcoders] rich text editor bug?

2009-08-16 Thread Scott
Hey guys,

 

  I've got a few fields that populate off of an object through data
binding.  When I call a new object that has null fields, the text inputs
clear out as expected.  However, the RichText Editor keeps the old data
even though it doesn't exist in the object anymore.

 

For instance this fails and keeps the old data:

 

mx:RichTextEditor x=2 y=0 title=EMail Message width=865
height=344 text={acMessageList.getItemAt(0).vcMessage}
id=RTE/mx:RichTextEditor

 

If I change the RichTextEditor to text input like this:

 

mx:TextInput x=2 y=0 width=865 height=344
text={acMessageList.getItemAt(0).vcMessage} id=RTE/mx:TextInput

 

Then the text clears when the new object loads and the itemAt(0) is
null.

 

Anyone know why this is happening and have a work around?

 

Thanks

   Scott



Re: [flexcoders] Content area of a container.

2009-08-16 Thread Wesley Acheson
Never mind I found it.
On Sun, Aug 16, 2009 at 9:19 AM, Wesley Acheson wesley.ache...@gmail.comwrote:

 Thanks thats what I needed.

 Looking at viewmetrics it says it factors the scrollbar if the policy is
 on. Is there a way to factor the scrollbar if the scroll policy is auto?
 This is a subclass


 On Sun, Aug 16, 2009 at 8:10 AM, Alex Harui aha...@adobe.com wrote:



  One way is to factor in viewMetrics



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Wesley Acheson
 *Sent:* Saturday, August 15, 2009 2:21 PM
 *To:* flexcoders
 *Subject:* [flexcoders] Content area of a container.





 How do I find the content area of a container?  For example a panel. This
 as far as I can tell is different to its height, width, explicitHeight,
 explicitWidth are all the height and width of the panel not of its content
 area.



 





RE: [flexcoders] Hierarchical Tree Data

2009-08-16 Thread Tracy Spratt
Xml is inherently hierarchical so is a convenient format for this.  Also
some databases will output xml natively, like SQL Server's FOR XML [raw,
auto, explicit]

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Wesley Acheson
Sent: Sunday, August 16, 2009 4:20 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Hierarchical Tree Data

 

  

sorry I forgot what the first post was when I answered this.  Yes in this
case it will be nested arraycollections.

On Sun, Aug 16, 2009 at 7:50 AM, Baz li...@thinkloop.
mailto:li...@thinkloop.com com wrote:



Hey Wesley, when does the hierarchy get setup? Do you use an orm that builds
and nests all objects - then, I guess, send that entire strucutre off to
flex through remote object (amf). What do you get in flex, a nested
ArrayCollection of objects, with a nested ArrayCollection of objects,
indefinitely until all levels are fulfilled?

Cheers,
Baz






On Sat, Aug 15, 2009 at 2:23 PM, Wesley Acheson wesley.acheson@
mailto:wesley.ache...@gmail.com gmail.com wrote:

  

I usually do this at the server level.  I collect all my data from the
database and then I put it into objects.  (I use java) Then I use Xstream to
convert to XML if required.  However usually I just use a remote object and
bypass the XML stage.

Regards,
Wesley Acheson

 

On Fri, Aug 14, 2009 at 10:25 PM, Baz li...@thinkloop.
mailto:li...@thinkloop.com com wrote:



How do you generally handle generating hierarchical tree data from a
database. Lets say I had a query that returned Name, ID, ParentID with an
indefinite number of nest levels, and I wanted to turn that into a nice xml
structure - do you usually peform that transofrmation at the DB layer, the
app layer, or is there perhaps an easy Flex function that can take care of
that? 

The ideal function would take the query and ask for the id and parentid
properties to use to recurse through the query, i.e.
generateNestedXMLFromFlatQuery(QueryData, ID_ColumnName,
ParentID_columnName):XML;

Thoughts?



 





 





[flexcoders] Skinning a VSlider [2 Attachments]

2009-08-16 Thread Leonardo Camargo
Hi all,

I need to change the appearance of a VSlider using the following thumbSkin
and trackSking (I've attached them, I hope they went through).

It's intended to be a volume control, and as you can see, kinda looks like
that of Youtube.

The problem is, the trackSkin never covers the whole path, so the thumb is
moving beyond the track in both edges, and I need not only that the whole
path is skinned but that a margin remains after both extremities (again,
kinda similar to Youtube's).

Any ideas anyone?

Regards,
Leonardo C.


Re: [flexcoders] Skinning a VSlider

2009-08-16 Thread Leonardo Camargo
Forgot to mention, I'm using flex 3.4.


2009/8/16 Leonardo Camargo camargoleona...@gmail.com

 [Attachment(s) #1232583b1c66b3c6_TopText from Leonardo Camargo
 included below]

 Hi all,

 I need to change the appearance of a VSlider using the following thumbSkin
 and trackSking (I've attached them, I hope they went through).

 It's intended to be a volume control, and as you can see, kinda looks like
 that of Youtube.

 The problem is, the trackSkin never covers the whole path, so the thumb is
 moving beyond the track in both edges, and I need not only that the whole
 path is skinned but that a margin remains after both extremities (again,
 kinda similar to Youtube's).

 Any ideas anyone?

 Regards,
 Leonardo C.

  



RE: [flexcoders] Re: Singletons and Modules - Application domain problem

2009-08-16 Thread Alex Harui
OK.  That sounds like the opposite problem.  I would try out the Marshall Plan 
techniques.  Use sub-Applications instead of Modules.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Everson Alves
Sent: Sunday, August 16, 2009 1:10 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Singletons and Modules - Application domain 
problem


I already had read it, about 2 years ago, right? It's very good. I read again 
now to check if forgot something in these 2 years. I guess not;

Maybe I didn't explain correctly. In fact I want to have multiple Singleton, 
that might sound weird but each module needs to run as an independent 
application. I want to load more than once each module.

For example:

ModuleAModelLocator.getInstance.shoppingCart should differ from
ModuleAModelLocator.getInstance.shoppingCart loaded a second time in a 
different ApplicationDomain. Is that possible?

On Sun, Aug 16, 2009 at 3:04 AM, Alex Harui 
aha...@adobe.commailto:aha...@adobe.com wrote:


See the modules presentation on my blog.  You'll need to define the singleton 
or at least its interface and related types in the main app or a shared-code 
module.



Alex Harui

Flex SDK Developer

Adobe Systems Inc.http://www.adobe.com/

Blog: http://blogs.adobe.com/aharui



From: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com] On 
Behalf Of Everson Alves
Sent: Saturday, August 15, 2009 9:47 PM
To: granit...@yahoogroups.commailto:granit...@yahoogroups.com; 
flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Singletons and Modules - Application domain problem





I tried removing the option to optimize the module but the problem persists. 
Any idea?

On Sat, Aug 15, 2009 at 1:11 PM, Everson Alves 
jho...@eversonalves.com.brmailto:jho...@eversonalves.com.br wrote:

Hello guys,

I'm facing a weird problem. I'm working with flex Modules that are tide mxml 
components . Using ModuleManager to load the modules. If I load using 
moduleInfo.load(ApplicationDomain.currentDomain) it loads fine but as I want to 
use the module as independent sub applications and they use the same class 
definitions that doens't play nice with singletons (ModelLocator) . When 
loading using  moduleInfo.load() expecting that it uses it's own 
ApplicationDomain it loads, dispatches ModuleEvent.READY event but 
moduleEvent.module.factory.create() gives me null. I also tried 
moduleInfo.load(new ApplicationDomain(ApplicationDomain.currentDomain)) but 
this case dispatches a ModuleEvent.ERROR saying that file isn't a loadable 
module or something like that. An detail that might be important is that the 
module is marked to be optimized to my application in compilation.

thanks in advance.

--
Jhonny Everson



--
Jhonny Everson




--
Jhonny Everson



[flexcoders] Re: Crash while using MenuBar from a module.

2009-08-16 Thread Rajkumar
Hello Alex, I had mentioned the top of stack trace in the first post , here is 
the complete stack trace.

TypeError: Error #1007: Instantiation attempted on a non-constructor.
at 
mx.controls::MenuBar/updateBackground()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\MenuBar.as:1029]
at 
mx.controls::MenuBar/styleChanged()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\MenuBar.as:1263]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5244]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:3262]
at 
mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2207]
at 
mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2140]
at 
com.atex.OV.Core.UI::OVUIMgr/addUIToApp()[G:\Projects_RJK\AtexUIF\Codebase\App\src\com\atex\OV\Core\UI\OVUIMgr.as:111]
at 
com.atex.OV.Core.Application::OVAppBase/listenPlnLoadNotification()[G:\Projects_RJK\AtexUIF\Codebase\App\src\com\atex\OV\Core\Application\OVAppBase.as:251]
at 
com.atex.OVF.Core.Notification::OVNotificationCenter/postNotification()[G:\Projects_RJK\AtexUIF\Codebase\Framework\com\atex\OVF\Core\Notification\OVNotificationCenter.as:179]
at 
com.atex.OVF.Core.Notification::OVNotificationCenter/postNotificationName()[G:\Projects_RJK\AtexUIF\Codebase\Framework\com\atex\OVF\Core\Notification\OVNotificationCenter.as:197]
at 
com.atex.OV.Core.Module::OVModuleMgr/sendPlnsLoadNotification()[G:\Projects_RJK\AtexUIF\Codebase\App\src\com\atex\OV\Core\Module\OVModuleMgr.as:349]
at 
com.atex.OV.Core.Module::OVModuleMgr/modulesLoadHandler()[G:\Projects_RJK\AtexUIF\Codebase\App\src\com\atex\OV\Core\Module\OVModuleMgr.as:255]
at 
com.atex.OV.Core.Module::OVModuleMgr/onModuleLoad()[G:\Projects_RJK\AtexUIF\Codebase\App\src\com\atex\OV\Core\Module\OVModuleMgr.as:182]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
ModuleInfoProxy/moduleEventHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\modules\ModuleManager.as:1097]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
ModuleInfo/readyHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\modules\ModuleManager.as:752]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.core::FlexModuleFactory/update()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:327]
at 
mx.core::FlexModuleFactory/timerHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:556]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Thanks,
Rajkumar

--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Post the stack trace.
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Rajkumar
 Sent: Thursday, August 13, 2009 11:13 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Crash while using MenuBar from a module.
 
 
 
 I am creating three projects as following:-
 1. MainApp: Main project that give output executable swf, i.e main 
 application.
 2. MyFramework: A flex library project, which will contain all the interface 
 declarations.
 3. CustomModule: A flex project, which will generate one/more module/s, which 
 will be loaded in the mainApp.
 
 The Settings for the projects is as following:-
 MainApp:
 Flex Build Path: Library Path: Framework linkage is RSL,
 Flex SDK is added with following settings:-
 Playerglobal: LinkType=external
 flex: LinkType=rsl, Verification = None, DeploymentPath=flex/flex.swf, 
 Automatically extract swf is enabled.
 framework: LinkType=rsl, Verification = None, 
 DeploymentPath=flex/framework.swf, Automatically extract swf is enabled.
 rpc: LinkType=rsl, Verification = None, DeploymentPath=flex/rpc.swf, 
 Automatically extract swf is enabled.
 utilities: LinkType=rsl, Verification = None, 
 DeploymentPath=flex/utilities.swf, Automatically extract swf is enabled.
 MyFramework: LinkType=rsl, Verification = none, 
 DeploymentPath=rsls/MyFramework.swf, Automatically extract swf is enabled.
 Compiler arguments:
 -load-config+=Appconfig.xml
 -link-report=MainAppLnkReport.xml
 MyFramework:
 Flex Build path settings are similar to MainApp.
 Compiler arguments:
 -load-config+=MyFrameworkconfig.xml
 CustomModule:
 Flex Build path settings are similar