ronchicago
01-17-2005, 08:03 PM
I am having a difficult time buildiing a preloder and not sure where the trouble lies. Let's start with the "bar", I wish to have a thin bar that moves from left to right.
I make the bar very small in frame 1. The bar is two inches long (100%) in the next keyframe? Where do I insert this next keyframe?
note: here is the following script for my "preloader" scene...
setProperty (this, _xscale, (_root.getBytesLoaded() /
_root.getBytesTotal()*100));
note: script to main movie labels "intro"...
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
gotoAndPlay (2);
}
else {
gotoAndPlay ("intro", 1);
}
Thank you, Ron
I make the bar very small in frame 1. The bar is two inches long (100%) in the next keyframe? Where do I insert this next keyframe?
note: here is the following script for my "preloader" scene...
setProperty (this, _xscale, (_root.getBytesLoaded() /
_root.getBytesTotal()*100));
note: script to main movie labels "intro"...
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
gotoAndPlay (2);
}
else {
gotoAndPlay ("intro", 1);
}
Thank you, Ron