Haveing Problems with animated gif image in s60 3rd ed FP1
Login to reply to this topic.
Tue, 2009-01-20 10:08
Joined: 2008-01-03
Forum posts: 23

Sad

Hi
i am trying the following code for displaying a animated gif.
All compiles fine but when i run the application nothing is displayed Sad

The codes like this

This piece of code is writtten in constructL of my view :-

iFsSession.Connect();
iGifFileDataprovider= new (ELeave) CICLAnimationDataProvider;
iGifFileDataprovider->SetFileL(iFsSession,_L("C:\\bt.gif"));

igifanimationconfig.iFlags = TAnimationConfig::ELoop;
igifanimationconfig.iData = 10000;
TPoint gifpoint = Position();
iGifAnimatior = CBasicAnimation::NewL(iGifFileDataprovider,gifpoint,CEikonEnv::Static()->WsSession(),Window());


iGifAnimatior->Start(igifanimationconfig);

This line was writen in Draw() API of my view

iGifAnimatior->Draw(gc);

Can any one tell me am i missing some thing over there

Sad


copyright 2003-2009 NewLC SARL