asma
31st August 2007, 13:48
Hello,
I have a pluging that builds information to construct a set of clips. Once this function is called then one of the clips is returned and information in saved is some vector..
Now I need to add a new function that once called, it uses this vector to construct specific clip based on the passed parameters.. For that, I need to work with the same instance of the class that was constructed before..
the idea is to have addFunction twice.. the first for building the information and the other for using this information to return the clip wanted at any time in the same script..
How can I call addFunction without creating a new instance of a Class and using the one already created..
I hope I was clear..
thank you in advance..
I have a pluging that builds information to construct a set of clips. Once this function is called then one of the clips is returned and information in saved is some vector..
Now I need to add a new function that once called, it uses this vector to construct specific clip based on the passed parameters.. For that, I need to work with the same instance of the class that was constructed before..
the idea is to have addFunction twice.. the first for building the information and the other for using this information to return the clip wanted at any time in the same script..
How can I call addFunction without creating a new instance of a Class and using the one already created..
I hope I was clear..
thank you in advance..