Hello Again.
I posted a few threads on this subject before but I still haven’t had any luck achieving what I want to achieve.
I am trying to create a buffer that loads a percentage of a movie then starts playing at say 20%. So, the other 80% of the movie is being loaded in the background while the 20% at the start of is playing. A good example of this is:
http://www.loantoolbox.com/flash/exclusive.html
[SIZE=1](You need to click on one of the headings to see the buffer)[/SIZE]
I need the same thing to happen. I am using a movie playback controller similar to this also. The movie playback controller works fine I just need a bit of script that tells the movie to start playing at 20% instead of 100%.
Any help with this would be a great help because I am totally stumped :-/
i’m not sure but would this work?
if ((bytes_loaded)/5 == bytes_total) {
this.gotoAndPlay(frame);
}
please keep your questions to one forum. Thanks.
Sorry about that. I will do in future!!! (Just trying to maximize viewers)
I know
– its just frowned upon and creates clutter and redundancy. No biggie. Thanks for understanding :pleased:
Juzz, does that work or am i just way off?
Thanks for the Quick reply :}
Ok, This is what I had.
if(percLoaded != 100){
gotoAndPlay (_currentframe-1);
} else {
_parent._parent.play();
}
This is with your code added.
if ((bytes_loaded)/5 == bytes_total) {
this.gotoAndPlay(_currentframe-1);
} else {
_parent._parent.play();
}
They both had the same result. The movie just loaded as normal. The thing is I will need to tie it in with the movie playback controller.
See Thread:
http://www.kirupaforum.com/forums/showthread.php?p=560599#post560599
sorry, that should be
if ((bytes_loaded) == **(bytes_total)/5**) {
this.gotoAndPlay(_currentframe-1);
} else {
_parent._parent.play();
}