Jump to content


FlexTransformManager problem when creating via AS

Recommended Posts


I'm making some tests with FlexTransformManager and when I create an Image and the FlexTransformManager object in the ActionScript instead the MXML tags, I got a problem. When I click the image it's disappear!!!

Here's the code:

<?xml version="1.0" encoding="utf-8"?>
		   minWidth="955" minHeight="600" 

Am I doing something wrong? I'm trying to figure out what is happening...


Thanks in advance.

Link to comment
Share on other sites

Found it! The image disappear because it's x and y position were negative. You need to set the bounds:

var manager:FlexTransformManager = new FlexTransformManager({bounds: new Rectangle(0, 0, 800, 500)});



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.