# Help with geturl flash ticker and xml

**URL:** <https://forum.kirupa.com/t/help-with-geturl-flash-ticker-and-xml/246720>\
**Category:** flash\
**Created:** [December 13, 2007, 7:21pm UTC](https://forum.kirupa.com/t/help-with-geturl-flash-ticker-and-xml/246720 "2007-12-13T19:21:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![janjan32](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/janjan32/32/2578_2.png) [@janjan32](https://forum.kirupa.com/u/janjan32)\
**Post date:** [December 13, 2007, 7:21pm UTC](https://forum.kirupa.com/t/help-with-geturl-flash-ticker-and-xml/246720/1 "2007-12-13T19:21:10Z")

</div>

I’ve been combining a few different tickers and xml code that I have to create a dynamic news ticker. However I’m stuck with not being able to get my flash to pull the xml link data.

Below is the code where the link is, I also attached my files. Any help would be much appreciated. thanks!!

```auto
if (this.incre < 0) {
	this.incre = newsArray.length - 1;
}
//trace(this.incre)   
// 
myTick.txt.t1.text = myTick.txt.t2.text = newsArray[this.incre][0];
myTick.t0.text = newsArray[this.incre][1];
//
myTick.txt.t1.autoSize = myTick.txt.t2.autoSize = true;
myTick.msk._width = myTick.txt.t1._width + 5;

	over = new TextFormat();
	over.underline = true;
	over.bold = true;
	over.color = 0x006699;
	myTick.onRollOver = function() {
    	myTick.txt.t1.setTextFormat(over);
	}
	out = new TextFormat();
	out.underline = false;
	out.color = 0x003366;
	myTick.onRollOut = function() {
    	myTick.txt.t1.setTextFormat(out);
	}
	//reads as undefined
	**myTick.onRelease = function() {
		getURL(newsArray[newsArray.length - 1][2], newsArray[newsArray.length - 1][3]);**
	}

var cur:Number = this.incre + 1;

//pulls the title seperately
tnews.text = cur + "/" + newsArray.length;
title_txt.text = s_title;

//
if (this.incre < newsArray.length - 1) {
	this.incre++;
} else {
	this.incre = 0;
}
//
mmask.cacheAsBitmap = true;
myTick.cacheAsBitmap = true;
myTick.setMask(mmask);

```
