preloader mc must play at least once
i have preloader made , works fine, want add "and" statement if statement says;
if(_root.getbytesloaded() == _root.getbytestotal()) {
gotoandplay(3);
}
able add (theoretically) "and frame of movieclip equals @ least 50" "if" statement. problem is, don't know how translate action script.
the preloader typical bar (which getting bytes loaded) movie clip in background make little smoother. i've tried using "_currentframe", think gets frame of when action takes place mouse click.
my version of action script looks doesn't work.
if(_root.getbytesloaded() == _root.getbytestotal() && movieclipname._currentframe >49) {
gotoandplay(3);
}
if(_root.getbytesloaded() == _root.getbytestotal()) {
gotoandplay(3);
}
able add (theoretically) "and frame of movieclip equals @ least 50" "if" statement. problem is, don't know how translate action script.
the preloader typical bar (which getting bytes loaded) movie clip in background make little smoother. i've tried using "_currentframe", think gets frame of when action takes place mouse click.
my version of action script looks doesn't work.
if(_root.getbytesloaded() == _root.getbytestotal() && movieclipname._currentframe >49) {
gotoandplay(3);
}
ok, figured out can in fact use _currentframe, still need know how add "and" statement existing "if" statement.
any reply appreciated if "your animation stupid. so, don't worry it."
any reply appreciated if "your animation stupid. so, don't worry it."
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment