View Full Version : Movie Looping


Monkey Bizzle
12-08-2004, 06:45 PM
In school, we are learning how to use Macromedia Director to make animations and stuff. Well, when you are done, it generates the HTML for you but it doesn't give options to turn of repeat and stuff like that... It just generates a generic code... Here is the code that I have and I would like to know how to make the movie NOT repeat... I changed the swRestart to false in both instances and that doesn't seem to work...

<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,0,0,0"
ID=carcrash width=320 height=240>
<param name=src value="carcrash.dcr">
<param name=swRemote value="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='true' swFastForward='true' swContextMenu='true' ">
<param name=swStretchStyle value=none>
<PARAM NAME=bgColor VALUE=#FFFFFF>
<embed src="carcrash.dcr" bgColor=#FFFFFF width=320 height=240 swRemote="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='true' swFastForward='true' swContextMenu='true' " swStretchStyle=none
type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/"></embed>
</object>

bejayel
12-09-2004, 12:17 AM
if i were you i would go onto google and see if there might be another option that has to do directly with looping, although that looks like it should work..Is there maybe a caps problem or something?

Monkey Bizzle
12-09-2004, 04:54 AM
if i were you i would go onto google and see if there might be another option that has to do directly with looping, although that looks like it should work..Is there maybe a caps problem or something?
I don't even know where to begin as what to search for. like i said, this is the code that Macromedia Director MX generated automatically. I just changed the bold parts from true to false.

bejayel
12-09-2004, 10:21 PM
I don't even know where to begin as what to search for. like i said, this is the code that Macromedia Director MX generated automatically. I just changed the bold parts from true to false.

i think that those are the buttons that the user can use correct? try putting loop="0" outside of the value tag and see what happens.

::edit::
from looking on google, it appears as though you are going ot have to use some sort of action scripting to make it stop..but i am not totalyl sure.

db1games
12-10-2004, 08:48 PM
Well, in Flash I know you just put a stop(); action in the last frame, so there's probably something like that in whatever it is you're using...

bejayel
12-10-2004, 10:04 PM
yes i am pretty sure that will stop the loop. And i am pretty sure that swrestart is simply for allowing the user to restart or not. At least, that what is looks like to me anyway. Try taking an actionscript way. i saw in one image that it can be done in director