views:

104

answers:

1

Hello, i don't know what you call it, but how would i change fields / use methods from an object, with the object i want to call with, a field?

+5  A: 
object1.object2.property

You can access object2 as a property of object1, and then access object2's properties just like normal

CrazyJugglerDrummer
Thanks, this is what i wanted.Sorry i couldn't rephrase well
AJ Ravindiran
+1 for expert deciphering skills
Gurdas Nijor
Wow. Just wow .
configurator