Tweening Problem

Posted on 2004-11-13
Last Modified: 2011-09-20

I am having a problem with some flash tweening for a rollover event.
I am using actionscript, so that when you hover over frame 1, it plays frame 2 and stops at 15. For this I am using a tint so it tweens from grey to orange.
I have checked the actionscript, which works fine, but when I play my movie, and hover over my button, as the tween happens, the button jumps up ever so slightly, probably about 1 pixel during the tween, and drops again on the fnal frame, frame 15.
I removed the tween to check my aligning was ok, and it is, all frame 1,2 and 15 are perfectly aligned.
I want to know what to do to stop the button doing this.

Thanks... Ash.
Question by:ashvbasic
    LVL 14

    Expert Comment

    Hello ashvbasic,
            Try to check the x and y coordinates of the button in the keyframes, sometimes they can be off by just a pixel. If this isn't the case, then chances are that the change of color is giving the illusion that it's moving (it happens when you use certain colors and if the shape of the button is just right).


    Author Comment

    I have checked the x and y co-ordinates, they are all identical, the problem is definately with the tween because when i remove it the aligning remains constant. The chnage of color is not it either, I have zoomed into the flash, and it definately jumps, and it also blurs slightly.
    LVL 8

    Accepted Solution

    Hi Ashvbasic,
    May be you can check the On State of your button i..e the 4 states in your button.
    Cheers :)

    Author Comment

    Ahh great thanks... it is that, even though the x and y are the same, i can see the blur and slight movement there.
    Great :)

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    730 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now