flash文本竖排效果实现(AS3)
??
代码如下: import flash.text.engine.TextBlock; var linePosition:Number = this.stage.stageWidth - 45; var format:ElementFormat = new ElementFormat(); tb.lineRotation=TextRotation.ROTATE_90; tb.content=new TextElement(shijingText,format); var previousLine:TextLine = null; textLine.y = 20; textLine.x = linePosition; linePosition -= 25; addChild(textLine); previousLine = textLine; } (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |