Unless doc has been defined somewhere else its not a variable or function or
an object.. so it's not useable.. so
mf.doc.main;
isn't defined, because doc hasn't been defined.. and also..
DynAPI.document.getAll()['layer name'] doesn't seem to work if the targeted
layer is inside of another layer.. instead of using getAll() try:
DynAPI.document.all['layer name']:
This seems to not care whether or not the layer is in a parent layer or not.
Hope this helps,
Vincent Calendo
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help