Re: [Flashcoders] XML attribute issue -SOLVED

2011-01-12 Thread Gerry
Ahh yes, I thought it would be simple to just stuff the old TextFormat in an attribute. I now save each node with an attribute for each TextFormat property. All is good! -Gerry On Jan 12, 2011, at 3:17 PM, Merrill, Jason wrote: > Take a peek at what the textformat property is asking for. You'r

RE: [Flashcoders] XML attribute issue

2011-01-12 Thread Merrill, Jason
Take a peek at what the textformat property is asking for. You're essentially trying to set "[object Textformat]", which is a string. You can't create a textformat by saying, "[object TextFormat]" as TextFormat. Plus, [object TextFormat] is now how you dynamically refer to classes, even if tha