私はRTL言語をサポートする必要があるテキストフィールドを1つ持っていますが、これは通常のTextFieldでは実現できません。私は、TLFを使用するこの小さなテキストフィールドでテストを行い、それが346KBになったと推測するテストプロジェクトを作成しました。私はフラッシュ開発でコンパイルされたswfをブラウズし、テキストプロジェクトでインポートされたTLFフレームワークから多くのクラスを見ることができます。TLFを追加すると、swfのファイルサイズが非常に大きくなります
メインswfファイルのaddinから削除するにはどうすればいいですか?ここで
は私のコードは
msg = "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008'><p><span>Enter text here ...</span></p></TextFlow>";
textFlow = TextConverter.importToFlow(msg , TextConverter.TEXT_LAYOUT_FORMAT);
textFlow.fontSize = 12;
textFlow.flowComposer.addController(new ContainerController(this, 200, 50));
textFlow.flowComposer.updateAllControllers();
undoManager = new UndoManager();
editManager = new EditManager(undoManager);
textFlow.interactionManager = editManager;
あるので、基本的に私は
import flashx.textLayout.compose.StandardFlowComposer;
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.conversion.TextLayoutExporter;
import flashx.textLayout.elements.SpanElement;
import flashx.textLayout.elements.ParagraphElement;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.formats.TextLayoutFormat;
import flashx.textLayout.factory.StringTextLineFactory;
import flash.text.engine.TextLine;
import flash.geom.Rectangle;
import flashx.textLayout.edit.EditManager;
import flashx.undo.UndoManager;
import flashx.textLayout.conversion.TextConverter;