If you know this, I'll eat my hat

I want to create a coin flipping in the air sort of effect from a circle drawing. I feel sure that actionscript would be the best way but don’t know how. I did a very basic tweened version of the coin spining upwards once. Here it is:

http://www22.brinkster.com/tallpox

If you know how, seen a tutorial or just about anything, I would be delighted.

Thank you

Will it actually be a coin? What type of object will it be? Will it have two different sides?

___:block: jMkM

It will be just a circle in yellow and have a drawing on it. Probably turned into a graphic symbol. It does not have to look 3d and it does not need seperate drawings for each side. I want it to move pretty quick so that two pics wont matter. Does this help at all?

Thank you.

Animating it in Swift3d might be your best bet for the most realistic looking motion

http://www.swift3d.com/

Draw a circle with actionscript, then do this:


circle_mc.onEnterFrame = function() {
    this._y -= 2;
    this._yscale -= 2;
} // end onEnterFrame()

This will move the circle upwards 2 px on every frame, and it will make the vertical scale 2 percent less each frame. When the vertical scale reaches 0, it will start into negative values, which causes the clip to be flipped and start scaling bigger in the opposite direction. That’s exactly what you want, me thinks.

PS. Love the Homer reference in the subject. :wink:

I am not sure where to put this actionscript. Do I put it on one of the frames?

Thank you for your time.

on the Movie Clip wich he’s calling “circle_mc”

Thanks, I know nothing about actionscript. so forgive my ignorance.

That’s ok I didn’t know anything 2 months ago, and now I know a lot and am learning more everyday and it’s all thanks to the super nice people who are on these boards.

aurelius >> Are you Retrotron from as.org?

*Originally posted by Ilyas Masa *
**aurelius >> Are you Retrotron from as.org? **

yes :wink:

Hey there Ilyas Masa, as senocular said, yep, that’s me. :wink: Are you somebody I’d know from as.org?

Thanks guys for all the responses. Something really wierd happened when I went and enrolled at the flashkit forums: I got barred and didn’t even do anything wrong. All I did was ask about a site that I liked at the time. Very odd. It was on the cool site bit. Very strange. I am now not allowed to log on!!!

Thank again for all the bits of info

FK is wacked :slight_smile: I was asked to mod there but I said no. I didnt want to mess with it. So instead, gparis got the job. Good for her. Shes cool and very helpful in the forums (though her site goes full-screen on you without warning so its instant poo, but whatcha gonna do?).

You’re in good hands here… for the most part :wink:

Nothing beat a warm piping hot cup of “Instant Poo” in the morning.

Just add water! :)…and poo

Senocular,

You say you were asked to be a moderator at flashkit?

How does a person get good enough to be asked this sort of thing and who exactly asks?

Just curious, thats all.

I’ll add some more to that question: senocular how long have you been Flashing? How did you learn Flash (in particular AS)? And what do you do professionally? You needn’t answer these questions if you don’t want to, all your fans are just so curious. :wink:

Flashing since release of Flash 4. Actionscripting since 5 (I avoided it for the most part in 4 since it was a pain in the *** to deal with, sticking to Director for the most part).

Currently I work at a small multimedia company doing Flash, Director and HTML related things. :slight_smile:

i made a quick fla of the coin flippy thing… you can mess with the variables to change the rotation speed and height it flies up…

o ya heh you gotta eat your hat now too right? lol