View Single Post
Old May 4th, 2010, 06:52 AM   #3 (permalink)
safibaba
Junior Member
 
Join Date: May 2010
Posts: 15
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Boogs - actually yes I was. I didn't know I shouldn't be .

So is this a valid way to draw animations when using a SurfaceView?

HOWEVER - the start() thing doesn't seem to be where it falls over, because I think it doesn't even get that far.

I am getting a classcastexception here

PHP Code:
AnimationDrawable sprite = (AnimationDrawablegetResources().getAnimation(R.anim.sprite); 
I don't suppose you know where I could find an example of doing this correctly?
safibaba is offline  
Reply With Quote