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 [email protected], "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
>


Reply via email to