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

Adobe AIR Development

Reply
Developer
Posts: 442
Registered: ‎08-02-2010
My Device: Z10
My Carrier: Telus
Accepted Solution

Play non-looping animation. Gif or avi?

I made a short non-looping clip I want to play on button click but not sure if I should import it as an avi or animated gif. One post I read said that the playbook does not yet fully support video playback.

 

P.S. using Burrito

Developer
Posts: 165
Registered: ‎10-26-2010
My Device: BlackBerry® PlayBook™
My Carrier: .

Re: Play non-looping animation. Gif or avi?

If you stick with the GIF option, there's an AS3 GIF player here: http://www.bytearray.org/?p=95

Developer
Posts: 442
Registered: ‎08-02-2010
My Device: Z10
My Carrier: Telus

Re: Play non-looping animation. Gif or avi?

Beautiful thanks Smiley Happy

Developer
Posts: 274
Registered: ‎11-01-2010
My Device: PlayBook?
My Carrier: WiFi

Re: Play non-looping animation. Gif or avi?

@studiochris: What advantages does that player offer? I use GIFs all the time without that and they always work fine.

 

@RapsFan: What do you mean PlayBook doesn't yet fully support video playback?

Developer
Posts: 165
Registered: ‎10-26-2010
My Device: BlackBerry® PlayBook™
My Carrier: .

Re: Play non-looping animation. Gif or avi?

Flash Player supports the GIF format perfectly, as long as it isn't an animated GIF. With animated GIFs, only the first frame is shown. The linked class plays the rest of the frames and gives you an interface to control the playback as you would control a video.

Developer
Posts: 442
Registered: ‎08-02-2010
My Device: Z10
My Carrier: Telus

Re: Play non-looping animation. Gif or avi?

I don't know if it's true or not but someone on another forum was having trouble getting an avi they imported into flash to play on the Playbook simulator and someone replied saying the PB doesn't yet have full video support.

Don't know if that's true though.

Developer
Posts: 274
Registered: ‎11-01-2010
My Device: PlayBook?
My Carrier: WiFi

Re: Play non-looping animation. Gif or avi?

[ Edited ]

Ah, I see. I generally just convert an animated GIF to a movieclip, but it's interesting to see that I have the option of playing at as a GIF with that.

 

@rapsfan: Interesting. Thanks for that tidbit.