Javascript accessing class instances from another in mootools

I've got this bit of code here:

I am trying to get one slider to make run the mooflow effect on both instances.

Everything in the class that gets this to work uses the "this" keyword. this.glideTo etc. I can't work out how to access the second class from the first as obviously I dont want to do it with "this" I want to do it with what is essentially "that". If i insert alert(this) into the code it just says object Object. I cant work out how to reference one class from another.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You would have to have a way to expose when the glideto method is being called.  or modify the MooFlow so that it can also refer to a 2nd object.   As it is, all places that call glideTo, only know about the specific instance of MooFlow that it is.

So within glideTo you the code does not have a way to reference that.

If there was an event raised when glideTo is completed then you could potentially catch that event in your own code and call the glideTo method on the other object.  

I'm guessing the reason that this is not implemented is that 2 flow objects are very likely to have a different number of elements, which would mean keeping them in sync would not be useful.    An easier solution may be to modify your images to include both of the things that you want to keep in sync in the same image.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.