Jump to content
Search Community

Hi, Can you give me a simple code for flex4?

Guest TomZeal
Moderator Tag

Recommended Posts

Sure, the following sample code is on the main TransformManager page at http://www.greensock.com/transformmanageras3/

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:transform="com.greensock.transform.*">
    <transform:FlexTransformManager id="myManager" width="500" height="500">
        <mx:Image source="../libs/image1.png" id="myImage1" autoLoad="true" x="100" y="100" />
        <mx:Image source="../libs/image2.png" id="myImage2" autoLoad="true" x="0" y="300" />
    </transform:FlexTransformManager>
</mx:Application>
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.
×
×
  • Create New...