equal
deleted
inserted
replaced
|
1 |
|
2 D = Ti.API.get( 'D' ); |
1 |
3 |
2 // Animate the background image. |
4 // Animate the background image. |
3 // |
5 // |
4 var set_frame = function( frame ) { |
6 var set_frame = function( frame ) { |
5 var frames = 8; |
7 var frames = 8; |
26 for ( var i = 1; i < 9; i++ ) { |
28 for ( var i = 1; i < 9; i++ ) { |
27 var img = new Image( 600,432 ); |
29 var img = new Image( 600,432 ); |
28 img.src = "app://img/about/" + i + ".jpg"; |
30 img.src = "app://img/about/" + i + ".jpg"; |
29 } |
31 } |
30 |
32 |
31 D.delay( function(){ set_frame( 1 ) }, 5000 ); |
33 D.delay( function(){ set_frame( 1 ) }, 5000, true ); |
32 }); |
34 }); |
33 |
35 |
34 |
36 |