Passing vars in AS3 without using URL string?
Hello,
I have one AS3 swf (loader.swf) that needs to load a second AS3 file (main.swf).
loader.swf has some variables that I would like to pass to main.swf.
I don't want to append the variables in the URL string, because then main.swf won't be cached properly.
In AS2 I could use FlashVars, which passes the variables without adding them to the URL string.
How can I do this in AS3?
Urgent! Weird undesired caching in AS3 loader due to URL string
Maybe I am not being clear. I WANT to cache the second (main.swf) file. But I also want to pass it a parameter, not using the query string. The parameter is pretty much random, but when it's in the URL, it causes browsers to NOT cache the main.swf file, since it thinks it's another request.