Basic(important) qusetion for flash site building

How can i get the disappear(i used zoom out)Effect when i click another link
i mean i want to get the zoom out effects for the previous movie clip when i click the next movie link.

You can use tweening to simulate zoom out by scaling x and y to a low value. (_xscale and _yscale properties)

if you download the file then you can understand my question.

On the Stage:[list=1]
[]Layer1 frame1: movieclip, instance name “buttonGroup”.
5 movieclips within “buttonGroup”, instance names, “b1” “b2” “b3” “b4” “b5”.
[
]Layer2, frame1: movieclip, instance name “pageGroup”.
5 movieclips within “pageGroup”, instance names, “page1” “page2” “page3” “page4” “page5”.
[*]Layer Actions, frame1: paste the script.(ActionScript 3.0)[/list]

stop();
import gs.TweenMax;
import fl.motion.easing.*;
stage.scaleMode = StageScaleMode.NO_SCALE;

//variables
var p1:MovieClip = pageGroup.page1;
var p2:MovieClip = pageGroup.page2;
var p3:MovieClip = pageGroup.page3;
var p4:MovieClip = pageGroup.page4;
var p5:MovieClip = pageGroup.page5;
var button:String = "";
var tweenPage:TweenMax;

//Initialize movieclip positions
TweenMax.allTo([p2, p3, p4, p5],  0, {alpha:0, scaleX:.1, scaleY:.1, x:450, y:300});
TweenMax.to(p1, 0, {alpha:1, scaleX:1, scaleY:1, x:450, y:300});

//event listeners
buttonGroup.buttonMode = true;
buttonGroup.mouseEnabled = true;
buttonGroup.addEventListener(MouseEvent.CLICK, removePage, false, 0, true);
buttonGroup.addEventListener(MouseEvent.MOUSE_OVER , rollover, false, 0, true);
buttonGroup.addEventListener(MouseEvent.MOUSE_OUT, rollout, false, 0, true);

function rollover(event:MouseEvent):void {
	TweenMax.to(event.target, 1, {scaleX:1.5, tint:0xFF9900, ease:Elastic.easeOut});
}

function rollout(event:MouseEvent):void {
	TweenMax.to(event.target, .5, {scaleX:1, tint:null, ease:Linear.easeOut});
}

function removePage(event:MouseEvent):void {
	button = event.target.name;
	TweenMax.allTo([p1, p2, p3, p4, p5], .7, {alpha:0, scaleX:.1, scaleY:.1, ease:Back.easeIn, onCompleteAll:loadPage});
}

function loadPage():void {
	trace(button);//this traces the event target to the output panel.
	if (button == "b1") {
		TweenMax.removeTween(tweenPage);
		tweenPage = TweenMax.to(p1, 2, {delay:0, alpha:1, scaleX:1, scaleY:1, ease:Elastic.easeOut, overwrite:false});
	} else if (button == "b2") {
		TweenMax.removeTween(tweenPage);
		tweenPage = TweenMax.to(p2, 2, {delay:0, alpha:1, scaleX:1, scaleY:1, ease:Elastic.easeOut, overwrite:false});
	} else if (button == "b3") {
		TweenMax.removeTween(tweenPage);
		tweenPage = TweenMax.to(p3, 2, {delay:0, alpha:1, scaleX:1, scaleY:1, ease:Elastic.easeOut, overwrite:false});
	} else if (button == "b4") {
		TweenMax.removeTween(tweenPage);
		tweenPage = TweenMax.to(p4, 2, {delay:0, alpha:1, scaleX:1, scaleY:1, ease:Elastic.easeOut, overwrite:false});
	} else if (button == "b5") {
		TweenMax.removeTween(tweenPage);
		tweenPage = TweenMax.to(p5, 2, {delay:0, alpha:1, scaleX:1, scaleY:1, ease:Elastic.easeOut, overwrite:false});
	}
}

Working example:
http://www.byrographics.com/AS3/siteTemplate/siteTemplate1.html

Thaks a lot but The link is not working for mine.
I’m using flash 8.Is there is any way to get ActionScript 3.0 without installing Flash cs3.

[U]This is the error report i get when trying to preview[/U]
[SIZE=2]*"Error Scene=Scene 1, layer=Layer 3, frame=1:Line 13: The class or interface ‘gs.TweenMax’ could not be loaded.
var tweenPage:TweenMax;

Error Scene=Scene 1, layer=Layer 3, frame=1:Line 26: The class or interface ‘MouseEvent’ could not be loaded.
function rollover(event:MouseEvent):void {

Error Scene=Scene 1, layer=Layer 3, frame=1:Line 30: The class or interface ‘MouseEvent’ could not be loaded.
function rollout(event:MouseEvent):void {

Error Scene=Scene 1, layer=Layer 3, frame=1:Line 34: The class or interface ‘MouseEvent’ could not be loaded.
function removePage(event:MouseEvent):void {

Error Scene=Scene 1, layer=Layer 3, frame=1:Line 39: A type identifier is expected after the ‘:’.
function loadPage():void {
"*[/SIZE]

Install TweenMax. (AS2 version)
Adapt the script to AS2.
The basic concept is the same.