Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 182265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:54:33+00:00 2026-05-11T14:54:33+00:00

I have a small task in Flash, that I’m having a little trouble with.

  • 0

I have a small task in Flash, that I’m having a little trouble with.

First of all, I have 2 layers. The first is a gradient with various colors, on top of that is the second layer, which is a shape tween(movie clip). For those of you using CS4, a classic tween. I’m using CS3 and Actionscript 2

I’ve allready done the shape tween, it’s very simple, it turns into a shuriken and back to the circle.

The thing is, I need to program it so that this only happens when I move my mouse over the circle. And should I move my mouse away from the circle/shuriken, it should remain forever in the shape it had the moment I left the area. So if it’s halfway from circle to shuriken and I remove my mouse from the area, it should remain in that halfway form, not jump back to being a circle.

Second, I need to be able to drag the shape, and while dragging it, the shape tween must behave like it would normally. Releasing it doesn’t make it stop ‘tweening’, only moving my mouse out if its area. The gradient background gives the nice effect of the colors constantly changing.

I’ve named the shape-tween ‘circle_mc’.

What I can’t implement:
1) The shape reacting to my mouseover
2) Making the shape dragable.

Can someone give me some hints, perhaps articles or examples on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:54:34+00:00Added an answer on May 11, 2026 at 2:54 pm

    If I’m following correctly, you should be able to place something similar to the following script inside the ‘circle_mc’ clip where your shape tween is. This will allow you to create multiple instances of the clip that do the same action. I’ve uploaded a test for you to check out. If that’s not at all what you meant, let me know. You could also create an external class to use as the base class of your graphics and put the code in there.

    var hasRolledOver:Boolean = false;  this.onPress = function():Void {     this.startDrag(); }  this.onRelease = function():Void {     this.stopDrag(); }  this.onRollOver = function():Void {     if (!hasRolledOver)     {         this.gotoAndPlay(2);         hasRolledOver = true;     } }  this.onRollOut = function():Void {     this.stop(); } 

    http://typeoneerror.com/media/as/test.fla.zip

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 262k
  • Answers 262k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer class Item < ActiveRecord::Base def duration raise NoMethodError end def… May 13, 2026 at 11:51 am
  • Editorial Team
    Editorial Team added an answer Asp.Net Design Templates - No clue if they have the… May 13, 2026 at 11:51 am
  • Editorial Team
    Editorial Team added an answer Your first constructor from Pochodna calls by default super(), a… May 13, 2026 at 11:51 am

Related Questions

I have a small task in Flash, that I'm having a little trouble with.
I am administrating a small, private website with 100% trusted users (about 60 people,
All, I've been developing Flash applications for several years, and here's something I've always
I've been experimenting with ASP.NET MVC and following this tutorial to create the basic
I have a small python script to make an installation. I need some information

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.