A simulated scrubbable animated gif.
Mouse over the video to scrub it. Works by rapidly changing the position of a jpeg sprite sheet in the background of a div.
Inspired by GIFCTRL
A simulated scrubbable animated gif.
Mouse over the video to scrub it. Works by rapidly changing the position of a jpeg sprite sheet in the background of a div.
Inspired by GIFCTRL
| UIButton *tmpButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; | |
| tmpButton.frame = CGRectMake(0, 0, 100, 50); | |
| [tmpButton addTarget:self action:@selector(pressButton:) forControlEvents:UIControlEventTouchUpInside]; | |
| [tmpButton setTitle:@"TEST" forState:UIControlStateNormal]; | |
| [self.view addSubview:tmpButton]; |
| import re | |
| read_in = open("original.plist") | |
| write_out = open("new.plist","w") | |
| minus = 280 | |
| pat = re.compile('\t\t\t\t<real>([0-9]*)<') | |
| for line in read_in: | |
| mo = pat.search(line) | |
| if mo: | |
| value = int(mo.group(1)) |