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
Posts: 50
Registered: ‎10-09-2009
My Device: 9900
My Carrier: Bell
Accepted Solution

Timer to have labels blink of flash like a movie trailer

Hi,

I am trying to have labels blink or flash in the screen, once, a bit like movies trailer.   I was thinking about a timer to control the sequence but my timer need to start at the beginning of the program and nothing seems to work.  I notice the timerevent on label control but don't really understand it ?  Could someone tell me if I am on the right track with this timer idea or if I should do something else?

Highlighted
Developer
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: Timer to have labels blink of flash like a movie trailer

Take a look at QTimer, you could use that to change the opacity of a label to make it look like its flashing. Implicit animations on the property will make the transition smooth
Like all of my posts
Developer
Posts: 825
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: Timer to have labels blink of flash like a movie trailer

[ Edited ]

This tutorial goes through setting up a timer, having it update a couter & change the active light color

 

 

Developer
Posts: 50
Registered: ‎10-09-2009
My Device: 9900
My Carrier: Bell

Re: Timer to have labels blink of flash like a movie trailer

Thanks both of you for the information, it is working fine.