Cuestión photos and action button

I have an image but I want to add an action that I opened a qml for example, this command requires to run an image. WAW

ImageView {
imageSource: "asset:///images/pato.png"
// If we touch the background we want a moo to sound.
onTouch: {
if (event.isDown ()) {
app.playSound("oleaje.wav");
}
}
}

but I want that instead of playing a sound, open a qml me something like actions buttons

Hi marcossit,

have you looked at https://developer.blackberry.com/cascades/reference/bb__cascades__imagebutton.html ?

I also suggest that you take a look at https://github.com/blackberry/Cascades-Samples/tree/master/cascadescookbookqml , or even https://github.com/blackberry/Cascades-Samples/tree/master/poemmaker

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • My photos and color buttons

    whenever I access my photos and click on the records that some of the thumbnails appear with a box in the left corner. three colors of the box may appear. a gray with a slash, a green with arrow or a blue with two lines parallel tilde. What are they, where they come from, and more importantly, how do I get rid of them?

    Hi Michael,

    I understand that on the Photos app, you see three colors of the box.

    I would ask to send you the screenshot detailed boxes that you see on the photo app, so that we get the clear picture of the issue, you are faced with.

    See the following link for instructions download the screenshot.

    http://answers.Microsoft.com/en-us/Windows/wiki/windows_other-windows_programs/how-to-include-a-screenshot-in-your-post/2594b08e-32a3-476A-85A6-b021181be7e4

    Answer us with useful information for you to help. We at Microsoft tender towards excellence.

  • How can I get my action button can be log off and not closed? I select it in the customization tab, hit apply and then ok, but nothing changes.

    How can I get my action button can be log off and not closed?  I select it in the customization tab, hit apply and then ok, but nothing changes.

    Hi Erin,.

    Please check if you have followed the steps below to change the action of the Power button.

    By default, clicking on close button in the start menu stop your computer. You can change this so that instead of close, your computer logs you off, crashes, restarts, goes into a State of sleep or goes into hibernation.

    1. open properties of the Start Menu by clicking theStart button, clickingControl Panel,appearance and personalization, then clicking on thetaskbar and Start Menuand the taskbar.

    2. click on theStart Menu tab.

    3. in the list ofthe power button , click an item, and then clickOK.

    When you change the action of the closure of the key, the button name changes to reflect the new action.

    If the steps above do not change the option, you can try creating a new user account on your computer and check to see if it helps you change.

    To create a new user account.

    1. open user accounts by clicking the Start button, clickControl Panel, click user accounts and family safety (or by clicking onuser accounts, if you are connected to a network domain), and then clickinguser accounts.

    2. click on Manage another account. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. click on create a new account.

    4 type the name that you want to assign to the user account, click an account type, and then clickcreate an account.

    If you are able to change the action of the power button by using the new profile, access the link below and follow the steps to correct the user's profile.
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R Microsoft support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Action Script 3 code works does not start and stop button?

    OK so I have what I have created simple animations of a circle that moves from one side of the stage to the other. I have added a new layer and named her buttons. On this layer, I added 2 buttons. One for the beginning and another to stop. The goal is to get my circle to pass from one side of the stage to the other, but be able to use my buttons so that I can start and stop times random animations during playback. I've corrected all my faults of the compiler now the problem is that whenever I click on the start or the stop button, I get an error output. I have a 3rd layer which is called actions and that's where all my code is displayed. I removed this layer and put my code in the first frame of the layer of buttons to see if that would change anything but I still get the same errors of output. So I just added back my layer actions. What could I do it wrong? I made sure to name all of my video clips and buttons correctly and I even added an instance name for them.

    Here is my code and errors I get when I press play and stop button - test

    start_btn.addEventListener (MouseEvent.CLICK, startCircle);

    stop_btn.addEventListener (MouseEvent.CLICK, stopCircle);

    function startCircle(e:MouseEvent):void {}

    Circle.Play ();

    }

    function stopCircle(e:MouseEvent):void {}

    Circle.Stop ();

    }


    green_btn.addEventListener (MouseEvent.CLICK, greenCircle);

    red_btn.addEventListener (MouseEvent.CLICK, redCircle);

    function greenCircle(e:MouseEvent):void {}

    Circle.Play ();

    }

    function redCircle(e:MouseEvent):void {}

    Circle.Stop ();

    }

    Here's my output errors-

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at exercise2_fla::MainTimeline/redCircle()
    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at exercise2_fla::MainTimeline/greenCircle()

    What timeline you want to stop?

  • "Go to the State" action button not active

    I'm working on my first EPUB fixed provision. I use InDesign CC 2014 on my Mac with OS X 10.9.5 book. Here was my basic far workflow:

    1. Opens a file model magazine (paper version) and used for content layout
    2. Creates an object multi-state of 6 photos
    3. Radio buttons added since the buttons in the sample under menu buttons
    4. Trying to add action of option buttons "go to the State." However, all the options under SWF/EPUB only, including the "go - to" state", are inactive.

    Any ideas on what I need to do with the file so the options are active?

    Transferred to InDesign EPUB forum.

    Radio buttons are not intended for this function. I suggest to create buttons yourself and assigning action to those.

  • Uploading photos and videos to iCloud...

    Hello, I have the same challenge that many seem to have, in that my photos and videos take forever to download if they load at all. This is a paid service and the answers seem to be "it could take a month" or "be patient"? Well, it has been over a week now and my 35 pictures and 6 videos have not downloaded. I've stopped and started the service, I rebooted my phone and left if for hours and nothing. It is absolutely ridiculous and I would be really grateful if someone could give something more than a 'be patient' so that Apple continues to extract funds from me for a service that can not be used?

    Oh and the videos are not large (we are 67seconds and they total 329seconds) as I had no space to take big videos because I waited "patiently" to download photos and how big can they really be?

    I have 45.7 GB of unused space.

    Waiting patiently...

    Suspend the download and turn off iCloud library temporarily.

    Have you tried signing off iCloud and then insert it again? I suggest that you try it. Once signed in, return iCloud library on which will restart the download.

    If this does not work, then try to reset your device: hold the home and power buttons at the same time and continue to hold until the Apple appears (up to 30 seconds). Once the slide to unlock screen is displayed again, return iCloud Phtoto library on which will restart the download.

    See you soon,.

    GB

  • Minimize, maximize and close buttons missing in Vista

    No minimize, maximize and close buttons are on Vista, is by clicking in the appropriate box performs the action.

    Disabled the transparency of Vista, then power. When I open Firefox (narmally, not in safe mode) buttons have reappeared. Seems related to the "tabs on top" setting, as the "list all tabs" button (normally at the end of the tabs, appeared at the top on the right, where the "Close" button should be.

  • I was on facebook and remove an icon by using the right-click menu, but then all my photos and pictures of profile, could no longer be seen. I was able to view them in the browser, so it's something I've done in Firefox. How can I unlock a site? "

    I was on facebook and remove an icon by using the right-click menu, but then all my photos and pictures of profile, could no longer be seen. I was able to view them in the browser, so it's something I've done in Firefox. How can I unlock a site?

    If you select that right click menu context then you block all images from this area and not a specific image, so do not use that.

    • Check exceptions in tools > Options > content: Load Images > Exceptions (for example sphotos.ak.fbcdn.net)

    You can use the following steps to check if the images are blocked:

    • Click on the "More information" button to open the "Page Info" with the Security tab selected (also accessible via "tools > Page Info").
    • Go to the Media of the window tab "tools > Page Info.
    • Select the first link of the image and scroll down through the list with the arrow down.
    • If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.
  • phone keeps deleting photos and restart

    My daughter 6 keeps iPhone automatically delete photos and reboot.  He did it over and over.

    Try a forced reboot and see if she left to restart.

    To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

  • My iPhone does not to import! How can I appear in the Photos and delete those that are already imported?

    My iPhone does not to import! How can I appear in the Photos and delete those that are already imported?

    My iPad appears fine with an option to import the 'new' photos and then delete them once they are imported. However my iPhone appears not at all on the pictures. Although most is already imported via the cloud, some are not, but more importantly, I would remove at least half of 30 000 photos that are taking place on my phone and a "clear items after button import" would be nice right now! I tried to turn off photo stream on my phone, but it still does not appear in the application.

    What can I do?

    Thank you!

    If you use iCloud photo library you cannot delete pictures after the import (or) - deletions on any device will be on all devices - if storage is a question about a device set to use optimized photos

    LN

  • HP Officejet Pro 8600: Recently a fax pops up when I try to print photos and the picture does not print

    We have a printer all-in-one HP Officejet Pro 8600 operating from a desktop HP with Windows 7. Recently, in the last two weeks my wife told me, we cannot print photos. The documents appear to be printed without a problem, but when trying to print a photo we get a window titled 'Send Fax - HP Officejet Pro 8600'. We have never used or even hung fax capablitly since we have owned this printer (maybe 2-3 years). All of a sudden, this window is displayed when we try to print a photo and the photo does not print.  I can't tell you that my wife did not hit accidentally a wrong button somewhere down the line, but she says she does not. I tried to attach a screenshot of the window, but for some reason that it does not take it. It's probably something very simple, but technically challenged myself, I can't understand. Help, please.

    Thank you

    Vince Pellerito

    Print picture of what program?  Some programs to keep their own default values for the printer.  It seems that the default printer for the printing of the photo program has been set to Fax.  Try to open the program, select the Officejet Pro 8600 as the printer rather than the Officejet Pro 8600 fax.

  • What is the difference between 'Photos' and 'All of them'?

    I migrated to iPhoto to picture several months ago.  I also stored pictures in iCloud.  I have about 8 000 photos.

    On the Photo, there is a file in the upper left corner labeled "pictures".  Under the Albums, there is an another Doggie labelede "All Photos".   A lot of photos in "All Photos" and not in "Photos".   I also have a lot of iPhoto events listed.  A lot of photos in the folder "Pictures" are not in the folder "pictures".   What can someone tell me the difference between these two cases?  They are obviously different.

    'Photos' brings together the photos and displays at the top of each group a place and date (month and day only, no year).    "All Photos" has a beginning and end date day, month, year.  But nothing else that a continuous string of pictures without separation, titles or dates.  The start date is not correct.

    I find pictures more confusing and difficult to know how to navigate around.  I guess the 'Pictures' folder is the pictures on iCloud?  (Is there a download button on the lower left corner of each photo).

    they are not records - Photos is your library and is sorted by the date photo number - it can show the years or collections or moments

    All Photos is a special photo album and is sorted by the date, the photos are added to Photos

    Unless you have a corrupt library all in all Photos is also in pictures and numbers are the same

    If you use iCLoud library then your library is synchronized via iCLoud to all devices so seeing pictures is the same as the iCLoud.com view and like on every IOS device or another Mac using ICPL under the same Apple ID

    LN

  • Scanning multiple photos and save them in dependent files

    Have a new printer, a large Format HP Officejet 7500 a.

    ProductName; C9309A - SSN {removed privacy}.

    Installed on Windows 7 Pro and Mac OS X

    Question; Scanning multiple photos and save them in dependent files, as it used to be with the series HP4500. Possible or not? No msg error but boring...

    This is possible, plaurier, but you will need to select it in the printer for scanning software. When you are scanning from your computer, there should be a window that appears with information about the type of file you want to save as only as well as the details of the analysis.

    Here there should also be a button or a link for the "Advanced" options You can choose if you used to save the scans as a single file or multiple.

    Let me know if it helps!

  • MediaSmart Photo and Webcam does not not on HP Pavilion dm1-2150so with Windows 7

    I have a HP Pavilion dm1-2150so with Windows 7. When I double click a photo that she usually opens with HP Photo Viewer, now it doesn't. When I choose "open with...". "another program like paint or Windows Photo Viewer there is no problem. HP Photo Viewer is the default program ("Preview with HP Photo Viewer" is the "BOLD" alternative, when I right click on an image).

    I tried to open the program (both from the Start Menu and the MediaSmart button next to the Start Menu button), but it does not work either. The MediaSmart button, you can also "use the webcam' or"Watch movies and television", so I tried to open the webcam but who does not either. Although when I clicked on the «watch movies...» "- button, the video program works normally.

    What's wrong? Should / can I reinstall the whole MediSmart and if so, how do I that?

    Thank you, Kell

    Hey Kell,

    I think that you were right assuming that the best way to solve this problem would be to reinstall both applications - you can do the following.

    First, download the programs installation for two applications using the links below and Save both in your downloads folder.

    HP MediaSmart Photo.

    HP MediaSmart Webcam.

    When the completed downloads, windows, Control Panel, open programs and features, right-click on HP MediaSmart Photo and select uninstall - when it is finished, do the same for HP MediaSmart Webcam.

    Reboot the laptop.

    When windows has completely recharged, open your downloads folder and double-click the HP MediaSmart Photo install to start installation - once this is completed, do the same thing for HP MediaSmart Webcam.

    When the two facilities are completed, restart the computer again.

    Kind regards

    DP - K

  • I have about 1000 vacation photos and all are 3.23 mb (4608 x 3456).

    I want to compress them using MS photo mgr.  I don't want compromising pictures, but I'm sure by doing this, I share them? I see that I can compress for web pages, these will be posted on my blog. I hesitated because I'm not sure what it actually does to the images.  If later I want to print (after compression), I see a change or disruption in the pictures? Am I worrying unnecessarily? This is new for me. Thank you.

    I want to compress them using MS photo mgr.  I don't want compromising pictures, but I'm sure by doing this, I share them? I see that I can compress for web pages, these will be posted on my blog. I hesitated because I'm not sure what it actually does to the images.  If later I want to print (after compression), I see a change or disruption in the pictures? Am I worrying unnecessarily? This is new for me. Thank you.

    ==============================================

    Pay attention to resize/compress the photos in
    Microsoft Office Picture Manager.

    If you resize/compress the original photos and save

    the results... your originals full sizes will be lost. In
    in other words the new size replaces the original.

    The Web option... for example...resizes/compresses
    photos of 440 x 336, which is quite small.

    The best would be to create a copy of the photos and
    make any modification/resize/compression/etc... on
    copies and keep your unpublished originals.

    ===

    More information about the photo manager
    ===

    If you resize/compress a picture with Picture Manager
    and save it when you close the program and see
    the dialog box stating:

    "There are changes that have not been saved"

    If you save... the original photo will be replaced
    (replaced) with version rezized/compressed...
    The original IOW will be unrecoverable.


    To maintain two versions of the photo...resize/compress
    it and go to the... File / save as... Enter a new name for
    version resized/compressed and left click the
    Save button.

    When you close the photo manager and see the
    dialog box:

    "There are changes that have not been saved"

    On the left, click the do not save"" button. Now
    have both versions.

    FWIW... Here's a free resizer which is easy to use and all
    you have to do is right click on a picture or a selected group
    and the menu, choose Prish Resizer.

    Select the size and the app will create a new folder named
    Resized that contains your resized copies.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Prish Image Resizer
    http://www.photo-freeware.NET/Prish-image-resizer.php
    (Operating system: Windows XP / Vista / 7 / 8)
    (the name of the 32-bit file is: 32bit_PrishResizer_2519.msi)
    (for 64 - bit file name is: 64bit_PrishResizer_2519.msi)

    (Note... the download links for 32-bit and 64-bit are reversed)

Maybe you are looking for

  • My phone number still works after resetting?

    Hello. I've not done this before. I just want to know if my phone number with my carrier still works once I reset my device. Also, how time reset take? Thank you.

  • 5 k monitor with MacPro 6.1 (late 2013)?

    Hi, MacPro with 2xATI FP D500 GPU with 5 k compatible monitor? Thank you

  • Display without frame?

    HI - can any please tell me "what is frameless display? I got my Y530 today but he got an image from all sides... I just wanted to know what exactly lenovo means saying 'frameless '... Or is it specific to all models? Mine is 40516AU... Thank you

  • Play Chess Titans

    Whenever I'm playing Chess Titans of my SONY VAIO VGN-AW11M/H Notebook, I noticed that graphic display flashes. I tried to install the latest drivers for my card (nVIDIA GeForce 9300 M GS) graphics, but the installer told me that the o/s is not suppo

  • The SL1 does support Auto ISO in manual mode?

    Hello The SL1 meter properly in manual mode and change AUTO ISO? Thank you.