# Action Script Problem-HELP!

**URL:** https://forum.kirupa.com/t/action-script-problem-help/31794
**Category:** flash
**Created:** [September 27, 2003, 8:28am UTC](https://forum.kirupa.com/t/action-script-problem-help/31794 "2003-09-27T08:28:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![macmar](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@macmar](https://forum.kirupa.com/u/macmar)
#### Post date: [September 27, 2003, 8:28am UTC](https://forum.kirupa.com/t/action-script-problem-help/31794/1 "2003-09-27T08:28:04Z")

</div>

I have a link in a scrollbar using dynamic text and a.txt file. It works for a simple link like [www.apple.com](http://www.apple.com), but the link I want to use is a specific address at [MapQuest.com](http://MapQuest.com):  
E.g., [http://www.mapquest.com/maps/map.adp?city=minneapolis&state=mn&address=3001+hennepin+ave.&zip=55408&country=us&zoom=4/](http://www.mapquest.com/maps/map.adp?city=minneapolis&state=mn&address=3001+hennepin+ave.&zip=55408&country=us&zoom=4/)  
When I insert this URL, the link and all text after it no longer appear in the scrollbar. The characters in the URL are messing up the Action Script. Any way around this problen???  
I’m AS challenged, so I’m at a real disadvantage here.  
This is my AS for the scrollbar:

```auto
loadVarsText = new loadVars();
loadVarsText.load("info.txt");
loadVarsText.onLoad = function(success) {
	if (success) {
		trace;
		scroller.html = true;
		scroller.htmlText = this.var3
	} else {
		trace;
	}
};

```
