mpetter
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by mpetter
-
-
Hello,
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"?> xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:transform="com.greensock.transform.*" minWidth="955" minHeight="600" applicationComplete="this.init()">
Am I doing something wrong? I'm trying to figure out what is happening...
Thanks in advance.
FlexTransformManager problem when creating via AS
in TransformManager (Flash)
Posted
Found it! The image disappear because it's x and y position were negative. You need to set the bounds: