Hi
i started a full flash website
i have problem in my work
in this site
johnwest.com.au
if you Rollover any object, whole Screen zoom into that point !
can you help me?
tnx
Printable View
Hi
i started a full flash website
i have problem in my work
in this site
johnwest.com.au
if you Rollover any object, whole Screen zoom into that point !
can you help me?
tnx
i mean i want this code
Use a movieclip's _xscale and _yscale properties:
Actionscript Code:normalScale = mc._xscale;
targetScale = mc._xscale+100;
speed = 5;
mc.onRollOver = function(){
delete this.onEnterFrame;
mc.onEnterFrame = function(){
if(this._xscale < targetScale){
this._xscale += speed;
this._yscale += speed;
} else {
delete this.onEnterFrame;
}
}
}
mc.onRollOut = function(){
delete this.onEnterFrame;
mc.onEnterFrame = function(){
if(this._xscale > normalScale){
this._xscale -= speed;
this._yscale -= speed;
} else {
delete this.onEnterFrame;
}
}
}
tnx for replaying
but i want to zoom specific point (x,y)
like this pic
http://i.imgur.com/1KK8d.jpg
when i Rollover on button , the picture zoom in button position
tnx