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

Posted on 2009-12-16
Medium Priority
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
  • 2
LVL 10

Accepted Solution

najh earned 1500 total points
ID: 26063630
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

ID: 31666725
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

ID: 26381728
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)

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
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 integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
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.
Suggested Courses

839 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