rave_t
1
Can someone explaien how i should use those two lines of code?
I have one main.swf and one pic.swf. pic.swf is loaded from the maintimeline in main.swf with the command
loadMovie(“pic.swf”, “pic1”);
and i wnat to use the unique identifier but i dont know where to enter the code from…
http://www.kirupa.com/developer/actionscript/tricks/cache.htm
any help would be great !:toad:
system
2
What is it you don’t understand? :h:
system
3
Exactly where to put the two line of codes?
system
4
They replace your loadMovie line :bu:
system
5
well its not working cause i get an error message in the output window saying:
Error opening URL “file:///C|/Documents%20and%20Settings/rave_t/Webbpage/pic.swf?uniq=7686”
What should i do?
system
7
I must be stupid…I cant get it to work !!
In my main timeline in main.swf i got this line:
loadMovie(“pic.swf”, “picHolder”);
Should i just do it like this??
myIdentifier=Math.round(Math.random()*10000);
loadMovie(“pic.swf?uniq=”+myIdentifier,“picHolder”);
?
Do i have to do anything in the pic.swf ??