That's the thing. I thought it would but it doesnt.
No idea why i can't change the root node of the xml.
Any other suggestion?!
raf
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:
Have you tried:
[EMAIL PROTECTED] = 59;
And it didn't work?
-Josh
On Mon,
Can you change other nodes? It could be something to do with the source of
your XML... Perhaps you can .copy() it first?
-Josh
On Tue, Sep 9, 2008 at 9:38 AM, Rafael Faria
[EMAIL PROTECTED]wrote:
That's the thing. I thought it would but it doesnt.
No idea why i can't change the root node of
LEGEND! :P
It actually works using .copy() :P
not sure if the right way thou, but look what i've done and let me
know if there is another way to do that.
var rootNode:XML = XML(tree.dataProvider);
var cloneXML:XML = rootNode.copy();
[EMAIL PROTECTED] =
Must simply be a restriction of your original source (mx:XML or XML or
something). Glad to have helped! Double check the docs for whatever source
you used, and if it makes no mention of un-modifiable attributes in the root
node, add a comment to the docs or file a bug with Adobe, and you'll save
4 matches
Mail list logo