# Loading local files with query strings

**URL:** <https://forum.kirupa.com/t/loading-local-files-with-query-strings/296425>\
**Category:** flash\
**Created:** [September 14, 2009, 11:14pm UTC](https://forum.kirupa.com/t/loading-local-files-with-query-strings/296425 "2009-09-14T23:14:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fr3shpt](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@fr3shpt](https://forum.kirupa.com/u/fr3shpt)\
**Post date:** [September 14, 2009, 11:14pm UTC](https://forum.kirupa.com/t/loading-local-files-with-query-strings/296425/1 "2009-09-14T23:14:58Z")

</div>

Hi everyone,  
I have a strange problem loading external assets from local files with Loader() Class in AS3.  
If i use query string in the file name, the asset don’t loads.

This code doesnt load the swf file inside a class  
this.mySWFLoader = new Loader();  
this.mySWFLoader.contentLoaderInfo.addEventListener(Event.INIT, displaySwfContainer );  
this.mySWFLoader.load(new URLRequest(“my\_swf.swf?id=33”));

if i dont use the ‘?id=33’ it works.

More strange… in Flex with SWFLoader it works :zipper:

Any suggestions?  
Thanxs in advance,  
Álvaro
