Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
marcossit
Posts: 176
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C
Accepted Solution

cuestion with pictures and action touch

I have an image but I want to add an action that I open a qml eg this command causes 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 the actions of buttons


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


BlackBerry Development Advisor (Retired)
amarcon
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: cuestion with pictures and action touch

Developer
marcossit
Posts: 176
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C

Re: cuestion with pictures and action touch

Thanks brother


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


BlackBerry Development Advisor (Retired)
amarcon
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: cuestion with pictures and action touch

No problem, cheers.