3d Starfield problem (based on senocular's script)

I have been working with the code from the tutorial on [size=2][font=Arial][size=2]
[/size][/font][/size][font=Verdana][size=4][color=#003366]Scripting** 3D in Flash**[/color][/size][/font][font=Arial][size=2][font=Verdana][size=4][color=#003366]
[/color][/size][/font][font=Verdana][size=1][color=#999999]by senocular[/color][/size][/font][/size][/font][size=2] .[/size]


What I am trying to do is add a button on the stage of the starfield mc that causes the camera to zoom back away from the star field ie “cameraView.target.z = -this.z”.

I can get the stars to go in reverse just by changing the this.z to -this.z in the selectStar function. However, I cant seem to find a way to add this action to an mc that is stationary on my stage. My overall goal for this clip is to learn how to zoom into an object by pressing on it, then zoom back out to the original cameraView position. I tried just adding this action to my button:

on (press) {
_parent.cameraView.target.z = -this.z;

but all that did was stop all motion.

I really want to learn the script for doing dynamic websites like those done by sofake and wefail (i.e. Amplifier.com). I am self taught at flash and am currently going through a few books to learn actionscript, I really want to learn this (not just cut and paste) but I’ve run into a wall, and being that I’m the only Flash designer I know, it would be amazing if some kind person could lead me in the right direction.

P.S.(the sourcefiels can be downloaded here http://www.kirupa.com/developer/actionscript/hourglass_spaceship.htm )

Thank You for your time

Matt Fenton.