Hi, check the code. That could mean that currAttr is defined twice, ie:
function() { var x = 100; if(true) { var x = 200; .. } } On 9/18/06, Jorge Antonio Diaz Gutierrez <[EMAIL PROTECTED]> wrote:
Ron, I'm working with FlashDevelop 2 RC3, this is the code I use: import mx.xpath.* class Main { static function main() { var xmlTexto:XML = new XML; xmlTexto.onLoad = function (success:Boolean) { if(success){ var hola:Array = XPathAPI.selectNodeList(xmlTexto, "title"); trace(hola) } else{ trace("Error") } } xmlTexto.load ("Source/rss2.xml"); } } And I have this Error in XPathAPI class: C:\Documents and Settings\jagutierrez\Local Settings\Application Data\Macromedia\Flash 8\es\Configuration\Classes/mx/xpath/XPathAPI.as:444: characters 8-20 : type error Local variable redefinition : currAttr Thanks for any help -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: Monday, September 18, 2006 8:46 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Develop and XPath You will have to give us a bit of information before anyone can comment. What do you want to do? (Example XML not a bad idea) What have you tried? (You might show a small piece of code) What happened when you tried that? (Error messages? Debug output?) Ron Jorge Antonio Diaz Gutierrez wrote: > Hi everyone, > > I´m trying to use XPathAPI from Flash Develop and I Can´t do I´t. > > Help me on it please > > ------------------------------------------------------------------------ > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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
-- Cheers, Ray Chuan _______________________________________________ Flashcoders@chattyfig.figleaf.com 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