How do I activate a movie clip with a button in Adobe Flash CS4 (using Actionscript 2)

Posted on 2009-12-16
Last Modified: 2013-11-12
In Flash CS4 (Action Script 2), I would like to program a button to activate a movie clip with three parts (classic tween of a scaled symbol):

1. down: Symbol scaled or squashed
2. up: Symbol at 100% of size
3. down: Symbol back to squashed state

The catch is that I would like to have the up or down state of the orange flag remain while I navigate the timeline to other frames so that I may return later to find my animation at the same state I left it in. Again, I would like to do this in Action Script 2.

PLEASE HELP. I'm confused and desperate!

Question by:rbakereu
    LVL 10

    Accepted Solution

    I think you really need to have your existing movie-clip inside a second controlling one.  The controlling one can move the one underneath and can contain the orange button too.  This way you can do whatever you want to the orange button without it being affected by the "timeline" movie-clip.  Does this make sense?

    Author Closing Comment

    Didn't make sense at first. But after much trial and . Although I am grateful for this solution and I know everyone's busy, an enclosed example would have really helped.
    LVL 10

    Expert Comment

    I'm glad if it's helped in the end.  Sorry if it wasn't clear enough.  This is not a defence of being vague but merely a comment to help in future: when providing answers it's often difficult to know exactly which part won't make sense, so it's difficult to know exactly which part to elaborate on.  In the past I've experienced giving a detailed reply only to discover that it was another bit they really didn't understand and on other occasions I've spent ages teaching grannies to suck eggs (pardon the expression).  So what I'm trying to say is that you should always feel free to comment back right away if you want people to elaborate a bit on some point you don't get - usually people will be more than happy to help.  The nature of most people on here is that we're problem solvers and love to get to the heart of an issue.  :o)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
    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 purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
    The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

    761 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

    12 Experts available now in Live!

    Get 1:1 Help Now