View Full Version : Accessing an object through an object?

11-11-2006, 06:40 AM

I have an object that i'm writing that uses the graphics object. I need to use the graphics object in my top file, but don't want to reload it again. How can I access the PUBs in the graphics object through the other object? More over, is what I want to do even possible? :p


Phil Pilgrim (PhiPi)
11-11-2006, 07:52 AM
You could try using my callback object, located here (http://forums.parallax.com/showthread.php?p=593662). You have to be careful with it, though, as the thread explains. But it does prevent your having to declare the called object twice.