« Seeing Spots at Java Mobile & Embedded Developer Days | Main | Want to Learn Compiled JavaFX Script? New Tutorial Available »

January 29, 2008

Comments

jinnapa

it was cool

Rom

My bad, this is old code. Will try to get it ported to the latest SDK... unless you have a newer version. :D

Rom

Tried this with the JavaFX SDK and getting an error on

private attribute a:Integer on replace (olda) {
chosenIdx = (((a * rand) mod 360) / 360.0 * sizeof names).intValue();
chosenName = names[chosenIdx];

/Desktop/WinnerWheelExample/src/WinnerWheelJFX.fx:32: Sorry, I was trying to understand an optional identifier but I got confused when I saw '(' which is an operator.
private attribute a:Integer on replace (olda) {

The comments to this entry are closed.

Categories