I am trying to dublicate one of those navy radar screen, where the line rotates around inside of a circle, furthermore, it creates a trail effect of the line, i am having a hard time figuring out how to dublicate this effect, i started to look into copying pixels from bitmapData, this works fine if i am moving something up or down,left or right, but my line is rotating around, how can i dublicate the line while it is rotating,
I would do a bitmapdata that snapshots your line enter_Frame and then blurs it constantly.
Started thinking about it and maybe that’s not the best route… I tried coding it up real fast, is this what you were thinking of?
The blur isn’t quite what a radar looks like, but doing a simple fade with a colormatrixfilter would give lines rather than a shadow effect. I played around with it but didn’t come up with anything all that convincing apart from creating a transparent png of the line and it’s shadow and rotating that around, which is a bit of a hack!
[quote=sekasi;2353674]Started thinking about it and maybe that’s not the best route… I tried coding it up real fast, is this what you were thinking of?
http://www.erikhallander.com/dev/as3/radar.html[/quote]
If you can’t get exactly what you want from that (it’s pretty close) i suggest making a round mask for the area you want to show ( you can make a gradient mask!). that way you can eliminate all the “extra” trail you don’t want there.
edit: i also suggest playing with a colormatrixfilter - allows you do decrease the visible area of the blur. This use is coverd on gotoandlearn.com - check out the video on Advanced Filter Effects - he goes over it’s use in that video. (and if not in there, then the newer one about sound spectrum analysis).
sekasi, that is kinda of what i’m looking, would you mind if i take a look at ur code, thanks, colormatrix filter sounds interesting too, i will look into it, thanks everyone