Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random script not working in Browser

Status
Not open for further replies.

dhere38

Programmer
Sep 12, 2000
20
US
Can anyone give me a clue as to why my Random Script,meant to place random MC's on the stage, works fine when I test it on my desktop (f12), but when uploaded to the server doesn't even show at all? Thank you.
 
what's the script?
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Here is my script. I have set the "count" Variables on the first keyframe and this script is on the second. This all works fine when I test it on my computer but fails to appear when uploaded.

count = count+1;
count2 = countB+1;
if (count==20) {
gotoAndPlay ("delay");
}
duplicateMovieClip ("_root.rain", "rain"+count, count);
setProperty ("_root.rain"+count, _x, random (383)+410);
setProperty ("root.rain"+count, _alpha, random (20)+10);
if (countB==10) {
gotoAndPlay ("delay");
}
duplicateMovieClip ("_root.rain2", "rain2"+countB, countB+50);
setProperty ("_root.rain2"+countB, _x, random (383)+417);
setProperty ("root.rain2"+countB, _alpha, random (20)+10);

These MC's are supposed to look like rain and act as a backdrop to my photo gallery. Feel free to take a look if you would like. as you will see no "rain"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top