Smooth Flash Bitmap animation
Out of context: Reply #7
- Started
- Last post
- 7 Responses
- ********0
The solution for the Bitmap-Shift bug, according to Flash Hacks 2004:
Summary:
create a symbol of your bitmap amd set the registration point to the bottom right.The paragraph from the book:
On careful examination, you'll notice this bug occurs only when your image's X and Y positions within the clip or on the Stage are positive. An easy solution then, is to move your image to the area of a movie clip in which the Flash Player has to deal with negative numbers to calculate each pixel position. Doing this is easy: after placing your image on the Stage in the desired position, convert it to a movie clip symbol by pressing F8. In the Convert to Symbol dialog box, shown in Figure 3-46, give it a name, and, more importantly, select the bottom-right box as being the position for the registration point. This positions the movie clip contents—your image—on the top-left side of the middle axis (i.e., in the quadrant for which X and Y positions are negative).