PDA

View Full Version : Removing embedded text?


RoGuE_StreaK
08-22-2007, 02:51 AM
I'm writing a script which goes through every dynamic and input text box in a fla and makes sure it has the correct characters embedded; the adding of characted via testElement.embeddedCharacters = "whatever" works fine, but I can't find a way to first clear any existing embedding!

I want to be able to only embed a certain set of characters to reduce filesize, but most current project files have been hand-set to embed more than is required, so I first need to clear the current embedding before re-embedding the desired set. testElement.embeddedCharacters only appears to append characters to the embedded set.

Thanks
Lee