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
Highlighted
Developer
Posts: 85
Registered: ‎06-22-2013
My Device: N/A
My Carrier: N/A
Accepted Solution

Working with GIF Image

Hello Guys,

 

I want to use a GIF image in a Qml file (ImageView).

I have used this, but it did not work.(No Animation)

ImageView {
horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Fill
id: imageView
imageSource: "3.gif"
attachedObjects: [
ImageAnimator {
id: imageAnimator
animatedImage: imageView.image
started: true
}
]
}

 

Thanks,

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Working with GIF Image

Similar thread here...

 

http://supportforums.blackberry.com/t5/BlackBerry-World-Development/Animated-GIF/td-p/375994


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 85
Registered: ‎06-22-2013
My Device: N/A
My Carrier: N/A

Re: Working with GIF Image

It worked using a WebView

 

WebView

{

    url:"local:///assets/image.gif"

}