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 6780959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:34:04+00:00 2026-05-26T16:34:04+00:00

I have loaded some images through XML and attached into dynamically created MovieClips named

  • 0

I have loaded some images through XML and attached into dynamically created MovieClips named mc0,mc1,mc2…etc.

_loader.removeEventListener(ProgressEvent.PROGRESS, onLoadingAction);
count++;
var img:Bitmap =  Bitmap(e.target.content);
img.cacheAsBitmap = true;
img.smoothing = true;
img.alpha = 0;
TweenLite.to(MovieClip(my_mc.getChildByName("mc"+count)).addChild(img),1, {alpha:1,ease:Quint.easeIn});

and within ENTER_FRAME handler

for (i=0; i < mc.numChildren; i++)
{   
    my_mc.getChildAt(i).x -= Math.round((mouseX-stage.stageWidth/2)*.006);              

}

Everthing works fine. But it is shaking so that it was not looking good.

How do I achieve smooth movement?

  • 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-26T16:34:04+00:00Added an answer on May 26, 2026 at 4:34 pm

    One solution I’ve used is to round the (x,y) position to the closest integer. No matter that you’ve added smoothing to your bitmap and cached it, rounding could make it feel less choppy and way smoother.

    Another thing you need to be careful is the dimensions of the images. Images that have an odd dimension won’t be smoothed the same way as images with even dimensions. Check how to workaround this in my blog post Flash Smoothing Issue.

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

Sidebar

Related Questions

I have loaded a logarithmic swept sine (with some short fade in/fade out) into
I have some data loaded as a np.ndarray and need to convert it to
I have a page, when loaded it does some stuff with JQ. In the
I have some code the requires the application to be completely loaded and compiled
I have to do some processing on a file loaded by the user. This
I have some vertex data. Positions, normals, texture coordinates. I probably loaded it from
I have a plugin that is loaded by this application.. This plugin calls some
Need some help, please. I have a line of horizontal thumbnails loaded as ONE
I have loaded an XML file using simplexml_load_file($filePath,'SimpleXMLElement', LIBXML_NOCDATA); And for most of the
I have a loop which goes through a video with some processing/calculations of the

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.