Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

tonilopez

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Newbie

About tonilopez

  • Rank
    Newbie
  1. Following your advice I have written two solutions, I posted the code, I hope it can be useful to someone. Solution 1 (the very ease way): import com.greensock.transform.TransformManager; import com.greensock.transform.TransformItem; import com.greensock.events.TransformEvent; import flash.display.Sprite; import flash.text.TextField; import flash.events.Event; var _sprite:Sprite; var _textField:TextField; var _manager:TransformManager; var _item:TransformItem; _sprite = new Sprite() ; addChild (_sprite); _textField = new TextField(); _textField.multiline = true; _textField.word
  2. Thanks for the reply, indeed had not understood the documentation. [Deleted example because it contained TransformManager files, thus granting free access to anyone in the forums] Sorry about this, I had not thought of. Regards
  3. Hello, I have difficulty using the TransformManager.SCALE_WIDTH_AND_HEIGHT feature. Perhaps I have not understood the documentation or this is not the mission of this feature. What I want is to scale an object containing text that the text does not scale, eg import com.greensock.transform.TransformManager; import com.greensock.transform.TransformItem; import com.greensock.events.TransformEvent; var _manager:TransformManager = new TransformManager({hasSelectableTex:true}); var item:TransformItem = _manager.addItem(textBox,TransformManager.SCALE_WIDTH_AND_HEIGHT,true);//textBox
×