Hello,
myIdentifier=Math.round(Math.random()*10000);
loadMovie(“myAnim.swf?uniq=”+myIdentifier,1);
That script above! Do put that on the FIRST FRAME of your movie?
I tried it anyway, I just wanna make sure if what I did was right.
Thanks
Hello,
myIdentifier=Math.round(Math.random()*10000);
loadMovie(“myAnim.swf?uniq=”+myIdentifier,1);
That script above! Do put that on the FIRST FRAME of your movie?
I tried it anyway, I just wanna make sure if what I did was right.
Thanks
You put that wherever you want to call the movie at… If you want to call it when the movie first starts… Put it on the first frame like such…
[AS]
_root.onLoad = function()
{
// place that code here
}
[/AS]
You can also store it in a button where it waits until someone clicks something…
:beam: playamarz :player:
Playamarz,
pardon me, but Im just beginning to learn the basics of ActionScripts. Is this right?
_root.onLoad = function()
{
myIdentifier=Math.round(Math.random()*10000);
loadMovie(“scroller.swf?uniq=”+myIdentifier,1);
}
I placed that on the FIRST FRAME of my MAIN SCENE, where scroller.swf is the name of the movie. The label of the SCENE doesnt matter in this case right? Kuz my scene’s lable is “MAIN” & the exported SWF is “scroller.swf”
Thanks
:: Copyright KIRUPA 2024 //--