Local Variables

Definition = Variables that can only be used in the handler in which they are referenced. In this example they hold the current width and height of the object that gets scaled so that every time the button is pushed it can check the current size and use that to then double it

Flash equivalent =
same

----------------------------------------------

Director Example
on mouseup
xdim = sprite("red").width
ydim = sprite("red").height
sprite("red").width=xdim*2
sprite("red").height=ydim*2
end

Flash Translation
on (release){
xdim = red._xscale;
ydim = red._yscale;
red._xscale=xdim*2;
red._yscale=ydim*2;
}

//must have had your "red" named graphic as a movie clip or button to work. Xdim & ydim were the variables used in this example.