The Nudge Factor

[ LiB ] 

Any time you select an object on the Stage in Flash and move it around using your arrow keys, you'll move the item a varying number of pixels based on your view scale. Here's how it works. If you are at 100%, a simple arrow key nudge will move the item 1 pixel in that direction. Holding down the SHIFT key while nudging will move it 10 times as far (10 pixels). If you set your view scale to 50%, a nudge will move it 2 pixels and a SHIFT nudge will be 20 pixels. The opposite is true when your view scale is set to 200%. You can use this information to figure out how far Flash will move your selected objects. But as you can see, if you set your view to some arbitrary number like 34%, you'll have a much harder time determining the nudge factor.

Here's a formula you can use to figure out those complex ones. For regular nudge, use 1/(Zoom Percentage/100). For SHIFT nudge, use 10/(Zoom Percentage/100).

[ LiB ] 


Macromedia Flash MX 2004 Killer Tips
Macromedia Flash MX 2004 Killer Tips
ISBN: 0735713839
EAN: 2147483647
Year: 2003
Pages: 300
Authors: Shane Elliott

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net