Jump to content
Search Community

Search the Community

Showing results for tags 'dynamic text field'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. is there sorting I could do to stop my dynamic text field from disappearing on rotate ? yourtxt.addEventListener(MouseEvent.CLICK, textFrom); function textFrom(event:MouseEvent):void { var textFormat:TextFormat = new TextFormat("Cubano","35","0xEFB20C","focusRectPadding",0); var textField:TextField = new TextField(); textField.defaultTextFormat = textFormat; textField.text = 'Your text here'; textField.x = 258.75; textField.y = 100; textField.width = 300; textField.height = 80; textField.multiline = true; textField.wordWrap = true; textField.type = "input"; textField.addEventListener(Event.RENDER, fixFocusRect); function fixFocusRect(event:Event):void { event.target.drawFocus(false); } addChild(textField); var manager:TransformManager = new TransformManager({targetObjects:[textField],hasSelectableText:true,forceSelectionToFront:true,allowDelete:true,autoDeselect:true,handleSize:22}); }
×
×
  • Create New...