Hello,
This is my first attempt to load wordpress xml feed generated in flash. I exported a xml from a wordpress test blog, and now Im tryn to load it from flash.
This is my code of loading xmls:
[COLOR=teal]stop()
var mainXML:XML = new XML ();
var mainXMLURL:URLRequest = new URLRequest(“wp.xml”);
var mainXMLLoader:URLLoader = new URLLoader(mainXMLURL);
mainXMLLoader.addEventListener(“complete”, mainXMLLoaded);
function mainXMLLoaded(event:Event):void {
mainXML = XML(mainXMLLoader.data);
}[/COLOR]
Unfortunately, this erros occurs when converting [COLOR=#008080]mainXMLLoader.[COLOR=black]data in[/COLOR] XML() [/COLOR]
[COLOR=#008080]// XML(mainXMLLoader.data);[/COLOR]
[COLOR=#008080][/COLOR]
[COLOR=darkred]TypeError: Error #1083: The prefix “excerpt” for element “excerpt:encoded” is not bound.
at testexmlwordpress_fla::MainTimeline/mainXMLLoaded()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()[/COLOR]
[COLOR=#8b0000][/COLOR]
[COLOR=black]Someone know any helpful detail in how to keep going?[/COLOR]