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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:37:52+00:00 2026-05-23T06:37:52+00:00

got another little provlem with flex … i’ve made a ellipse and i want

  • 0

got another little provlem with flex …
i’ve made a ellipse and i want to rotate it dynamicly.
made a h:slider which change the rotate=”” value of the ellipse.
and it rotates fine. but the rotation point is in the middle of the ellipse.

i want it at the bottom (y) and middle (x).

there are some transformY and transformX arguments for the ellipse, but they have no effect?

my function

private function rotateRadius():void {
if(wind.selected) {

selected.radiusDisp.rotation = radiusRotate.value;
}else {

}

}

would be great if someone can give me a hint

  • 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-23T06:37:53+00:00Added an answer on May 23, 2026 at 6:37 am

    That is the simplest way to change the way an object is rotating.

    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark">
    
    <s:controlBarContent>
        <s:HSlider id="rotationSlider" minimum="0" maximum="360" />
    </s:controlBarContent>
    
    
    <s:Ellipse rotation="{rotationSlider.value}" transformX="100" transformY="50" width="200" height="100" x="100" y="100">
        <s:fill>
            <s:SolidColor color="red" />
        </s:fill>
    </s:Ellipse>
    
    
    <s:Ellipse rotation="{rotationSlider.value}" transformX="100" transformY="100" width="200" height="100" x="400" y="100">
        <s:fill>
            <s:SolidColor color="red" />
        </s:fill>
    </s:Ellipse>
    

    If you want your ellipse to rock/roll on the surface, you need to add a bit trigonometry to calculation of the registration point.

    HTH,
    FTQuest

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

Sidebar

Related Questions

I've got another problem (which might not be an issue in terms of coding
I've got yet another deployment problem. What I have: little Windows Forms application that
I have a little problem... I have made an Android application which extends the
I've got an a tag, which links to another page. When the user clicks
I got another problem, this time with tables and their borders in HTML (4.01,
I've got another problem in the same code... I'm getting this error: initialization method
I've got another question regarding to basic Android programming: How can I access the
I just got another assignment for web design. And I was curios how to
I have a domain with host www.mydomainhost.com . Now i got another domain named
I'm trying to get my function to return the data it got into another

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.