PDA

View Full Version : .swf movie!! HELP


*sweetangel*
03-14-2001, 03:22 PM
Okay here is the problem!!
How do i get my .swf movie not to rotate? I only want it to go through once!!! Please help...!!! :(

Dr. Web
03-14-2001, 04:14 PM
make sure you have set loop="false" inside then embed tage like follows:

<embed src="loading.swf" height="100%" width="100%" loop="false">

konquest
07-20-2005, 02:56 PM
no i dont like that way.... what you should do is at the end of your move or where ever you want it to stop put this coe on the frame stop();

also you can put a buttion at the start of the move asking if they want to loop the move and if they click yes on the button it loops


button

on (press){
_root.loopmovie = true;
}

where you want to stop the move (frame)
if (_root.loopmovie <> true){
_root.stop();
}



//now if you put this coe in a movie clip and you have alot of movie clips playing at a time then you are going to want to put a code liek this to stop all the movie clips in your move from playing


if (_root.loopmovie <> true){
_root."instance name of movie clip".stop();
_root."instance name of movie clip".stop();
_root."instance name of movie clip".stop();
_root."instance name of movie clip".stop();
_root."instance name of movie clip".stop();
_root."instance name of movie clip".stop();
_root."instance name of movie clip".stop();
}

ptu as many _root."instance name of movie clip".stop(); as there are playing.. (that you want to stop)

sly-monkey
08-19-2005, 02:31 PM
well if you just have to put loop=false i dont see the point in putting 20 lines of code to do the same hmm... :dunce:

RysChwith
08-21-2005, 04:55 PM
I think the reason Konquest is against using the loop="false" method is because it makes the non-looping part of the page calling the Flash file, rather than of the file itself. In other words, the file still loops, but the browser is preventing it from doing so. His method, however, makes the non-looping part of the file itself, which makes it more reliable. Note that in most circumstances, a single stop() statement is all that's going to be required.

Rys