Groups | Blog | Home
all groups > flash actionscript > may 2004 >

flash actionscript : cant get seamless loop in animation


AnotherHell
5/25/2004 11:12:28 PM
I have a movie that is 125 frames so far,

and right now when you push the test button, ive set it to play to frame 124,
then goes back to frame 85 and loops 85-124 continueously.

thats what i want, but there is a little pause in the loop that is to
noticible, and i know its not the animation as ive made it loop seamlessy in
the program i created it in

the code that im using is just this:
at frame 124 i have a keyframe with
GotoAndPlay (85)

is there anyway to make it so it doesnt pause for a second at the end?

here is the animation, its around 3 megs and no preloader yet, so it may be
choppy first time through

just a note that everything is in its very early stages, also minor adult
content

http://www.anotherhell.com/wip_anotherhell_v2.html
Habitmaster
5/26/2004 2:28:18 AM
Not sure but:
The pause could be from a large difference in content from last frame to frame
85. Try making a copy of frame 85 to 124 and reversing frame order so it is
backward and then tack this onto the end. So at frame 124 it starts going
backward to what was frame 85 (now its frame 163). Now loop it back to fram 85
which has the same content as frame 163.

By the way, neato animation.

Will
AnotherHell
5/26/2004 4:22:47 AM
thanks for yoru response

im sure it loops fine though, ive made it that way specifically, and it works
fine in a video player, as well as the program i made it in, its just that
flash is pasuing for a second while it goes back to frame 85, i cant seem to
figure out how to make it so it doenst :(
Peter Blumenthal
5/26/2004 9:42:51 AM
Looks like you have one extra frame of animation. Have you tried putting
your gotoAndPlay command on frame 123, or making it go to frame 86?

--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'If I come across as a grumpy and twisted old man, it's just because I'm a
grumpy, twisted, old man." - me
---------------------------------------

..

tralfaz
5/26/2004 5:52:06 PM
[quoted text, click to view]

Can you jump into the middle of a video without a pause for the decoder? If
it was a timeline animation I don't think it would pause, but because it is
an embedded video and you are jumping into the middle of the video it is
having to take a second to restart the video in the middle (this is just my
theory). Same thing happens when looping an mp3.. it pauses momentarily for
the mp3 decoder to work. Maybe you can output your animation into a
frame-by-frame image and import it into Flash onto a timeline.
good luck,
tralfaz

AnotherHell
5/26/2004 11:55:57 PM
yah i have done that, but it still has that pause, it loops fine for me in my
native vid players, as well as the program i created it in, just flash it has
this pause, and i cant seem to get rid of it:(
AnotherHell
5/27/2004 1:44:57 AM
thanks thats what i sorta thought was the case, ill try some difent things and
see what happens

anyone have any format they would recommend using, should i use gif? that
would be a pretty big gif file i would think, or bmps, but then id have to
manualy key every frame woudnt i?

i can render out each part of the movie on there own as well, like maybe
divide the begining aniamtion where she falls down, then the idle stage at the
end, as each there own/

im new to flash so not sure what im doing yet in it :P

AddThis Social Bookmark Button