# Loading news data from cgi..again

**URL:** <https://forum.kirupa.com/t/loading-news-data-from-cgi-again/80822>\
**Category:** flash\
**Created:** [February 25, 2005, 1:47am UTC](https://forum.kirupa.com/t/loading-news-data-from-cgi-again/80822 "2005-02-25T01:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexis](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@alexis](https://forum.kirupa.com/u/alexis)\
**Post date:** [February 25, 2005, 1:47am UTC](https://forum.kirupa.com/t/loading-news-data-from-cgi-again/80822/1 "2005-02-25T01:47:29Z")

</div>

ok i’ve tried several things now including one suggested in my previous posting but the news is still never loading, so i think it’s something with my script. At the moment, i have a movie clip which contains a dynamic, scrollable text box with the instance name “newsBox”. I want flash to retreive data from a server-side script which is my CGI-BIN. I know that this link works in my html page so it’s not a bad link…why isn’t it showing up in my text box in flash? i’m thinking it’s something to do with my function but i have no idea what to do with it…

```auto
function viewNews(){
	trace("Data is loaded");
}
var newsBox:LoadVars = new Loadvars();
newsBox.onLoad = viewNews;
newsBox.load("http://orcaproductions.com/cgi-bin/news/viewnews.cgi",newsBox,"GET");

```

cheers
