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

January 29, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54f133d69883400e54ff354358833

Listed below are links to weblogs that reference Spinning Wheel Got to Go 'Round - A Compiled JavaFX Script Example:

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.