I am having problems with my textfield not flowing with the scene transistion. Basically my scene is transition with this call:
Scene* gs = [[[QuestionsScene alloc] initWithPage:2] autorelease];
[[Director sharedDirector] replaceScene: [SlideInRTransition transitionWithDuration:0.5 scene: gs]];
However in my init i have a textfield called here:
[answerBox setTextColor:[UIColor blackColor]];
[answerBox setTextAlignment:UITextAlignmentLeft];
[answerBox setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft];
[answerBox setClearsOnBeginEditing:YES];
[answerBox setBorderStyle:UITextBorderStyleRoundedRect];
[answerBox setDelegate:self];
[answerBox setReturnKeyType:UIReturnKeyDone];
[answerBox setAutocapitalizationType:UITextAutocapitalizationTypeWords];
[[[Director sharedDirector] openGLView] addSubview: answerBox];
The textbox does not follow the transition, it just sits there into the next scene. Anyone have an idea on how intergrate the textfield into the transition?