『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi,I am trying to create a textFlow from a HTML formatted string. I do this as follows.var markup:String = "<b>bold</b><i>italic</i>Mary has a little lamb";var textFlow:TextFlow = TextFilter.importToFlow(markup, TextFilter.HTML_FORMAT); textFlow.flowComposer.addController(new ContainerController( myTextFlowSprite, width, height));textFlow.flowComposer.updateAllControllers();I am expecting the text to be rendered to a single line but instead every tag is being rendered on a new line. The result looks like thisbolditalicMary has a little lambHow can I get the text to render on a single line?thanks,Marco
Hi,Are there any examples of custom TLF Comboboxes in Flex?My initial thought was to use an ItemRenderer but that would only apply to the combobox list and not to the selected label which is an InputText.Thank youNikos
Revision: 6913Author: gruehle@adobe.comDate: 2009-05-14 08:52:40 -0700 (Thu, 14 May 2009)Log Message:
Revision: 6893Author: gauravj@adobe.comDate: 2009-05-13 12:39:08 -0700 (Wed, 13 May 2009)Log Message:
Hi, I am trying to get the text height of a TextFlow so I can resize its container accordingly and position other objects underneath dynamically, but I can't seem to find any way to get this. Any help would be much appreciated. Thanks Nikos
Revision: 6875Author: aharui@adobe.comDate: 2009-05-12 21:23:51 -0700 (Tue, 12 May 2009)Log Message:
Revision: 6873Author: aharui@adobe.comDate: 2009-05-12 19:37:54 -0700 (Tue, 12 May 2009)Log Message:
When InlineGraphicElements width or height are set to 'auto', swfs have an unexpected aspect ratio. It looks like they try to be square, instead of using the DisplayObject's width and height. var graphic:DisplayObject = new MyEmbeddedSwf(); var ige:InlineGraphicElement = new InlineGraphicElement(); ige.source = graphic;
Revision: 6808Author: aharui@adobe.comDate: 2009-05-11 15:34:00 -0700 (Mon, 11 May 2009)Log Message:
Revision: 6802Author: gruehle@adobe.comDate: 2009-05-11 14:11:02 -0700 (Mon, 11 May 2009)Log Message:
Be sure to check out today's release of the AIR-based New York Times Reader:http://www.nytimes.com/timesreaderThe NYT Reader was built using Adobe AIR and the Text Layout Framework. It is one of the most innovative uses of TLF we have seen and we're proud to have it as the largest showcase of TLF and text in Flash Player 10 to date! It is an excellent demonstration of TLF's reflowing text, multiple columns/containers, and top notch typography features.Want a peek inside the development of the Reader application? Check out issue #4 of Adobe XD's Inspire publication:http://xd.adobe.com/
I am using latest build of TLF (418), when I tried to bind textFlows to the textFlow setter in SimpleEditorPanel(the Adobe example), the textFlows are from an ArrayCollection, the binding looks like:<local:SimpleEditorPanel id="simpleEditor" textFlow="{TextFilter.importToFlow(this.myModel.userResponse.pageContent.getItemAt(this.myModel.userResponse.currentPageNum).content, TextFilter.TEXT_LAYOUT_FORMAT)}" />Basically, I need to dynamically add pages, each page stores in a textFlow,I also added a listener to listen the damageEvent, if a textFlow's got changed, then the listener function exports the textFlow to the ArrayCollection,I've got the following error when I tried to edit a textflow:TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.edit::EditManager/finalizeDo()
TLF is a great tool for bidirectional languages. I am trying to create text input boxes supporting RTL language. The problem is I am forced to use wmode=opaque setting in my application. As most of you know, this totaly screws the keyboard input in non-US keyboards. I am trying to fix the problem by catching the keyboard input chars and edit the input box accordingly.I extended DisplayObjectContainerController class and overriden "processTextInputEvent" function. The problem is since TLF is closed source, I don't know how "processTextInputEvent" works so I am not sure how to code the function. What it should do is, catch the char code and insert the required arabic character.I am open to any suggestion, any help would be most appreciated.
Revision: 6755Author: aharui@adobe.comDate: 2009-05-08 09:17:48 -0700 (Fri, 08 May 2009)Log Message:
If I understand correctly, I need to transcode/embed the fonts in Flex 4 / CS 4, but is there any way to then get those embeded fonts into a Flex 3.3 application?
Revision: 6703Author: aharui@adobe.comDate: 2009-05-06 22:39:33 -0700 (Wed, 06 May 2009)Log Message:
For some reason, word spacing is compressed for TextAlign.JUSTIFY. If I set to left, center, or right justify, it does not alter the line breaking. If I set to full justified, the word wrapping changes altering my text lines and overall height. Is there a reason for this or a way to disable that behavior?Here is sample code to demonstrate the problem:public class TestTextLayoutCode extends Canvas { private var markup:String = "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008'>" + "<p fontSize='12' fontFamily='Times New Roman'><span>" + "This is a normal font size to show how the text functionality works with justified text." + "</span></p>" + "</TextFlo
I have looked through the specs for CharacterFormat and ParagrahFormat and I cannot find the concept of changing the background color of a FlowElement. I have gone through the adornment code samples and understand that I can create grahic objects at specific locations, but I consider this a very poor replacement for actual styling. If anyone has some thoughts or suggestions I would appreciate it. Thanks, Tim
Hi, I use a ModuleLoader to load/unload mxml modules. One of these modules contains TextFlows. When this module gets loaded everything is fine and the textFlow displays fine. However, when I unload() the module and load() again I get the following error: Error #1034: Type Coercion failed: cannot convert flashx.textLayout.container::DisplayObjectContainerController@8f6e1a1 to flashx.textLayout.container.IInternalContainerController. Here is the code i use:
For those wondering why an updated Text Layout Component for Flash Professional CS4 is not being posted with our new weekly builds, here is some info:We no longer plan on updating the Text Layout Component for Adobe Flash CS4 Professional on Adobe Labs. Instead future versions of Adobe Flash Professional will integrate many of the Text Layout Framework features.Feel free to respond with any questions on this update!
Revision: 6623Author: aharui@adobe.comDate: 2009-05-04 18:01:58 -0700 (Mon, 04 May 2009)Log Message:
Revision: 6622Author: gruehle@adobe.comDate: 2009-05-04 17:23:56 -0700 (Mon, 04 May 2009)Log Message:
Revision: 6611Author: gruehle@adobe.comDate: 2009-05-04 16:01:42 -0700 (Mon, 04 May 2009)Log Message:
Revision: 6609Author: gruehle@adobe.comDate: 2009-05-04 15:47:31 -0700 (Mon, 04 May 2009)Log Message:
Revision: 6597Author: gruehle@adobe.comDate: 2009-05-04 13:16:50 -0700 (Mon, 04 May 2009)Log Message:
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.