Share Posted March 25, 2009 code: import gs.transform.*; import gs.events.TransformEvent; var test = new TextField(); test.width = 100; test.height = 100; test.text="123"; addChild(test); var manager:TransformManager = new TransformManager({constrainScale:true, forceSelectionToFront:true, bounds:new Rectangle(0, 0, 500, 400)}); manager.addItem(test, "SCALE_WIDTH_AND_HEIGHT", false); Resize and drag - work perfect, but rotation - dont work. Text - disappear. Link to comment Share on other sites More sharing options...
Share Posted March 27, 2009 When you say it "doesn't work", do you mean the text disappears? This actually has nothing to do with TransformManager. It's just that Flash won't render text in a rotated TextField unless you embed the font. Once you embed the font, you should be fine. Link to comment Share on other sites More sharing options...
Author Share Posted March 27, 2009 Thanks. Its work. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now