« 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) {

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

About/Contact


  • About this blog, and
    how to contact me

VNI Media is a JavaFX Solution Provider


  • As a JavaFX Preferred Solution Provider, we'd be honored to help you with your JavaFX/Java development needs.

JavaFXpert RIA Exemplar Challenge - Win 2000 USD!


  • Create an application in JavaFX that exemplifies the appearance and behavior of a next-generation enterprise RIA (rich internet application).
    Are you up to the challenge?

Upcoming Speaking Engagements:

Pro JavaFX 1.2 Book


  • Written by Jim Weaver, Weiqi Gao, Stephen Chin, and Dean Iverson as a definitive guide to JavaFX and for temporary relief from insomnia. ;-)

Stay up to speed

Upcoming JavaFX Training:

Enter your email address:

Delivered by FeedBurner

Twitter Updates

    follow me on Twitter

    Affiliations:

    December 2009

    Sun Mon Tue Wed Thu Fri Sat
        1 2 3 4 5
    6 7 8 9 10 11 12
    13 14 15 16 17 18 19
    20 21 22 23 24 25 26
    27 28 29 30 31    

    Disclaimer:

    • Java, the coffee cup logo, and all Java based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. or other countries.
    • By reading this site, you are agreeing that under no circumstances will Veriana Networks, Inc. or its affiliates be responsible for (1) any information contained on or omitted from the site, (2) any person's reliance on any such information, whether or not the information is correct, current or complete, (3) the consequences of any action you or any other person takes or fails to take, whether or not based on information provided by or as a result of the use of the sites.