Rahil
March 15, 2003, 6:11am
1
I’m just playing around right now; getting ready for when i’m gonna have to make a real flash intro. I’m using kirupa’s actionscript for the percentage preloader + loading bar. Heres the timeline:
Frame 1 - loading bar actionscript (AS)
Frame 2 - this.gotoAndPlay(1);
Frame 3 - stop();
Now in frame 3, i have a “Click here to play” link. Here is the link’s AS:
on (press) {play();
Now, everything works fine, untill i get to the “on press, play” part. I think because the movie has stopped, the AS is disabled or something.
Is there anyway to have a “Click here to play” link?
system
March 15, 2003, 10:38am
2
on (press) {play();
this might woork if it looked like this :
on(press){
play();
};
Cheers
SteveD
system
March 15, 2003, 6:38pm
3
The AS you gave me for the “Play” button doesn’t work. It says theres a syntax error. Does anyone know how to make a play button after a preloader?
system
March 15, 2003, 9:50pm
4
Hi,
yeah, just a small typo, would of thought you could have seen that - it should be this, can you spot the difference :
on(press){
play();
}
Cheers
SteveD
system
March 16, 2003, 1:04am
5
Lol, sorry, i r newb. And yes, that works, thanks alot.