PDA

View Full Version : [FMX] circle disappear clockwise..



MZA
February 27th, 2003, 08:05 AM
Hello!

Ok, here is my problem, hard to explain tho, but i will do my best.

I would like a circle picture to dissappear (or appear) with like a clockwise motion. So basically from twelve oclock i want the circle picture start going away clockwise until it comes to twelve again and the picture would be all gone by then.

Something like the countdown u see at cinemas before a movie starts.
Any kind of help would be appreciated.

Regards
-MZA

Dravos
February 27th, 2003, 08:45 AM
well iyou can draw a circle and have a line at the 12 o clock position then convert it to a movieclip

the action for the movie clip:



onClipEvent(enterFrame)
{
speed=12;
this._rotation+=(360/speed);
this._alpha-=(100/speed);
}


this should rotate the circle clockwise 12 times fading out in 12 steps, change the speed for smoother fading/rotating

Hope this helps

Jamie

Dravos
February 27th, 2003, 08:50 AM
FMX should read F5 fla's i think so ive made a quick one tell me if it needs tweaking

MZA
February 27th, 2003, 09:25 AM
thanks for help but this isnt the effect i want.

It would be simular to this but for example when the line is at the 1 oclock position all the area of the circle at 12 and 1 oclock should be gone (and the rest of the circle should be visible with alpha 100%). So the line that rotates should erase the circle.

(then i would take away the line and get the effect i want. but with or without line, it should be about the same actionscripting.)

I hope this makes u all understand.
And i hope someone knows how to make that and give me a hint or two. :)

-MZA

Dravos
February 27th, 2003, 09:40 AM
More like this one?

MZA
February 27th, 2003, 12:40 PM
exactly, but with actionscripting. :)

-MZA