# Twitter widgets for a website - Help!

**URL:** <https://forum.kirupa.com/t/twitter-widgets-for-a-website-help/320114>\
**Category:** flash\
**Created:** [March 14, 2011, 6:04pm UTC](https://forum.kirupa.com/t/twitter-widgets-for-a-website-help/320114 "2011-03-14T18:04:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rarity](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Rarity](https://forum.kirupa.com/u/Rarity)\
**Post date:** [March 14, 2011, 6:04pm UTC](https://forum.kirupa.com/t/twitter-widgets-for-a-website-help/320114/1 "2011-03-14T18:04:18Z")

</div>

I’ve been following an online tutorial; [republicofcode.com/tutorials/flash/twitter\_widget/2.php](http://republicofcode.com/tutorials/flash/twitter_widget/2.php)

I’m using CS5, AS3 and this is my code so far (I didn’t complete the tutorial, as when it said to test it and I kept getting errors, I realised something was wrong)

```auto

var myXMLLoader:URLLoader = new URLLoader();
myXMLLoader.load(new URLRequest("http//twitter.com/statuses/user_timeline.xml?screen_name=_Salter_"));
myXMLLoader.addEventListener(Event.COMPLETE, processXML);

function processXML(e:Event):void{
var myXML:XML = new XML(e.target.data);

tweet_1.text = myXML.status[0].text;
tweet_2.text = myXML.status[1].text;
tweet_3.text = myXML.status[2].text;

}

```

The errors I keep getting are;

Error opening URL ‘[http://twitter.com/statuses/user\_timeline.xml?screen\_name=](http://twitter.com/statuses/user_timeline.xml?screen_name=)_Salter_’  
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: [http://twitter.com/statuses/user\_timeline.xml?screen\_name=](http://twitter.com/statuses/user_timeline.xml?screen_name=)_Salter_  
at twitter\_test\_fla::MainTimeline/frame1()

I’ve looked online and changed some publish settings, changing the local playback security to ‘Access network only’ and default linkage to ‘merged into code’

There seems to be loads of stuff online to do with this issue, but I can’t seem to find anything that works for me, any ideas please?
