-
http://www.geocities.com/cavyn16/cavyn1234.html
need help on my site. when my preloader loads till 100%, why it wont go to my second scene? its only when i press enter on the url that i get to go to my second scene. can someone help me solve the problem plz... and how do i center my movie on the html page?
-
Like many celebrities on highway billboards say...got code?
-
------------------------------------------------------------
script on the percentage...
onClipEvent(load){
thiscolor = new Color(this)
_x = 200
_y = 200
a = 100
tt = 10
count = 0
step = 50
}
onClipEvent(enterFrame){
tt += (_root.dx)/20
_xscale = (a*Math.sin(tt))
frame = _root.getBytesLoaded()
tot = _root.getBytesTotal()
txt = int((frame/tot)*100) + "%"
if(count <= step){
trasf.rb += diff[0]/step
trasf.gb += diff[1]/step
trasf.bb += diff[2]/step
trasf.ra += diff[3]/step
trasf.ga += diff[4]/step
trasf.ba += diff[5]/step
trasf.aa += diff[6]/step
thiscolor.setTransform(trasf);
count++
} else {
trasf = thiscolor.getTransform();
colore2 = new Array(random(255),random(255),random(255),10+rando m(90),10+random(90),10+random(90),10+random(90))
diff = new Array(colore2[0]-trasf.rb,colore2[1]-trasf.gb,colore2[2]-trasf.bb,colore2[3]-trasf.ra,colore2[4]-trasf.ga,colore2[5]-trasf.ba,colore2[6]-trasf.aa)
count = 0
}
}
-----------------------------------------------------------
1st frame
testo = "PLEASE WAIT WHILE LOADING...";
ellittico = true
y_max = 200
x_max = 150
compress = 8
alpha = true
if (this.getBytesLoaded() == this.getBytesTotal())
gotoAndPlay("Scene 2", 1);
fscommand("allowscale",false);
stop();
-----------------------------------------------------------
2nd frame
this.preloader_txt = Math.Round((this.getBytesLoaded() == this.getBytesTotal()) * 100);
-----------------------------------------------------------
3rd frame
if (this.getBytesLoaded() < this.getBytesTotal())
gotoAndPlay(2);
------------------------------------------------------------
-
really need all the help i can get... plzzzzzzzzz.........
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|