Stop the movie at the end

By ferwalker, 10 months ago.

Is there a way to make that the movie stops when it endes? Because when it endes it come back to the start and I want it to stay in the last slide...

Thank you...

There is no way to do that at this time. It wouldn't be a simple addition either.

Posted 9 months ago #

I was able to get the movie to stop at the end by making a simple change to the player.fla code (line 107):

listenerObject.complete = function(eventObject:Object):Void {
	if(!_global.autorewind) {
		_root.display.pause();
		_root.playButton._visible = true;
		_root.pauseButton._visible = false;
	} else {
		if(_global.autorewind && !_global.loop){
			_root.display.playheadTime = 0;
			_root.display.pause();
			_root.playButton._visible = true;
			_root.pauseButton._visible = false;
			return;
		}
		_root.playButton._visible = !_global.loop;
		_root.display.play();
	}
};

This change allows the player to come to a stop on the last frame of video, when autorewind is set to off.

Posted 6 months ago #


RSS feed for this topic

New Topic

You must log in to post.

Copyright Jambo Media, LLC 2009

Powered by WordPress - Created by Tommaso Baldovino