[Laszlo-dev] Applying transformation matrix on movie clip
P T Withington
ptw at pobox.com
Mon Oct 29 05:18:59 PDT 2007
I you need to get access to the movie clip that represents a view, it
is available as:
<view>.sprite.__LZmovieClipRef
Nothing in LZX prevents you from directly manipulating movie clips,
but this is not a supported API and is subject to change.
You may find it helpful to use the debugger, with
Debug.showInternalProperties=true to explore...
On 2007-10-27, at 06:09 EDT, Christophe NEY wrote:
> First I would like to congratulate the laszlo dev team for this
> fantastic framework!
>
> Here is a question for you guys of the core team:
>
> I am developping an app where I need to apply a transformation on a
> movie
> clip so that it is played as if in a mirror.
>
> I have tried to set negative width without success.
>
> Looking at the AS2 language reference doc, it looks like the right
> way to do it
> is to use the transformation matrix, but it can't access such
> propertie from the
> movie clip in videoview.
>
> the code is
>
> var mat = mc.transform.matrix;
> mat.a = -1;
> mc.transform.matrix = mat;
>
> Would any of you give me some clue on how this could be done?
>
> Thanks,
> Christophe
>
> --
> -------------------------------------------------------
> Christophe NEY - Advanced IT Expertise and Consulting
> email: christophe.ney <at> batisseurs.com
> skype: cney-mac
> bio: http://christophe.batisseurs.com/en
> -------------------------------------------------------
>
More information about the Laszlo-dev
mailing list