I've tested it and it just works like a charm. No hangup or anything.
I'm using Flash 8 & AS2 by the way and the latest release of
xfactorstudio's XPath

import DepthManagerTest;
import nl.mediamonkey.xml.XMLLoader;
import mx.utils.Delegate;
import com.xfactorstudio.xml.xpath.XPath;

var test = new DepthManagerTest(this);

var loader = new XMLLoader("data.xml");
loader.addEventListener("load", Delegate.create(this, onComplete));
loader.startLoading();

function onComplete(evt:Object):Void {
        trace(XPath.selectNodes(evt.value,
"//[EMAIL PROTECTED]'ThumbnailFilename']/value/"));
        // outputs the node
        
        trace(XPath.selectNodes(evt.value,
"//[EMAIL PROTECTED]'ThumbnailFilename']/value/text()"));
        // outputs the string with some returns in front of it
        
        trace(XPath.selectNodesAsString(evt.value,
"//[EMAIL PROTECTED]'ThumbnailFilename']/value/text()"));
        // outputs the string with some returns in front of it
}

2006/4/3, Yotam Laufer <[EMAIL PROTECTED]>:
> Hi Ron,
>
> I don't see how that should change anything, but in any case I don't
> have the option to do so. Even if I omit the value and search only for
> //[EMAIL PROTECTED]'ThumbnailFilename'] it will still hang.
>
> Thanks, Yotam.
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to