0

i would like to load a flash file in order to use it's functions and classes. i would like that this file will be never cached. how can i do that ?

1 Answer 1

1

Loading code can be found in this answer. To avoid caching of the swf, you can append a random string to the SWF url like:

ldr.load(new URLRequest("Movie.SWF?rand=" + Math.random()));

//or

ldr.load(new URLRequest("Movie.SWF?rand=" + flash.utils.getTimer()));
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.