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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:15:23+00:00 2026-06-07T06:15:23+00:00

I am using actionscript 3.0 and I don’t understand what give us the Transform

  • 0

I am using actionscript 3.0 and I don’t understand what give us the Transform class??

 import flash.geom.Matrix;

 var mat1:Matrix = new Matrix();
 mat1.identity();
 mat1.rotate(Math.PI/4);
 mat1.scale(2,2);
 mat1.translate(10,20);

those things I can do with:

var shape:Shape = new Shape();
shape.x = 50; //the same as the translate tx
shape.y = 50; //the same as the translate ty
shape.rotation = 45; // the same as the rotate
shape.scaleX = 20; // the same as the scale X in Matrix object
shape.scaleY = 30; // the same as the scale Y in Matrix object

or the question is: What is the difference between the Matrix object methods or the Shape, MovieClip, Sprite methods that do the same thing???, I really don’t understand this, maybe I’am missing something?

  • 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-07T06:15:24+00:00Added an answer on June 7, 2026 at 6:15 am

    For one matrix operations are probably faster,

    For seconds you can easily do perform several operations on a matrix and then easily apply it on several different objects, you can also skew your points with a matrix but can’t directly with a shape. This is what a linear transformation is all about.

    Linear Map in Wikipedia

    Notice the transform point method.

    As for your second question, it depends on what you’re using it for, if you want to perform the same transformation on several similar points you should consider building a matrix once and then applying it on every point.

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

Sidebar

Related Questions

Hi when I add a new component using Actionscript I want it to fade
I'm using the actionscript api for a flash application on the web. I would
Does anyone know how to pause a VPAID flash ad using the actionscript 3
I'm using the following ActionScript for my Flash preloader, what this does is have
I'm simply playing around with basic ActionScript 3 using Flash CS3 Pro. I put
i've been studying and using actionscript exclusively for too long, that i don't even
I am using Adobe Flash CS4. I don't know why I do the sample
is it possible using actionscript to determine what operating system the flash projector is
I'm creating a game in Flash CS4 and using Actionscript 3.0. I'm adding all
I want to create template in flash using actionscript 3, this template will call

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.