"nag to complicate things" aye *raises hand* :)

This effect reminds me a lot of the tricks we used to pull hacking away into
the night on C64 assembler though, ie we have 2 bitmaps (front and back), we
have a new bitmap and loop a sinus or something like that over all the
rows, a positive number is grab rows from bitmap 1 and scale them times the
value (0..1) and a negative number is grabs rows from bitmap 2 and scale
them times the Math.abs(value). All the paste we copy the grabbed rows to
the new canvas.

The total flip effect array.length would be 3 x bitmap.rows.length (one
block of 1's, one block of 1..-1 and one block of -1's).

Making any sense or too short of an explanation? Might not be the best
either but I'd think it'd work:)

greetz
JC


On 7/1/07, Amir T Rocker <[EMAIL PROTECTED]> wrote:

Thats nice to hear :)

I heard software developers have a nag to complicate things
Guess that would concern me
Thanks for the quick reply. I havent worked with flash for over a
year now- so i am a bit out of date :)
Please share how to do that without having to work a lot

Amir

Am 10:01 PM 6/30/2007 schrieben Sie:

>ATR> I believe they programmed a  AS3 based  3D
>ATR> Rasterizer to create this flip - AS3 can do that quite easy since
>ATR> it provides all necessities to do so :
>ATR>
>ATR> ByteArray to hold the pixels
>ATR> Matrix to do the transforms
>ATR> BitmapData to manipulate and draw .... and more ....
>
>Flash 8 has everything what is needed for such an effect.
>
>ATR> Besides if content is retrieved from inside a DB
>ATR> or from some kind of Backend, chances are you
>ATR> would not have a way to transform the content ON
>ATR> THE CLIENT - meaning you would have to convert
>ATR> the content from Text to Image on the Server -- arrghhh sounds
tricky :)
>
>If you already know BitmapData, probably you are familiar with
>BitmapData.draw(), too :)
>
>Well, I think you are overcomplicating something, this effect is not
>so hard to create as you expect :)
>
>   Attila
>
>_______________________________________________
>[email protected]
>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>Brought to you by Fig Leaf Software
>Premier Authorized Adobe Consulting and Training
>http://www.figleaf.com
>http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to