In order to check to see if a .js is loaded, can't you just set a global variable in 
it's script.  For instance
A.js could have a variable called AisLoaded.

You could do a check on AisLoaded with a typeOf.  If it is undefined, then obviously 
it is not loaded, if it is defined, then you might want to check to see if the value 
is true.  If it is false, it may be in the process of loading libraries it needs, so 
don't load it, but maybe you want to setup some sort of event raising and capturing to 
trigger when it is finished loading, so you know not to proceed until it is finished.

I imagine setting up an event may pose some complexity, and I haven't worked it all 
through in my head yet, so let the rocks fly.

Later,

Chris

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

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

Reply via email to