I have a jpeg of a map which will have a ~100px border on another layer covering up the edges, creating a ‘map viewport’ effect in the flash movie. There will be other content so I can’t use the full movie size for the map.
I need to move the map around very slowly, as I’m going to have the progress of a journey shown on another layer. My problem is that I can’t get the map to move as smoothly as I’d like. It seems to jerk horribly, especially when moving diagonally it has a kind of step effect - like it’s moving sideways one pixel then up one pixel instead of going directly to the diagonal. My framerate needs to be 21, but increasing it doesn’t seem to help.
Here’s what I’ve tried so far:
- enabling/disabling runtime bitmap caching
- increasing the framerate to various values even as high as 50
- tried a keyframe tween on one layer instead of the motion guide
- tried using a motion guide instead of multiple keyframes
None of it really made any difference unfortunately. I had read somewhere that you can use actionscript to control a tween which can give better results, but I can’t find any good information on how to do that.
Is there anything else I could try to get this map sliding around more smoothly?
Thanks very much for any suggestions.
**:update - **checking the ‘allow smoothing’ option in the properties of my original image made this work great. The only thing is that the movie uses a few more % CPU with smoothing on. I’m not sure if that is a problem or not?