Don't use query strings?

Seriously - local file names on files systems don't take query
strings. You don't have any files called C:\windows\test.exe?id=33, do
you?

To make a query string work, you need to route the call through an HTTP server.

Sounds like you're trying to avoid caching? But I'm not clear why
you'd want to avoid caching a local, non-dynamic file...

Ian

On Mon, Sep 14, 2009 at 7:16 PM, Álvaro Saraiva <[email protected]> wrote:
> 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.
>
> Any suggestions?
> Thanxs in advance,
> Álvaro
>
>
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to