;

PDA

Click to See Complete Forum and Search --> : Animated flying dove


talytech
05-09-2007, 09:17 PM
Does anyone know how I can get an animated dove to fly around my webpage? I've tried everything. Someone gave me an animated gif file but when I imported into my movie the animation was lost. It just imported as a still image. Can someone please help me. I also converted the gif into a swf and tried importing that and when I played the movie the swf doesn't show. Maybe I can use a LoadMovie function. but I don't know how. So sad.

joca_hdj
05-10-2007, 05:58 AM
OK, if you can't find any i suggest you import a picture of dove into koolmoves and then trace it and animate by yourself.It shouldn't be so complicated.It depends what kind of animation you want, but for the beginning you can animate just wings for instance.Put is inside a movieclip and use a lot of tweens for smoother animation.That's what i would do.

sm5574
05-10-2007, 01:51 PM
You might try downloading the GIMP (gimp.org) and importing the gif into it. I've never actually tried it, but i think it can separate the animation into layers. You could then import each layer individually into KM.

dniezby
05-10-2007, 02:59 PM
Dude this is the second post you have about this. I've already posted the answer in your original post.
Like two or three threads down from this one.

http://board.flashkit.com/board/showthread.php?t=730308

talytech
05-10-2007, 05:59 PM
dniezby -- obviously it didn't work. The gif file lost its animation after I imported and the converted gif into swf did not show in my main movie, nor did the LoadMovie work because no button triggers the animation. When you play the movie the doves should be flying ... so I posted again .. you aren't the only one with answers and your answer isn't the only answer to this problem ... dude ... thank you

necromanthus
05-10-2007, 06:15 PM
Just create an empty movieclip (mc1) in the keyframe where do you wanna see the animated dove.
Take care: its position is gonna be the left upper corner of the loaded movieclip.
Set this script in the main timeline:
mc1.loadMovie("flying_dove.swf");
stop();

Use the SWF from the attached file.
have fun.

talytech
05-10-2007, 10:06 PM
Thank you necromanthus so much. It works! Finally.

talytech
05-11-2007, 07:59 AM
Necromanthus, is there a way I can size the flying_dove.swf once it's loaded? I need for the dove to be smaller.

necromanthus
05-11-2007, 08:16 AM
Necromanthus, is there a way I can size the flying_dove.swf once it's loaded? I need for the dove to be smaller.

Of course.
Set this script in the main timeline:

mc1.loadMovie("flying_dove.swf");
mc1._xscale = 50;
mc1._yscale = 50;
stop();

You may change that 50 value as you wish.

talytech
05-11-2007, 09:05 AM
Wow.. your good! I'm really trying here. Now I want my dove to move around the page so I made a copy of the movie clip on the next frame and moved it but when I play the movie it's still in the same position. What am I doing wrong?

necromanthus
05-11-2007, 10:44 AM
Wow.. your good! I'm really trying here. Now I want my dove to move around the page so I made a copy of the movie clip on the next frame and moved it but when I play the movie it's still in the same position. What am I doing wrong?

Here is something more advanced:
http://necromanthus.com/KoolMoves/FlyingDove.html
I'm going now. Have fun.
:mrpimp:

talytech
05-11-2007, 11:58 AM
I downloaded the FlyingDove files but when I tried to open the KoolMoves file it produced a message "This file was not created by KoolMoves".

Are you moving a copy of the movie clip from frame to frame or are you positioning the clip in actionscript?

J0e7
05-11-2007, 01:28 PM
I have no problems to open the file (with the actual KM-Version).. Did you open the zip with KM - thats not possible.. first extract it.. :)
positioning the clip in actionscript?
Yes, he did..

bw, J0e7

talytech
05-11-2007, 01:43 PM
That is what I did. I'll try it again.

talytech
05-11-2007, 01:47 PM
Nope it still didn't work. It says this file was not created by Koolmoves.

w.brants
05-11-2007, 01:50 PM
Nope it still didn't work. It says this file was not created by Koolmoves.What KM version are you using ?

Starting with KM 5.6.0 KoolMoves uses file compression when a fun file is stored. If your KM version is older, you won't be able to open a fun file created with a newer version.

talytech
05-11-2007, 01:50 PM
how do I position in actionscript. What I tried was I made a copy of the movie clip to the end of the frames. then on frame 2, i put the following code:

mc9._x = 25;
mc9._y = 100;
stop();


what am I doing wrong?