Sunday, July 29, 2012

Hello Purr App

Steps:
1) From the Basic palette, drag and drop the Button component to Screen1 (#1). In the Properties pane, under Image, click on the text "none..." and click "Add…" (#2). Select the the kitty.png file you downloaded earlier (#3).
















2) Delete "Text for Button1" listed under the Text property using the Backspace key. Your Designer should look like this:














3) From the Basic palette, drag and drop the Label component to the Viewer (#1), placing it below the picture of the kitty. It will appear under your list of components as Label1.












4) Step 4. Under Palette, click on the Media drawer and drag out a Sound component and place it in the Viewer (#1). Wherever you drop it, it will appear in the area at the bottom of the Viewer marked Non-visible components. Under the Media pane, Click Add... (#2) Upload the meow.mp3 file to this project (#3). Under the Properties pane, click None... to change the Sound1 component's Source to meow.mp3 (#4).


















These are the buttons that have to be added in order to play the sound. 

















The Final thing should look like this on the emulator: 

No comments:

Post a Comment