Code:
I'm not real sure how to make the walls non-solid.Here's the text document for the hacked version of the helicopter game(I think ur answer is in there):
movie 'helicopterhacked.swf' compressed // flash 6, total frames: 7, frame rate: 30 fps, 400x300 px
exportAssets
1 as 'downSound'
end // of exportAssets
exportAssets
2 as 'upSound'
end // of exportAssets
defineMovieClip 6 // total frames: 2
frame 0
stop
end // of frame 0
frame 1
stop
end // of frame 1
end // of defineMovieClip 6
exportAssets
6 as 'startText'
end // of exportAssets
defineMovieClip 12 // total frames: 1
end // of defineMovieClip 12
defineMovieClip 13 // total frames: 30
end // of defineMovieClip 13
defineMovieClip 14 // total frames: 6
frame 0
play
end // of frame 0
frame 5
stop
end // of frame 5
end // of defineMovieClip 14
exportAssets
14 as 'broken'
end // of exportAssets
frame 0
push 'best', 0.0
setVariable
ifFrameLoaded 4
gotoFrame 2
play
end // of ifFrameLoaded 4
end // of frame 0
frame 1
gotoFrame 0
play
end // of frame 1
defineMovieClip 17 // total frames: 1
frame 0
push 5, 1, '_root'
getVariable
push 'gotoAndPlay'
callMethod
pop
end // of frame 0
end // of defineMovieClip 17
frame 3
stop
end // of frame 3
defineButton 23
on overDownToOverUp
getURL 'http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' ''
end
end // of defineButton 23
frame 4
push 'restart', FALSE
setVariable
push 'scrollSpeed', 8
setVariable
push 'movieHeight', 300
setVariable
push 'movieWidth', 400
setVariable
stop
end // of frame 4
defineMovieClip 25 // total frames: 1
end // of defineMovieClip 25
defineMovieClip 27 // total frames: 1
end // of defineMovieClip 27
placeMovieClip 27 as 'wallBlock'
onClipEvent load
constants 'scrollSpeed', '_root'
push 'scrollSpeed', '_root'
getVariable
push 'scrollSpeed'
getMember
setVariable
end
onClipEvent enterFrame
constants 'this', '_name', 'wallBlock', '_root', 'helicopter', 'scrollStart', '_x', 'scrollSpeed', 'removeMovieClip', 'restart'
push 'this'
getVariable
push '_name'
getMember
push 'wallBlock'
equals
not
dup
not
branchIfTrue label1
pop
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
label1:
not
branchIfTrue label2
push 'this'
getVariable
push '_x', 'this'
getVariable
push '_x'
getMember
push 'scrollSpeed'
getVariable
subtract
setMember
push 'this'
getVariable
push '_x'
getMember
push 0.0
greaterThan
not
not
branchIfTrue label2
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label2:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label3
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label3:
end
end // of placeMovieClip 27
defineMovieClip 28 // total frames: 1
end // of defineMovieClip 28
placeMovieClip 28 as 'blockController'
onClipEvent load
constants 'y1', 'this', '_y', 'y1Max', '_root', 'movieHeight', '_height', 'y1Min', 'range', 'y2', 'x', 'ySpeed', 'shrinkSpeed'
push 'y1', 'this'
getVariable
push '_y'
getMember
setVariable
push 'y1Max', '_root'
getVariable
push 'movieHeight'
getMember
push 'this'
getVariable
push '_height'
getMember
push 2
divide
subtract
push 5
subtract
setVariable
push 'y1Min', 'this'
getVariable
push '_height'
getMember
push 2
divide
push 5
add
setVariable
push 'range', 'y1Max'
getVariable
push 'y1Min'
getVariable
subtract
setVariable
push 'y2', 'range'
getVariable
random
push 'this'
getVariable
push '_height'
getMember
push 2
divide
add
setVariable
push 'x', 30
random
push 30
add
setVariable
push 'ySpeed', 'y2'
getVariable
push 'y1'
getVariable
subtract
push 'x'
getVariable
divide
setVariable
push 'shrinkSpeed', 0.08
setVariable
end
onClipEvent enterFrame
constants '_root', 'helicopter', 'scrollStart', 'y1', 'this', '_y', 'y1Max', 'movieHeight', '_height', 'y1Min', 'range', 'y2', 'x', 'ySpeed', 'shrinkSpeed', 'restart', 'removeMovieClip'
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
not
branchIfTrue label3
push 'y1', 'this'
getVariable
push '_y'
getMember
setVariable
push 'y1Max', '_root'
getVariable
push 'movieHeight'
getMember
push 'this'
getVariable
push '_height'
getMember
push 2
divide
subtract
push 5
subtract
setVariable
push 'y1Min', 'this'
getVariable
push '_height'
getMember
push 2
divide
push 5
add
setVariable
push 'range', 'y1Max'
getVariable
push 'y1Min'
getVariable
subtract
setVariable
push 'y2'
getVariable
push 5
add
push 'y1'
getVariable
lessThan
not
dup
not
branchIfTrue label1
pop
push 'y1'
getVariable
push 'y2'
getVariable
push 5
subtract
lessThan
not
label1:
not
branchIfTrue label2
push 'y2', 'range'
getVariable
random
push 'this'
getVariable
push '_height'
getMember
push 2
divide
add
setVariable
push 'x', 60
random
push 1
add
setVariable
push 'ySpeed', 'y2'
getVariable
push 'y1'
getVariable
subtract
push 'x'
getVariable
divide
setVariable
label2:
push 'this'
getVariable
push '_y', 'this'
getVariable
push '_y'
getMember
push 'ySpeed'
getVariable
add
setMember
push 'this'
getVariable
push '_height'
getMember
push 180
greaterThan
not
branchIfTrue label3
push 'this'
getVariable
push '_height', 'this'
getVariable
push '_height'
getMember
push 'shrinkSpeed'
getVariable
subtract
setMember
label3:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label4
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label4:
end
end // of placeMovieClip 28
defineMovieClip 29 // total frames: 1
end // of defineMovieClip 29
placeMovieClip 29 as 'obstacle'
onClipEvent load
constants 'scrollSpeed', '_root'
push 'scrollSpeed', '_root'
getVariable
push 'scrollSpeed'
getMember
setVariable
end
onClipEvent enterFrame
constants 'this', '_name', 'obstacle', '_root', 'helicopter', 'scrollStart', '_x', 'scrollSpeed', 'removeMovieClip', 'restart'
push 'this'
getVariable
push '_name'
getMember
push 'obstacle'
equals
not
dup
not
branchIfTrue label1
pop
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
label1:
not
branchIfTrue label2
push 'this'
getVariable
push '_x', 'this'
getVariable
push '_x'
getMember
push 'scrollSpeed'
getVariable
subtract
setMember
push 'this'
getVariable
push '_x'
getMember
push 0.0
greaterThan
not
not
branchIfTrue label2
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label2:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label3
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label3:
end
end // of placeMovieClip 29
defineMovieClip 30 // total frames: 1
end // of defineMovieClip 30
placeMovieClip 30 as 'wallA'
onClipEvent load
constants 'scrollSpeed', '_root'
push 'scrollSpeed', '_root'
getVariable
push 'scrollSpeed'
getMember
setVariable
end
onClipEvent enterFrame
constants '_root', 'helicopter', 'scrollStart', 'this', '_x', 'scrollSpeed', 'removeMovieClip', 'restart'
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
not
branchIfTrue label1
push 'this'
getVariable
push '_x', 'this'
getVariable
push '_x'
getMember
push 'scrollSpeed'
getVariable
subtract
setMember
push 'this'
getVariable
push '_x'
getMember
push 0.0
greaterThan
not
not
branchIfTrue label1
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label1:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label2
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label2:
end
end // of placeMovieClip 30
placeMovieClip 30 as 'wallB'
onClipEvent load
constants 'scrollSpeed', '_root'
push 'scrollSpeed', '_root'
getVariable
push 'scrollSpeed'
getMember
setVariable
end
onClipEvent enterFrame
constants '_root', 'helicopter', 'scrollStart', 'this', '_x', 'scrollSpeed', 'removeMovieClip', 'restart'
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
not
branchIfTrue label1
push 'this'
getVariable
push '_x', 'this'
getVariable
push '_x'
getMember
push 'scrollSpeed'
getVariable
subtract
setMember
push 'this'
getVariable
push '_x'
getMember
push 0.0
greaterThan
not
not
branchIfTrue label1
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label1:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label2
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label2:
end
end // of placeMovieClip 30
defineMovieClip 35 // total frames: 4
end // of defineMovieClip 35
defineMovieClip 36 // total frames: 30
end // of defineMovieClip 36
defineMovieClip 42 // total frames: 30
end // of defineMovieClip 42
defineMovieClip 50 // total frames: 70
frame 0
stop
end // of frame 0
frame 1
play
stopSounds
end // of frame 1
frame 69
push 0.0, '_root'
getVariable
push 'nextFrame'
callMethod
pop
end // of frame 69
end // of defineMovieClip 50
placeMovieClip 50 as 'helicopter'
onClipEvent load
constants 'this', 'swapDepths', '_root', 'trail', '_visible', 'depthCounter', 'gravity', 'friction', 'scrollx', 'mainGround', 'ground', '_width', 'scrollStart', 'maxScrollSpeed', 'trailStart', 'upSound', 'Sound', 'attachSound', 'downSound', 'setVolume'
push 500, 1, 'this'
getVariable
push 'swapDepths'
callMethod
pop
push '_root'
getVariable
push 'trail'
getMember
push '_visible', FALSE
setMember
push 'depthCounter', 1
setVariable
push 'gravity', 0.0
setVariable
push 'friction', 0.9
setVariable
push 'scrollx', '_root'
getVariable
push 'mainGround'
getMember
push 'ground'
getMember
push '_width'
getMember
push 2
divide
setVariable
push 'scrollStart', FALSE
setVariable
push 'maxScrollSpeed', 30
setVariable
push 'trailStart', 1
setVariable
push 'upSound', 0.0, 'Sound'
new
setVariable
push 'upSound', 1, 'upSound'
getVariable
push 'attachSound'
callMethod
pop
push 'downSound', 0.0, 'Sound'
new
setVariable
push 'downSound', 1, 'downSound'
getVariable
push 'attachSound'
callMethod
pop
push 50, 1, 'upSound'
getVariable
push 'setVolume'
callMethod
pop
push 100, 1, 'downSound'
getVariable
push 'setVolume'
callMethod
pop
end
onClipEvent mouseDown
push 'fly', TRUE
setVariable
push 'broken'
getVariable
push TRUE
equals
not
not
branchIfTrue label1
push 0.0, 'downSound'
getVariable
push 'stop'
callMethod
pop
push 0.0, 'upSound'
getVariable
push 'start'
callMethod
pop
label1:
end
onClipEvent mouseUp
push 'fly', FALSE
setVariable
push 'broken'
getVariable
push TRUE
equals
not
not
branchIfTrue label1
push 0.0, 'upSound'
getVariable
push 'stop'
callMethod
pop
push 0.0, 'downSound'
getVariable
push 'start'
callMethod
pop
label1:
end
onClipEvent enterFrame
constants 'broken', 'scrollSpeed', 'this', '_x', '_root', 'mainGround', 'ground', '_width', 'maxScrollSpeed', 'fly', 'crashed', 'yspeed', 'gravity', 'scrollStart', '_rotation', 'depthCounter', 'trail', 'duplicateMovieClip', '_visible', '_y', 'friction', '', 'wall1', 'floor', 'gotoAndPlay', 'wall3', 'xspeed', 'wall2', 'wall4', 'restart', 'removeMovieClip'
push 'broken'
getVariable
push TRUE
equals
not
not
branchIfTrue label11
push 'scrollSpeed', 'this'
getVariable
push '_x'
getMember
push '_root'
getVariable
push 'mainGround'
getMember
push 'ground'
getMember
push '_width'
getMember
divide
push 'maxScrollSpeed'
getVariable
multiply
push 2
add
setVariable
push 'fly'
getVariable
push TRUE
equals
dup
not
branchIfTrue label1
pop
push 'crashed'
getVariable
push TRUE
equals
not
label1:
not
branchIfTrue label2
push 'yspeed', 'yspeed'
getVariable
push 2
subtract
setVariable
push 'gravity', 1.25
setVariable
push 'scrollStart', TRUE
setVariable
push 'this'
getVariable
push '_rotation', -5
setMember
label2:
push 'fly'
getVariable
push FALSE
equals
not
branchIfTrue label3
push 'this'
getVariable
push '_rotation', 1
setMember
label3:
push 'scrollStart'
getVariable
push TRUE
equals
not
branchIfTrue label4
push 'depthCounter'
getVariable
push 'trail', 'depthCounter'
getVariable
add
push 2, '_root'
getVariable
push 'trail'
getMember
push 'duplicateMovieClip'
callMethod
pop
push '_root'
getVariable
push 'trail', 'depthCounter'
getVariable
add
getMember
push '_visible', TRUE
setMember
push '_root'
getVariable
push 'trail', 'depthCounter'
getVariable
add
getMember
push '_y', 'this'
getVariable
push '_y'
getMember
setMember
push 'depthCounter', 'depthCounter'
getVariable
increment
setVariable
push 'depthCounter'
getVariable
push 99
lessThan
not
not
branchIfTrue label4
push 'depthCounter', 1
setVariable
label4:
push 'yspeed', 'yspeed'
getVariable
push 'gravity'
getVariable
add
setVariable
push 'yspeed', 'yspeed'
getVariable
push 'friction'
getVariable
multiply
setVariable
push '', 1
getProperty
push 'yspeed'
getVariable
add
push '', 9
getProperty
push 2
divide
add
push '_root'
getVariable
push 'wall1'
getMember
push '_y'
getMember
lessThan
not
not
branchIfTrue label5
push '', Y_PROPERTY, '_root'
getVariable
push 'wall1'
getMember
push '_y'
getMember
push '', 9
getProperty
push 2
divide
subtract
setProperty
push 'broken', TRUE
setVariable
push 'yspeed', 0.0
setVariable
push 'gravity', 0.0
setVariable
push 'scrollStart', FALSE
setVariable
push 'floor', 1, 'this'
getVariable
push 'gotoAndPlay'
callMethod
pop
branch label7
label5:
push '_root'
getVariable
push 'wall3'
getMember
push '_y'
getMember
push '', 1
getProperty
push 'yspeed'
getVariable
add
push '', 9
getProperty
push 2
divide
subtract
lessThan
not
not
branchIfTrue label6
push '', Y_PROPERTY, '_root'
getVariable
push 'wall3'
getMember
push '_y'
getMember
push '', 9
getProperty
push 2
divide
add
setProperty
push 'yspeed', 0.0, 'yspeed'
getVariable
subtract
setVariable
branch label7
label6:
push '', Y_PROPERTY, '', 1
getProperty
push 'yspeed'
getVariable
add
setProperty
label7:
push '', 0.0
getProperty
push 'xspeed'
getVariable
add
push '', 8
getProperty
push 2
divide
add
push '_root'
getVariable
push 'wall2'
getMember
push '_x'
getMember
lessThan
not
not
branchIfTrue label8
push '', X_PROPERTY, '_root'
getVariable
push 'wall2'
getMember
push '_x'
getMember
push '', 8
getProperty
push 2
divide
subtract
setProperty
push 'xspeed', 0.0, 'xspeed'
getVariable
subtract
setVariable
branch label10
label8:
push '_root'
getVariable
push 'wall4'
getMember
push '_x'
getMember
push '', 0.0
getProperty
push 'xspeed'
getVariable
add
push '', 8
getProperty
push 2
divide
subtract
lessThan
not
not
branchIfTrue label9
push '', X_PROPERTY, '_root'
getVariable
push 'wall4'
getMember
push '_x'
getMember
push '', 8
getProperty
push 2
divide
add
setProperty
push 'xspeed', 0.0, 'xspeed'
getVariable
subtract
setVariable
branch label10
label9:
push '', X_PROPERTY, '', 0.0
getProperty
push 'xspeed'
getVariable
add
setProperty
label10:
push 'xspeed', 'xspeed'
getVariable
push 'friction'
getVariable
multiply
setVariable
label11:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label12
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label12:
end
end // of placeMovieClip 50
defineMovieClip 51 // total frames: 1
end // of defineMovieClip 51
placeMovieClip 51 as 'trail'
onClipEvent load
constants 'trailMoveSpeed', '_root', 'scrollSpeed', 'this', '_y', 'helicopter', '_x', '_width'
push 'trailMoveSpeed', '_root'
getVariable
push 'scrollSpeed'
getMember
setVariable
push 'this'
getVariable
push '_y', '_root'
getVariable
push 'helicopter'
getMember
push '_y'
getMember
setMember
push 'this'
getVariable
push '_x', '_root'
getVariable
push 'helicopter'
getMember
push '_x'
getMember
push '_root'
getVariable
push 'helicopter'
getMember
push '_width'
getMember
push 2
divide
subtract
push 4
subtract
setMember
end
onClipEvent enterFrame
constants 'this', '_name', 'trail', '_x', 'trailMoveSpeed', 'removeMovieClip'
push 'this'
getVariable
push '_name'
getMember
push 'trail'
equals
not
not
branchIfTrue label1
push 'this'
getVariable
push '_x', 'this'
getVariable
push '_x'
getMember
push 'trailMoveSpeed'
getVariable
subtract
setMember
push 'this'
getVariable
push '_x'
getMember
push 0.0
lessThan
not
branchIfTrue label1
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label1:
end
end // of placeMovieClip 51
defineMovieClip 53 // total frames: 1
end // of defineMovieClip 53
placeMovieClip 53
onClipEvent load
push 'depthCounter', 100
setVariable
push 'flag', FALSE
setVariable
end
onClipEvent enterFrame
constants '_root', 'helicopter', 'scrollStart', 'flag', 'depthCounter', 'wallBlock', 'duplicateMovieClip', '_y', 'blockController', '_height', '_x', '_width'
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
not
branchIfTrue label4
push 'flag'
getVariable
push FALSE
equals
not
branchIfTrue label1
push 'flag', TRUE
setVariable
push 'depthCounter'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
push 2, '_root'
getVariable
push 'wallBlock'
getMember
push 'duplicateMovieClip'
callMethod
pop
push 'depthCounter'
getVariable
push 1
add
push 'wallBlock', 'depthCounter'
getVariable
add
push 1
add
push 2, '_root'
getVariable
push 'wallBlock'
getMember
push 'duplicateMovieClip'
callMethod
pop
push '_root'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
getMember
push '_y', '_root'
getVariable
push 'blockController'
getMember
push '_y'
getMember
push '_root'
getVariable
push 'blockController'
getMember
push '_height'
getMember
push 2
divide
subtract
push '_root'
getVariable
push 'wallBlock'
getMember
push '_height'
getMember
push 2
divide
subtract
setMember
push '_root'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
push 1
add
getMember
push '_y', '_root'
getVariable
push 'blockController'
getMember
push '_y'
getMember
push '_root'
getVariable
push 'blockController'
getMember
push '_height'
getMember
push 2
divide
add
push '_root'
getVariable
push 'wallBlock'
getMember
push '_height'
getMember
push 2
divide
add
setMember
label1:
push '_root'
getVariable
push 'wallBlock'
getMember
push '_x'
getMember
push 0.75, '_root'
getVariable
push 'wallBlock'
getMember
push '_width'
getMember
multiply
subtract
push '_root'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
getMember
push '_x'
getMember
lessThan
not
dup
not
branchIfTrue label2
pop
push '_root'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
getMember
push '_x'
getMember
push '_root'
getVariable
push 'wallBlock'
getMember
push '_x'
getMember
push 1.25, '_root'
getVariable
push 'wallBlock'
getMember
push '_width'
getMember
multiply
subtract
lessThan
not
label2:
not
branchIfTrue label4
push 'depthCounter', 'depthCounter'
getVariable
push 2
add
setVariable
push 'depthCounter'
getVariable
push 299
lessThan
not
not
branchIfTrue label3
push 'depthCounter', 100
setVariable
label3:
push 'depthCounter'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
push 2, '_root'
getVariable
push 'wallBlock'
getMember
push 'duplicateMovieClip'
callMethod
pop
push 'depthCounter'
getVariable
push 1
add
push 'wallBlock', 'depthCounter'
getVariable
add
push 1
add
push 2, '_root'
getVariable
push 'wallBlock'
getMember
push 'duplicateMovieClip'
callMethod
pop
push '_root'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
getMember
push '_y', '_root'
getVariable
push 'blockController'
getMember
push '_y'
getMember
push '_root'
getVariable
push 'blockController'
getMember
push '_height'
getMember
push 2
divide
subtract
push '_root'
getVariable
push 'wallBlock'
getMember
push '_height'
getMember
push 2
divide
subtract
setMember
push '_root'
getVariable
push 'wallBlock', 'depthCounter'
getVariable
add
push 1
add
getMember
push '_y', '_root'
getVariable
push 'blockController'
getMember
push '_y'
getMember
push '_root'
getVariable
push 'blockController'
getMember
push '_height'
getMember
push 2
divide
add
push '_root'
getVariable
push 'wallBlock'
getMember
push '_height'
getMember
push 2
divide
add
setMember
label4:
end
end // of placeMovieClip 53
defineMovieClip 54 // total frames: 1
end // of defineMovieClip 54
placeMovieClip 54
onClipEvent load
push 'depthCounter', 400
setVariable
push 'flag', FALSE
setVariable
end
onClipEvent enterFrame
constants '_root', 'helicopter', 'scrollStart', 'flag', 'depthCounter', 'obstacle', 'duplicateMovieClip', '_y', 'movieWidth', '_x', '_width'
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
not
branchIfTrue label4
push 'flag'
getVariable
push FALSE
equals
not
branchIfTrue label1
push 'flag', TRUE
setVariable
push 'depthCounter'
getVariable
push 'obstacle', 'depthCounter'
getVariable
add
push 2, '_root'
getVariable
push 'obstacle'
getMember
push 'duplicateMovieClip'
callMethod
pop
push '_root'
getVariable
push 'obstacle', 'depthCounter'
getVariable
add
getMember
push '_y', 100
random
push 100
add
setMember
label1:
push '_root'
getVariable
push 'movieWidth'
getMember
push 2
divide
push '_root'
getVariable
push 'obstacle', 'depthCounter'
getVariable
add
getMember
push '_x'
getMember
lessThan
not
dup
not
branchIfTrue label2
pop
push '_root'
getVariable
push 'movieWidth'
getMember
push 2
divide
push '_root'
getVariable
push 'obstacle'
getMember
push '_width'
getMember
subtract
push '_root'
getVariable
push 'obstacle', 'depthCounter'
getVariable
add
getMember
push '_x'
getMember
lessThan
not
label2:
not
branchIfTrue label4
push 'depthCounter', 'depthCounter'
getVariable
increment
setVariable
push 'depthCounter'
getVariable
push 420
lessThan
not
not
branchIfTrue label3
push 'depthCounter', 400
setVariable
label3:
push 'depthCounter'
getVariable
push 'obstacle', 'depthCounter'
getVariable
add
push 2, '_root'
getVariable
push 'obstacle'
getMember
push 'duplicateMovieClip'
callMethod
pop
push '_root'
getVariable
push 'obstacle', 'depthCounter'
getVariable
add
getMember
push '_y', 100
random
push 100
add
setMember
label4:
end
end // of placeMovieClip 54
defineMovieClip 55 // total frames: 2
frame 0
stop
end // of frame 0
frame 1
stop
end // of frame 1
end // of defineMovieClip 55
exportAssets
55 as 'startText'
end // of exportAssets
placeMovieClip 55
onClipEvent mouseDown
push 0.0, 'this'
getVariable
push 'nextFrame'
callMethod
pop
end
end // of placeMovieClip 55
defineMovieClip 60 // total frames: 1
end // of defineMovieClip 60
placeMovieClip 60
onClipEvent load
push 600, 1, 'this'
getVariable
push 'swapDepths'
callMethod
pop
push 'distance', 0.0
setVariable
end
onClipEvent enterFrame
constants '_root', 'helicopter', 'scrollStart', 'distance', 'restart', 'best', 'this', 'removeMovieClip'
push '_root'
getVariable
push 'helicopter'
getMember
push 'scrollStart'
getMember
push TRUE
equals
not
branchIfTrue label1
push 'distance', 'distance'
getVariable
push 100
add
setVariable
label1:
push '_root'
getVariable
push 'restart'
getMember
push TRUE
equals
not
branchIfTrue label3
push '_root'
getVariable
push 'best'
getMember
push 'distance'
getVariable
lessThan
not
branchIfTrue label2
push '_root'
getVariable
push 'best', 'distance'
getVariable
setMember
label2:
push 0.0, 'this'
getVariable
push 'removeMovieClip'
callMethod
pop
label3:
end
end // of placeMovieClip 60
defineButton 65
on overUpToOverDown,overDownToOverUp,outDownToIdle
getURL 'http://www.seethru.co.uk' ''
end
end // of defineButton 65
defineMovieClip 67 // total frames: 1
end // of defineMovieClip 67
placeMovieClip 67
onClipEvent load
push 1000, 1, 'this'
getVariable
push 'swapDepths'
callMethod
pop
end
end // of placeMovieClip 67
frame 5
push 'restart', TRUE
setVariable
play
end // of frame 5
frame 6
gotoFrame 4
end // of frame 6
end