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

  • SEARCH
  • Home
  • 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 7543791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:31:10+00:00 2026-05-30T08:31:10+00:00

I am trying to do a apply a tween for the width property on

  • 0

I am trying to do a apply a tween for the width property on a MovieClip Object but every time it changes the width and the position too, and I don’t want that. I want to change the width going to one side without changing the x and y of the object.

I tried both of thes and they gave the same result.

var c:Tween = new Tween(left, "scaleX", Strong.easeOut, 1, 1.5,20,true);
var c:Tween = new Tween(left, "width", Strong.easeOut, 20, 200,20,true);

I think it is applying the transformation according to a center of the movie clip. but I don’t know how it can be changed.

any help ?

  • 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. Editorial Team
    Editorial Team
    2026-05-30T08:31:12+00:00Added an answer on May 30, 2026 at 8:31 am

    Your problem is fact that you don’t draw your movie clip correctly and it’s bounding box dont start from x,y, 0;

    what you can do

    1. fix movie clip to have graphics in 0,0 position.

    or

    2. put your “left” object inside another object at position 0,0 and than scale.

    or

    3. you can proportionally move the x coordinate also while re size animation is working

    var c:Tween = new Tween(left, "width", Strong.easeOut, 20, 200,20,true);
    var c1:Tween = new Tween(left, "x", Strong.easeOut, left.x, left.x+delta*200/(2*20),20,true);
    

    where delta is offeset of your image inside movie clip.

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

Sidebar

Related Questions

I'm trying to apply the object properties from objA to objB but I realised
I'm trying to apply a style to an adorned element, but I don't know
I'm trying to apply CSS3 image-resolution property on my image but it has no
I'm trying to apply a transform to a 3D object in a STL File
I am trying to apply a method to an existing object which involves using
I am trying to apply this sticky footer pattern to my template: http://ryanfait.com/sticky-footer/ But
i'm trying to implement kinetic scrolling of a list object, but i'm having a
i have been trying to apply the Gridview Tutorial but i'm stuck in an
I am trying to apply Copy to clipboard to my website, but there seems
so im trying to apply a basic on click show hide element but for

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.