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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:04:35+00:00 2026-05-24T00:04:35+00:00

I want to use Image Reflection in trapezoid shape. That why i ask how

  • 0

I want to use Image Reflection in trapezoid shape. That why i ask how to create trapezoid shape with the class of matrix

  • 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-24T00:04:36+00:00Added an answer on May 24, 2026 at 12:04 am

    For shear mathematical reasons you can’t achieve this with the Matrix class per se.

    However, the effect you are looking to achieve, i.e., having an image or component reflection look as though it has 3D perspective, can be achieved as long as you are compiling for Flash Player 10, or greater. You can do this using the Matrix3D class, which allows you to affect pseudo-3D transformations (projective transformations) in Flash.

    Example

    In the MXML:

    <mx:Image id="img" source="@Embed('image.jpg')"/>
    <mx:Image id="reflection" source="{img.source}"
              creationComplete="reflectImage()"/>
    

    and in the script block:

    protected function reflectImage():void
    {
        var m3D:Matrix3D = new Matrix3D();
        m3D.appendScale(1,-1,-1);  // flip the image
        m3D.appendTranslation(0,img.height,0);  // move it back to (0,0,0)
        m3D.appendRotation(-45, Vector3D.X_AXIS); // rotate it (this gives it the trapezoid shape)
        m3D.appendTranslation(0,img.height,0);  // move to the bottom of "img"
    
        reflection.transform.matrix3D = m3D;    
    }
    

    You’ll probably want to play with the numbers a bit to affect the look you’re going for, but this is the way to go about it.

    Note: Any transformations (like setting x, y ) in the MXML will be overridden by the reflectImage function.

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

Sidebar

Related Questions

I want to use URL such as /Image/sample.png I create route, but it does
I want to write a shader that creates a reflection of an image similiar
I want to use Image Class to represent images in my app. I have
I want to use coverflow view in my app. To get the reflection image
I want to use the image directly from website. I did not place that
I want to use an image or icon as a custom cursor in WPF
I want to use CSS sprites on a web site instead of separate image
I want to use the php simple HTML DOM parser to grab the image,
I have an image of 4x4 in size and I want to use it
I have a folder called Etc which has an image I want to use

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.