MadWilson
11-14-2002, 09:24 PM
// The Button
on (press){
_root.L_size = 1;
}
// The code to size a MC.
onClipEvent (load){
_root.L_size = 0;
}
onClipEvent (mouseMove){
if (_root.L_size){
if (_xmouse < _xmouse + (_xmouse + _root._xmouse)){
_xscale = this._x - _root._xmouse;
}else if (_xmouse > _xmouse + (_xmouse + _root._xmouse)){
_xscale = this._x - _root._xmouse;
}else if (_ymouse < _ymouse + (_ymouse + _root._ymouse)){
_xscale = this._x - _root._ymouse;
}else if (_ymouse > _ymouse + (_ymouse + _root._ymouse)){
_xscale = this._x - _root._ymouse;
}
}
}
What I am haveing a problem with is geting my _ymouse to size my MC? The _xmouse sizes right.
Thanks
MadWislon
on (press){
_root.L_size = 1;
}
// The code to size a MC.
onClipEvent (load){
_root.L_size = 0;
}
onClipEvent (mouseMove){
if (_root.L_size){
if (_xmouse < _xmouse + (_xmouse + _root._xmouse)){
_xscale = this._x - _root._xmouse;
}else if (_xmouse > _xmouse + (_xmouse + _root._xmouse)){
_xscale = this._x - _root._xmouse;
}else if (_ymouse < _ymouse + (_ymouse + _root._ymouse)){
_xscale = this._x - _root._ymouse;
}else if (_ymouse > _ymouse + (_ymouse + _root._ymouse)){
_xscale = this._x - _root._ymouse;
}
}
}
What I am haveing a problem with is geting my _ymouse to size my MC? The _xmouse sizes right.
Thanks
MadWislon