This is what I came up with (works in incubator build)

http://imagineric.ericd.net/swf/angled.html

http://imagineric.ericd.net/2011/06/17/as3-solved-distorting-the-bottom-half-of-the-stage/




  Google Voice: (508) 656-0622
  Twitter: eric_dolecki      XBoxLive: edolecki      PSN: eric_dolecki
  http://blog.ericd.net



On Mon, Jun 20, 2011 at 5:20 AM, Karl DeSaulniers <k...@designdrumm.com>wrote:

> Hi Eric,
> You could try making a shell MC that is duplicated so you have two MCs with
> the same content right on top of each other.
> Then mask one so it shows on the top half and the other to show on the
> bottom.
>
> With the one on the bottom being a lesser z access, and covered by the top
> (non-distorted view)
> you then distort just the mc on the bottom.
>
> You could even copy the bottom MC into a bitmap image. (hiding the real
> bottom mc)
> Then you can put your transformations on that copy and just recreate the
> bitmap of the bottom mc as you need for updating.
>
> Then you only have to update one MCs content and both will populate.
> Giving you the effect you desire with a little control.
> Well, something along those lines anyway.
>
> HTH,
> Karl
>
>
>
> On Jun 20, 2011, at 4:01 AM, allandt bik-elliott (thefieldcomic.com)
> wrote:
>
>  sounds like you need to use 2 bitmaps drawn with copypixels and a clipping
>> rectangle to capture the correct half and scale the bottom half with
>> something like the flash and math BitmapTransformer
>> http://www.flashandmath.com/**intermediate/gummy/<http://www.flashandmath.com/intermediate/gummy/>
>>
>> hope this helps
>> a
>>
>>
>> On 16 June 2011 20:48, Eric E. Dolecki <edole...@gmail.com> wrote:
>>
>>  Greetings all,
>>>
>>> I made a quick post about something I'd like to solve and someone out
>>> there
>>> might be able to help me.
>>>
>>>
>>> http://imagineric.ericd.net/**2011/06/16/question-bitmap-**
>>> distorting-the-bottom-half-of-**the-stage/<http://imagineric.ericd.net/2011/06/16/question-bitmap-distorting-the-bottom-half-of-the-stage/>
>>>
>>> Here is a near copy and paste of the post describing the crux of what I
>>> am
>>> after...
>>>
>>> What I would like to do is to have a Stage with a DisplayObject or
>>> perhaps
>>> several DisplayObjects – which can animate around.
>>>
>>> When these objects pass a boundary (1/2 of the Stage height), I would
>>> like
>>> to distort all those images by applying a Bitmap transformation… but only
>>> to
>>> the portion that crosses that boundary.
>>>
>>> The bottom half of the Stage would need to update itself constantly to
>>> properly display the effect in real time. I’ve done some Bitmap things in
>>> the past, but I am not quite sure what the correct approach for this
>>> might
>>> be.
>>>
>>> I’ve seen plenty of stuff where you can drag the corners of a photograph
>>> around (
>>>
>>> http://edvardtoth.com/flash/**flashfun/basic-bitmap-**
>>> distortion-using-triangles-**and-uvs-source/<http://edvardtoth.com/flash/flashfun/basic-bitmap-distortion-using-triangles-and-uvs-source/>
>>> ),
>>> but I’ve not seen where this could be applied to something like what I am
>>> after. Without digging too deeply I think I just need to update the
>>> BitmapData for the bottom Bitmap every frame – *but curious about the
>>> offset
>>> stuff…*
>>>
>>> I am looking for sage advice or even some code to get this rolling. If it
>>> takes a while it might be interesting to see how you landed where you did
>>> and how I approached the problem.
>>>
>>> Thanks for any and all consideration.
>>>
>>> - Eric
>>> ______________________________**_________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.**com <Flashcoders@chattyfig.figleaf.com>
>>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>>>
>>>  ______________________________**_________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.**com <Flashcoders@chattyfig.figleaf.com>
>> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>>
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
>
>
> ______________________________**_________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.**com <Flashcoders@chattyfig.figleaf.com>
> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders<http://chattyfig.figleaf.com/mailman/listinfo/flashcoders>
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to