[flexcoders] Re: Problem with ModuleLoader and List in Flex 3 - Possible BUG
Hi Venkat, Thanks a lot.. The problem is solved. I don't have any issue with other classes,, is this problem occur only with DragManager class?? Thanks again Anz http://www.FlickrMailer.com --- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote: This is common reference issue with using modules. One of your modules is loading the dragmanager and the second one cannot access it. One solution is to reference the DragManager in your main application import mx.managers.DragManager; var dragManager:DragManager; HTH. - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, Anzer anzer@ wrote: Hi, I have two modules and each having lists to list different items. I am getting the below error when clicking on a list after loading second module. TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::DragManager$/get isDragging()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\ma nagers\DragManager.as:158] at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::dragScro ll()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\controls\l istClasses\ListBase.as:6989] at Function/http://adobe.com/AS3/2006/builtin::apply() at () at flash.utils::SetIntervalTimer/flash.utils:SetIntervalTimer::onTimer() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() I have uploaded a sample page to http://www.digitalmesh.com/staging/modulebug/ModuleTest.html Right click to see the source code. Please let me know if there is any solution to this problem. Thanks Anz
[flexcoders] Re: Problem with ModuleLoader and List in Flex 3 - Possible BUG
Hello Anz, This problem will happen with any managers that you use. DragManager, PopupManager etc - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, mailtoanzer [EMAIL PROTECTED] wrote: Hi Venkat, Thanks a lot.. The problem is solved. I don't have any issue with other classes,, is this problem occur only with DragManager class?? Thanks again Anz http://www.FlickrMailer.com --- In flexcoders@yahoogroups.com, rueter007 rueter007@ wrote: This is common reference issue with using modules. One of your modules is loading the dragmanager and the second one cannot access it. One solution is to reference the DragManager in your main application import mx.managers.DragManager; var dragManager:DragManager; HTH. - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, Anzer anzer@ wrote: Hi, I have two modules and each having lists to list different items. I am getting the below error when clicking on a list after loading second module. TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::DragManager$/get isDragging()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\ma nagers\DragManager.as:158] at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::dragScro ll()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\controls\l istClasses\ListBase.as:6989] at Function/http://adobe.com/AS3/2006/builtin::apply() at () at flash.utils::SetIntervalTimer/flash.utils:SetIntervalTimer::onTimer() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() I have uploaded a sample page to http://www.digitalmesh.com/staging/modulebug/ModuleTest.html Right click to see the source code. Please let me know if there is any solution to this problem. Thanks Anz
[flexcoders] Re: Problem with ModuleLoader and List in Flex 3 - Possible BUG
This is common reference issue with using modules. One of your modules is loading the dragmanager and the second one cannot access it. One solution is to reference the DragManager in your main application import mx.managers.DragManager; var dragManager:DragManager; HTH. - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, Anzer [EMAIL PROTECTED] wrote: Hi, I have two modules and each having lists to list different items. I am getting the below error when clicking on a list after loading second module. TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::DragManager$/get isDragging()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\ma nagers\DragManager.as:158] at mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::dragScro ll()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\controls\l istClasses\ListBase.as:6989] at Function/http://adobe.com/AS3/2006/builtin::apply() at () at flash.utils::SetIntervalTimer/flash.utils:SetIntervalTimer::onTimer() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() I have uploaded a sample page to http://www.digitalmesh.com/staging/modulebug/ModuleTest.html Right click to see the source code. Please let me know if there is any solution to this problem. Thanks Anz