World instance giving Access of undefined property error

Post about the Flash World Construction Kit and the Alchemy port of Box2D.
jinisner
Posts: 146
Joined: Tue Apr 17, 2012 12:08 am

World instance giving Access of undefined property error

Postby jinisner » Tue Oct 09, 2012 1:26 am

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

jinisner
Posts: 146
Joined: Tue Apr 17, 2012 12:08 am

Re: World instance giving Access of undefined property error

Postby jinisner » Wed Oct 10, 2012 10:02 am

Update - problem resolved :D

gramcracker
Posts: 21
Joined: Wed Feb 25, 2015 10:36 am

Re: World instance giving Access of undefined property error

Postby gramcracker » Mon Mar 09, 2015 1:51 pm

And how was the problem resolved??????


Return to “WCK”



Who is online

Users browsing this forum: No registered users and 1 guest