# My game is not workin in IE6 and workin in all other bowsers

**URL:** <https://forum.kirupa.com/t/my-game-is-not-workin-in-ie6-and-workin-in-all-other-bowsers/318131>\
**Category:** Uncategorized\
**Created:** [January 11, 2011, 10:36am UTC](https://forum.kirupa.com/t/my-game-is-not-workin-in-ie6-and-workin-in-all-other-bowsers/318131 "2011-01-11T10:36:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harimca14](https://avatars.discourse-cdn.com/v4/letter/h/4bbf92/32.png) [@harimca14](https://forum.kirupa.com/u/harimca14)\
**Post date:** [January 11, 2011, 10:36am UTC](https://forum.kirupa.com/t/my-game-is-not-workin-in-ie6-and-workin-in-all-other-bowsers/318131/1 "2011-01-11T10:36:47Z")

</div>

i am new to flash and having some problem in IE6. when i send the URL in hardcoded way the data is loading from JSON and game is running. if i send it like  
request.url =“index.php?file=c-quiz\_engine\_details&game\_id=” + gameId;  
the data is not loading and game is not running.

if i hard coded it like  
request.url =“[http://192.168.1.29:8087/index.php?file=c-quiz\_engine\_details&game\_id=38](http://192.168.1.29:8087/index.php?file=c-quiz_engine_details&game_id=38)”;  
the game is working in all browsers.  
can anyone of you let me know whats the problem?

Thanks in advance.

here is my code

public function loadJSONData(actiontype:String)  
{  
var loader:URLLoader = new URLLoader();  
var paramObj:Object = LoaderInfo(root.loaderInfo).parameters;  
for (keyStr in paramObj)  
{  
gameId = int((paramObj[keyStr]));  
}  
if(actiontype == “init”)  
{  
request.url =“index.php?file=c-quiz\_engine\_details&game\_id=” + gameId;  
trace("the Requested URL is "+request.url);  
var dataURL:String = request.url;  
loader.addEventListener(Event.COMPLETE, decodeJSON,false,0,true);  
loader.addEventListener (ProgressEvent.PROGRESS, preloader);

```
             try
            {
            loader.load(new URLRequest(dataURL));                                
            }
            catch(error:Error)
            {
                trace("Just catched the error :(");                    
            }                    
            trace("after loading the url request");
            
        }//end of if block

```

}
