# How to load pure wordpress XML feed, first attempt

**URL:** https://forum.kirupa.com/t/how-to-load-pure-wordpress-xml-feed-first-attempt/268699
**Category:** flash
**Created:** [August 17, 2008, 4:07pm UTC](https://forum.kirupa.com/t/how-to-load-pure-wordpress-xml-feed-first-attempt/268699 "2008-08-17T16:07:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![YakovZanardi](https://avatars.discourse-cdn.com/v4/letter/y/a4c791/32.png) [@YakovZanardi](https://forum.kirupa.com/u/YakovZanardi)
#### Post date: [August 17, 2008, 4:07pm UTC](https://forum.kirupa.com/t/how-to-load-pure-wordpress-xml-feed-first-attempt/268699/1 "2008-08-17T16:07:13Z")

</div>

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](http://flash.net)::URLLoader/flash.net:URLLoader::onComplete()[/COLOR]  
[COLOR=#8b0000][/COLOR]  
[COLOR=black]Someone know any helpful detail in how to keep going?[/COLOR]
