Hello World!

Hello World!

I’m playing a bit with LLx and bindings and it’s amazing how easy it is to have great visual effects and stuff.

BUT I have a question regarding Box. I’m using a panel and want to chang background color (just for fun atm). I manage to do it with :

“cn:”+Color.argb($a*255,(1-$a)*255,255,255)

where “a” variable is a boolean.

Now I want to use animate function to fade in/out color and transparency when changing value of “a” but I didn’t find how to do that (tried many things with quotes).

Someone can help me please?

Enjoy!

]]>

3 Commentsto Hello World!

  1. Anonymous says:

    < ![CDATA[

    Hello,



    So no LLx Guru like TrianguloY, Pierre Hébert or Lukas Morawietz can help me here?


    I’m trying to animate Visibility of a panel. I didn’t find a way to animate visibility so I now try to animate transparency and want to have something like : panel appears with it’s color changing (or it’s color changes later).

    ]]>

  2. Anonymous says:

    < ![CDATA[

    I missed this post, sorry.


    This works for me:


    “cn:”+Color.argb(animate(“$a”)*255,(1-animate(“$a”))*255,255,255);

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Well, I guess that’s the only string I didn’t try… 😅


    Thanks a lot for your help.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *