Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 14th, 2013  |  syntax: None  |  size: 0.73 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. - ( void ) moviePlaybackFinished
  2. {
  3.     CCLOG(@ "moviePlaybackFinished" );
  4.  
  5.     NSString * className =  [PublicApi readSceneClassName];
  6.     id aClass = NSClassFromString(className);
  7.     if(aClass!=nil)
  8.     {
  9.      if([aClass respondsToSelector:@selector(moviePlaybackFinished: ResArr: Menu:      MovieNum:)])
  10.     {
  11.  
  12. }
  13.  
  14. self.movieNum++;
  15. }
  16.  
  17. - ( void ) movieStartsPlaying
  18. {
  19.     CCLOG(@ "movieStartsPlaying" );
  20. }
  21.  
  22. #ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
  23. // Updates orientation of CCVideoPlayer. Called from SharedSources/RootViewController.m
  24. - ( void ) updateOrientationWithOrientation: (UIDeviceOrientation) newOrientation
  25. {
  26. CCLOG(@ "updateOrientationWithOrientation" );
  27. [CCVideoPlayer updateOrientationWithOrientation:newOrientation ];
  28. }
  29. #endif