Re: Reflection effect
Ok, sorted that out ... how would I flip it instead of rotating it? Because it's not in a right position after rotation+move. It's direction is wrong.
I may just figured out why I cant see it ... because it rotates around its top left edge and so it leaves canvas ... I need to compensate :)
It would still be helpful to know how to most elegantly copy the object :)--On 8/31/07, Anze Cesar < anze.cesar <at> gmail.com> wrote:Ok, that's exactly what I started thinking about ... but when I applied a rotation = 180 to a view it wasnt visible any more ...
It contains a video ... could that be a problem?
What would be the most legal way of copying a view?--On 8/31/07, Raju Bitter < rbitter <at> laszlosystems.com> wrote:The simplest way to achieve a reflection affect is to rotate a copy of the view and use a drawview with a gradient to fade the rotated view into the background color. That only works if you have a a solid background color, though. And you are right, all of that only works with Flash runtime.
Raju
Von: Anze Cesar <anze.cesar <at> gmail.com>
Datum: Fri, 31 Aug 2007 13:22:19 +0200
An: <laszlo-user <at> openlaszlo.org>
Betreff: [Laszlo-user] Reflection effect
Hi,
is there any already established way of making a reflection? I would like to make that eye candy reflection at the bottom of a view for example, and I would like it to be live (to reflect the current display).
I am probably looking at a flash specific feature here ...
One such flash class can be found here: http://pixelfumes.blogspot.com/2007/03/reflection-class-v3-with-source.html <http://pixelfumes.blogspot.com/2007/03/reflection-class-v3-with-source.html>
I suppose it wouldnt be easy to include this class in some way?
--
lp,
Anže
lp,
Anže
lp,
Anže
--
lp,
Anže
RSS Feed