# Problem in getting data from .net in flash

**URL:** <https://forum.kirupa.com/t/problem-in-getting-data-from-net-in-flash/286446>\
**Category:** programming\
**Created:** [April 15, 2009, 3:32pm UTC](https://forum.kirupa.com/t/problem-in-getting-data-from-net-in-flash/286446 "2009-04-15T15:32:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trupti](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trupti/32/3418_2.png) [@Trupti](https://forum.kirupa.com/u/Trupti)\
**Post date:** [April 15, 2009, 3:32pm UTC](https://forum.kirupa.com/t/problem-in-getting-data-from-net-in-flash/286446/1 "2009-04-15T15:32:41Z")

</div>

I am loading an aspx file to get the string of some url’s like this:

**shopLink1=http://www.herdershop24.de/index.php?cl=details&cnid=1791048&anid=1804358&campaign=book2look^shopLink2=http://www.google.co.in/search?hl=en&q=jquery+show+hide+divs&revid=1949292964&ei=i\_TlSY3TJ9WSkAXUvrDOCw&sa=X&oi=revisions\_inline&resnum=0&ct=broad-revision&cd=2^shopLink3=http://**

when I check the output in .net, it displays me the correct string, but when I check the string received in my flash file it displays me only string upto ‘&’ character i.e.

**shopLink1=http://www.herdershop24.de/index.php?cl=details**

Here is my code in flash file,  
here ‘shopPageData’ is the string received from the aspx file

```auto

				var shopPageData_str:String = new String(shopPageData);
				trace("shopPageData_str "+shopPageData_str);
				var shopDataArray:Array = new Array();
				var array1:Array = shopPageData_str.split("^");
				//trace("array len "+array1.length);
				
				var array2:Array = new Array();
				//trace("array1 "+array1);
				for (var i = 0; i<array1.length; i++)
				{
					//var temp:String = new String(array1*);
					//array2 = temp.split("=");
					var temp:String = new String(array1*);
					trace("temp "+temp);
					var index = temp.indexOf("=");
					array2[0] = temp.substr(0, index);
					array2[1] = temp.substr(index+1, temp.length);

					trace("array2 0 ----------- "+array2[0]+" 1 --------- "+array2[1]);
					shopDataArray* = [array2[0], array2[1]]
					//trace("out "+i+" 0 --- "+shopDataArray*[0]+" 1 --"+shopDataArray*[1]);

				}

```

What can be the problem?

Thanks in advance  
Trupti
