World instance giving Access of undefined property error

Hi,

I am trying create a world and use my game logic from both class and frames, every thing works well, grounds follow all the properties i assign to them , vehicles are moving fine, but the moment i give the world movie clip an instance name and try to use it in say a function like

listenWhileVisible(MyWorld, StepEvent.STEP, StepEvent1, false, 10);

i get access of undefined property error on world object instance name that i had assigned to it, if i remove it i start getting error on the instance of the vehicle inside the world, if i remove all the instances every thing starts working fine again , where i am going wrong , kindly help ...

Regards
Jin
Update - problem resolved 😀
And how was the problem resolved??????

Original thread: https://box2d.org/forum/viewtopic.php?t=8870