Solved

Bitmaps are crunchy after being tweened in flash, how do I smooth, or restore them?

Posted on 2009-05-07
4
163 Views
Last Modified: 2013-11-11
A product gallery loads and external swf with a bitmap inside it and some text and animates it into place.

However, once the swf has come to a stop, the bitmap inside the swf remains skewed here and there - it looks like maybe two or three vertical pixel rows are jarred a bit up or down by one or two pixels - either that or they are overlapping. The image isn't destroyed but it's obviously not crisp and clear.

Does this sound familiar to anyone, is there a way to restore, or make sure the bitmap remains in tact or is restored to its true dimensions after it's been animated?

I'd consider removing the movieclip onTweenComplete and reloading it at the new position, but I want to avoid flicker or a possible delay in doing that which could be worse . . .
0
Comment
Question by:liv_singer
  • 2
4 Comments
 
LVL 12

Expert Comment

by:alien109
ID: 24327537
be sure the bitmap's resting coordinates are whole numbers, that the scale is 100% and the rotation is 0.
0
 

Author Comment

by:liv_singer
ID: 24328230
Scale and rotation are as you recommended, but some of the bitmaps in the external swfs I mentioned aren't rounded off to full pixels. I tried rounding off the positioning of one problematic bitmap, and it helped, but didn't complete solve the problem. I'll keep working on this and post more when I have a better understanding of the situation or come up with a different approach. Thanks Alien, I appreciate the feedback.
0
 

Accepted Solution

by:
liv_singer earned 0 total points
ID: 25501284
Reloading the swfs in place onTweenComplete did the trick.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question