Hi,
Need help.
What i am trying
I am trying to zoom in and out a movie clip using Action script. i have created a function for the same.
e.g. when i click a MovieClip it will zoom in and play an FLV. when i click it again it will zoom out.

Issue
issue lies here (highlighted in red) in the function
new Tween(
red Code:
zoomIn_mc_1
,"_xscale", normal.easeOut, zoomIn_mc_1.

if i am giving direct name of the Movieclip (object) it is working fine however if i capture movieclip name on click and use it in function its not working. i am putting my code below.. Please guide me if i have done something wrong in it.

Thanks a ton....

import mx.transitions.Tween;
import mx.transitions.easing.*;

var zoom:Boolean = true;
var btn_stat:Boolean = true;
var zoom_size:Number
var zoom_size_1:Number
var mc_name:String
var mc_name_1:String

//trace (btn_stat)
zoomIn_mc_1.onRelease = function () {
if (btn_stat == true){
btn_stat = false
zoom_size = 110
mc_name = "_root." + this._name
//trace(mc_name)
zoom_inOut(zoom_size,mc_name)
//trace (btn_stat)
}else if (btn_stat == false){
btn_stat = true
zoom_size = 20
mc_name = "_root." + this._name
zoom_inOut(zoom_size,mc_name)

//trace (btn_stat)
}
}

function zoom_inOut(zoom_size_1,mc_name_1){

var ZoomInX:Tween = new Tween(zoomIn_mc_1,"_xscale", normal.easeOut, zoomIn_mc_1._xscale,zoom_size_1,1,true);
var ZoomInY:Tween = new Tween(zoomIn_mc_1,"_yscale", normal.easeOut, zoomIn_mc_1._xscale,zoom_size_1,1,true);
}