I'm not sure you have noticed but in my DynLayer there is a property called
index. There is also an array called Objects. I think that for purposes like
starting new threads for certain method calls (to eliminate out of stack
space errors or other workarounds) we should make every widget add this
code. It is very simple you just need to add in the declaration
function myWidget(){
blah
blah
this.index = Objects.length;
Objects[this.index] = this;
}

Then when you want to refrence it (let us say in a setTimeout) you just do
the following:
setTimeout("Objects["+this.index"+"].dostuff",100);


What do you think?
8an


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to