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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:23:11+00:00 2026-06-10T16:23:11+00:00

Hi this kills me :) I am using senocular for as3 move,rotate,scale,skew loaded image

  • 0

Hi this kills me 🙂 I am using senocular for as3 move,rotate,scale,skew loaded image into MC and works great, but spent a lot of time, can’t find nice solution for cropping such MC (with loaded image) with mouse. Do someone have solution (code) for 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. Editorial Team
    Editorial Team
    2026-06-10T16:23:12+00:00Added an answer on June 10, 2026 at 4:23 pm

    To display the cropped area, all you need to do is apply a mask, which is just another Display Object.

    I haven’t used Senocular’s code for this, but if you make the mask the target of his move / scale code, then you can easily implement cropping. There’s plenty on masking in the Adobe docs: http://livedocs.adobe.com/flex/3/html/help.html?content=05_Display_Programming_28.html

    In practice, you have to hide the resize / move controls when cropping, and vice-versa, which is why tools like Flash itself, or Photoshop, have separate transform and crop modes.

    From Senocular’s docs:

    // import for the Transform Tool classes used
    import com.senocular.display.transform.*;
    
    // create a box object to interact with
    var box:Sprite = new Sprite();
    addChild(box);
    box.graphics.beginFill(0xAACCDD);
    box.graphics.drawRect(-50, -50, 100, 100);
    box.x = 100;
    box.y = 100;
    
    // create the Transform Tool
    var tool:TransformTool = new TransformTool(new ControlSetStandard());
    addChild(tool);
    
    // select the box with the transform tool when clicked. 
    // deselect when clicking on the stage
    box.addEventListener(MouseEvent.MOUSE_DOWN, tool.select);
    stage.addEventListener(MouseEvent.MOUSE_DOWN, tool.deselect);
    

    Just do this, but box needs to be the mask of your movie clip, so that when you resize it, you will crop the movie clip.

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

Sidebar

Related Questions

I have this script which simply kills an app KEY_NAME=/some/path kill `ps -ef |
has anyone else experienced this . I have SP1 but i have to kill
Periodically when using pyodbc to create a connection to an oracle database, it kills
My application is using an image processing library to handle a long running task.
So I'm trying to create a signal handler using pthreads which works on both
I have this code where I have a made a character using 20 paths
I am using the following function in php to load an xml doc into
I have been trying to export a Word document into Response using ASP.Net. So
I'm trying to shutdown a MonoMac application by using Environment.Exit(0) . However, this call
Hi A software named G09 works in parallel using Linda. It spawns its parallel

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.