Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-09-2010, 12:38 AM   #9 (permalink)
rahul7star
Registered Member
 
Join Date: Aug 2009
Posts: 126
Default

try this
id anim = [[Animation alloc] initWithName:@"fight" delay:0.1];
[anim AddFrameWithName:@"goblin_swing_01"];
[anim AddFrameWithName:@"goblin_swing_01"];
[anim AddFrameWithName:@"goblin_swing_02"];
[anim AddEvent:@"something"];
[anim AddFrameWithName:@"goblin_swing_03"];
[anim AddFrameWithName:@"goblin_swing_02"];

[someSprite runAction:[Animate action:anim withDelegate:self]];
rahul7star is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,868
Threads: 89,225
Posts: 380,691
Top Poster: BrianSlick (7,129)
Welcome to our newest member, stokesreece
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:22 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.