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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:18:38+00:00 2026-06-03T23:18:38+00:00

I have two wheels (sprites) each with a loader which when rotated the white

  • 0

I have two wheels (sprites) each with a loader which when rotated the white part shows up.
The loader is centered inside the Sprite and I am trying to make the white part disappear.

enter image description here

Any ideas?

Any pointers, would really appreciate it as still fairly new to actionscript 3.

  //create the first wheel
  backgroundURL = new URLRequest();
  backgroundLoader = new Loader();
  myWheelSprite = new Sprite();
  backgroundURL.url = "images/wheelimage.jpg";
  backgroundLoader.load(backgroundURL);

  //Use contentLoaderInfo.addEventListener to find out the image width and height.
  backgroundLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,backgroundLoaderimageFinishedLoading);
  myWheelSprite.x = 60;
  myWheelSprite.y = 60;
  myWheelSprite.addEventListener(MouseEvent.CLICK, myMouseClickFunction);
  trace("myWheelSprite X = "+myWheelSprite.x);

  //create the second wheel
  backgroundURL2 = new URLRequest();
  backgroundLoader2 = new Loader();
  myWheelSprite2 = new Sprite();
  backgroundURL2.url = "images/wheelimage.jpg";
  backgroundLoader2.load(backgroundURL);

  //Use contentLoaderInfo.addEventListener to find out the image width and height.   backgroundLoader2.contentLoaderInfo.addEventListener(Event.COMPLETE,backgroundLoader2imageFinishedLoading);
  myWheelSprite2.x =480;
  myWheelSprite2.y = 480;
  trace("myWheelSprite2 X = "+myWheelSprite2.x);

//My code to rotate the image.

function myMouseClickFunction(event:MouseEvent) {
  var myTimeline:TimelineMax = new TimelineMax({repeat:10});
  myTimeline.append(TweenLite.to(myWheelSprite, 10, {rotation:360, ease:Linear.easeNone}));  
    }    
  • 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-06-03T23:18:38+00:00Added an answer on June 3, 2026 at 11:18 pm

    What you are seeing is the white background of the leftmost image overlapping the right one.

    The best solution here is to use an image format that supports transparency, in your case PNG is probably the best.

    Use something like photoshop to remove the white parts and save the image again, Flash will respect the transparency and everything will look good.

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

Sidebar

Related Questions

I have two classes which need to be in same xml file. The way
Let's say I have a two wheeled object, where each wheel has an independent
Let's say I have two Classes like so: Car { NSInteger wheels; NSInteger bumpers;
Hello i have a app which makes 3 wheels from 3 different arrays of
I have three tables, which are each 1:n. An entry in table1 has n
I have an application which has two Tabs. Both of these are ListFragments. The
We have close to 50 help documents, some of which are accessed from two
Background I have implemented a HTTPS server which sits inside a piece of hardware
Have two folders with approx. 150 java property files. In a shell script, how
Have two actionsheet buttons and one modalviewcontroller on mainviewcontroller in application. Now for two

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.