could somebody look why isn´t my movie playing?:puzzle:
I changed this:
[AS]if (l == t) {
this.gotoAndStop(2);[/AS]
to this:
[AS]if (l == t) {
play();[/AS]
and it worked.
thx!
this.onEnterFrame = function() {
var t = this.getBytesTotal(), l = this.getBytesLoaded();
if (l == t) {
this.gotoAndStop(2);//or change to gotoAndPlay
delete this.onEnterFrame
} else {
percent = Math.round(l*100/t)+" %";
this.stop();
}
};
You ahd the onEnterFrame still ‘on’, giving the command to stop at frame 2 everytime, so it didn’t continue.