TypeError: flash.getDocumentDOM() has no properties
what I'm missing??
Do you have a .fla document open in Flash? The error means "I'm
sorry,
I can't get the attributes for the currently open document."
Ok that was the thing I'm missing... all right thanks :)