O'Reilly logo

LiveCode Mobile Development HOTSHOT by Edward D Lavieri Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming the application

All the pieces are in place now. You created the stack, the four cards, and all the required objects for the Jungle Dance Party. All that is left is to program the application. We will start with programming the navigation between cards, and then we will program the individual animation sequences.

Engage Thrusters

  1. Add the following LiveCode script to the dog button on the main card:
    on mouseUp
       go to card "Dog"
    end mouseUp
  2. Add the following LiveCode script to the monkey button on the main card:
    on mouseUp
       go to card "Monkey"
    end mouseUp
  3. Add the following LiveCode script to the panda button on the main card:
    on mouseUp
       go to card "Panda"
    end mouseUp
  4. Add the following LiveCode script to the Enough button on the Dog card:
    on mouseUp ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required