Question about bindings on JavaFX 2.0
865172May 28 2011 — edited May 28 2011Hi, i'm playing a little with the beta version, and testing experiments done on 1.3 migrating them.
Then,
on JavaFX 1.3 had this simple variable definition with bindings for an object to move:
public var velocity : Number;
public var angle : Number;
public var vx : Number = bind velocity*Math.cos(angle);
public var vy : Number = bind velocity*Math.sin(angle);
Now, with JavaFX 2.0 i'm a little confiused on how to do the same thing??
some suggestion?
Thanks.