Flash Zoom
Flash Zoom
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- blackspade0
woops...
if(!init)
{init = true;
_global.zf = 17;
_global.imageXScale = getProperty("_level0/Map", _xscale);
_global.imageYScale = getProperty("_level0/Map", _yscale);
_global.imageXScaleOriginal = getProperty("_level0/Map", _xscale);
_global.imageYScaleOriginal = getProperty("_level0/Map", _yscale);
}_global.setImageScale = function()
{
setProperty("_level0/Map", _xscale, _global.imageXScale);
setProperty("_level0/Map", _yscale, _global.imageYScale);
}//-then on the button I have--//
on(press)
{
_root.mcZoomIn.gotoAndPlay(2);
}on(release)
{
_root.mcZoomIn.gotoAndStop(1);
}