『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I seem to remember there is a way to do this. Might not even be part of TLF. In particular I will need to get the String and also its position within its parent container so I can access neighbouring words.
Hi all,I am using text layout framework in my application. I am using textflow as editor to my application. As text layout framework supports multiple languages. I a m able to see the text in multiple languages.Now my doubt is, can I type in different languages? For example: As in word if we choose the font as Hindi then whatever we type it comes in Hindi.I need just like that.Is it possible with text layout framework?If yes then how?Thanks in advance.
Revision: 14838Revision: 14838Author: deeptika@adobe.comDate: 2010-03-18 00:46:39 -0700 (Thu, 18 Mar 2010)Log Message:***********Merging revision 14837 from 4.x branchChanging the way data tips are rendered when mirrored.Single data tip shows to left in RTL now, which shows to right in LTR.Callouts connecting datatips to chart items are also modified.QE notes: Doc notes: Bugs: FLEXDMV-2347 ( Datatips cluterred in bubble chart when layoutDirection=rtl)FLEXDMV-2348 ( Position of datatips not changing WRT layoutDirection)Reviewer: Tests run: Is noteworthy for integration: Ticket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2347 http://bugs.adobe.com/jira/browse/FLEXDMV-2348Modified Paths:************** flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/charts/chartClasses/ChartBase.asProperty Changed:**************** flex/sdk/trunk/
Revision: 14837Revision: 14837Author: deeptika@adobe.comDate: 2010-03-18 00:26:27 -0700 (Thu, 18 Mar 2010)Log Message:***********Changing the way data tips are rendered in when mirrored.Single data tip shows to left in RTL now which shows to right in LTRCallouts connecting datatips to chart items are also modified.QE notes: Doc notes: Bugs: FLEXDMV-2347 ( Datatips cluterred in bubble chart when layoutDirection=rtl) FLEXDMV-2348 ( Position of datatips not changing WRT layoutDirection)Reviewer: Tests run: checkintestsIs noteworthy for integration: Ticket Links:*********** http://bugs.adobe.com/jira/browse/FLEXDMV-2347 http://bugs.adobe.com/jira/browse/FLEXDMV-2348Modified Paths:************** flex/sdk/branches/4.x/frameworks/projects/datavisualization/src/mx/charts/chartClasses/ChartBase.as
Revision: 14834Revision: 14834Author: klin@adobe.comDate: 2010-03-17 16:43:45 -0700 (Wed, 17 Mar 2010)Log Message:***********Merge revision 14833 from 4.x to trunk.Fix for http://bugs.adobe.com/jira/browse/SDK-25881. Using states with layoutDirection was broken. The issue was that in commitProperties of UIComponent, states were trying to set layoutDirection after we've already dealt with layoutDirection. The state would try to set layoutDirection, but since we are already in commitProperties, the eventual invalidateProperties call in the layoutDirection setter (through styleChanged) doesn't do anything. The fix is to have states resolved before calling invalidateLayoutDirection in commitProperties, so we can pick up on state-specific values of layoutDirection.QE notes: NoDoc notes: NoBugs: SDK-25881Reviewer: Carol, HansTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25881 http://bugs.adobe.com/jira/brows
Revision: 14833Revision: 14833Author: klin@adobe.comDate: 2010-03-17 16:37:18 -0700 (Wed, 17 Mar 2010)Log Message:***********Fix for http://bugs.adobe.com/jira/browse/SDK-25881. Using states with layoutDirection was broken. The issue was that in commitProperties of UIComponent, states were trying to set layoutDirection after we've already dealt with layoutDirection. The state would try to set layoutDirection, but since we are already in commitProperties, the eventual invalidateProperties call in the layoutDirection setter (through styleChanged) doesn?\226?\128?\153t do anything. The fix is to have states resolved before calling invalidateLayoutDirection in commitProperties, so we can pick up on state-specific values of layoutDirection.QE notes: NoDoc notes: NoBugs: SDK-25881Reviewer: Carol, HansTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25881 http://bugs.adobe.com/jira/browse/SDK-25881Modified Paths
What happened to this file? I've looked everywhere for it, and I can't find it in framework/should be here, checked many of the open source branch versions and I see in the log files that its being changed, but yet the physical file is no where to be seen.Am I missing something, other than this file? heh, if someone could post it that would be of great help.
One of the examples I spotted in the docs suggested that text could flow within two containers that had two circle graphics in them. I read this as being able to flow the text within the circles but attempting this resulted in standard rectangular containers and flow. Am I missing something? Should I be able to define the shape of the flow with the graphics within a container?
Hi,I'm trying to appl style on a selected text using the "ApplyElementStyleNameOperation".But what I get is that all the text from beginning of selection till end of text is deleted.The code is as follows:var txtSel:SelectionState= new SelectionState(_focusedTextArea.textFlow,_focusedTextArea.selectionAnchorPosition,_focusedTextArea.selectionActivePosition);var applyStyle:ApplyElementStyleNameOperation = new ApplyElementStyleNameOperation(txtSel,_focusedTextArea.textFlow,STYLE_NAME,_focusedTextArea.selectionAnchorPosition,_focusedTextArea.selectionActivePosition);var ed:EditManager = EditManager(_focusedTextArea.textFlow.interactionManager);ed.doOperation(applyStyle);I've debugged and found out that the flowElements disappears inside the EditManger.doOperation, after the line "operation = doInternal(operation);"Can anyone help ?
When Setting Vertical Align on a TextFlow to VerticalAlign.MIDDLE or VerticalAlign.BOTTOM, The First TextFlowLine Selection and Caret is vertically offset with respect to the distance of vertical space between the top of the Container boundary and the top of the First Line of Text.What is the trick to make the Text Selection line up on the First TextFlowLine when verticalAlign is not set to 'top'?below is a simple code example that demonstrates it. The first line of text "Hello World" is positioned properly, however when you click onthe TextLine to edit it, the Caret appears some 100 pixels below where its supposed to, and so does the text selection.I am loading this module within an app that is compiled in SDK 3.2/****************************** BEGIN CODE ******************************/package { import flash.text.engine.BreakOpportunity; import flashx.textLayout.container.ContainerController; &nb
I must be missing something simple here. Using the TextLayout component in CS4 (not Flex) to create dynamically loaded fonts in individal SWF files. Everything works fine, except I can't see where to embed Italic and Bold font styles.When I click EMBED FLASH FONTS In the TextLayout window, there is only one choce per font family; for example, only one Arial font listed to embed. If I then create some text in the window specifying Arial font and Lookup = Embedded CFF, I can't apply Bold or Italic to the text - or rther, can apply them but the text does not display the style. Setting Lookup = Device shows the style. Further, when I load the SWF into my main application, isFontCompatible(...) shows true for ("Arial", "normal", "normal") but false for ("Arial", "bold", "normal"). So how do I embed Arial Italic?
Revision: 14794Revision: 14794Author: gauravj@adobe.comDate: 2010-03-16 15:07:42 -0700 (Tue, 16 Mar 2010)Log Message:***********Merge branch revision 4.x, 14791 --> trunkOriginal revision notes:Fix for Asdoc tool generates bad links for Vector. typeQE notes: None.Doc notes: None.Bugs: SDK-25753Reviewed By: DarrellTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25753Modified Paths:************** flex/sdk/trunk/asdoc/templates/class-files.xsltProperty Changed:**************** flex/sdk/trunk/
Hello,How do I go about using TextFlowUtil in CS4? What project settings do I need to update. I have tried a variety of source and library paths to no avail. What I am trying to accomplish is importing saved markup into a Flash CS4 app that was exported from a Flex app via TextFlowUtil.I have the TextLayout component installed in Flash CS4 and it works fine. I just can't seem to get TextFlowUtil working.thanks,jr
Revision: 14791Revision: 14791Author: gauravj@adobe.comDate: 2010-03-16 15:00:22 -0700 (Tue, 16 Mar 2010)Log Message:***********Fix for Asdoc tool generates bad links for Vector. type QE notes: None.Doc notes: None.Bugs: SDK-25753Reviewed By: DarrellTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25753Modified Paths:************** flex/sdk/branches/4.x/asdoc/templates/class-files.xslt
How to calculate the number of operations in Undo/Redo stack?I tried to override UndoManager.pushUndo method and increment "operationsCounter" there, but pushUndo is called each time I make a change in text.Another idea was to override EditManager.finalizeDo and use "operationsCounter" there, but finalizeDo is private...Do you have any idea?
Hey im new to cairngormHow do i pass data back from the command ie from the onResult() in the command back to the component the called itI know how to put the data in the model, but it is my impression that this is only for data that you want to store and reference in many placeswith i have done with some querysThis query however is just a product search result so don't need it to be stored in the model just sent back and displayed in a gridThanks
Hello to everyone,I am close to a deadline now so i have to ask..In tlf the return key creates a markup as:<p><span></span></p> for new lines. So ever line has that start...how can i be able to force player to create a mark up as:<p> <span></span> top first line <span></span> new line (adding no new p tag ) <span></span> second new line (adding no new p tag )</p>
Revision: 14757Revision: 14757Author: klin@adobe.comDate: 2010-03-15 11:40:53 -0700 (Mon, 15 Mar 2010)Log Message:***********Merge revision 14756 from 4.x to trunk.Fix for http://bugs.adobe.com/jira/browse/SDK-25839 and http://bugs.adobe.com/jira/browse/SDK-25866. Icons did not respect setting the y property because they were not saving y to origMatrix. I override the y setter in BitmapAsset and SpriteAsset to set super.y and call validateTransformMatrix to save the current matrix (which has the new y).QE notes: NoDoc notes: NoBugs: SDK-25839, SDK-25866Reviewer: CarolTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25839 http://bugs.adobe.com/jira/browse/SDK-25866 http://bugs.adobe.com/jira/browse/SDK-25839 http://bugs.adobe.com/jira/browse/SDK-25866Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/BitmapAsset.as flex/sdk/trunk/frameworks/projects/framework
Revision: 14756Revision: 14756Author: klin@adobe.comDate: 2010-03-15 11:26:58 -0700 (Mon, 15 Mar 2010)Log Message:***********Fix for http://bugs.adobe.com/jira/browse/SDK-25839 and http://bugs.adobe.com/jira/browse/SDK-25866. Icons did not respect setting the y property because they were not saving y to origMatrix. I override the y setter in BitmapAsset and SpriteAsset to set super.y and call validateTransformMatrix to save the current matrix (which has the new y).QE notes: NoDoc notes: NoBugs: SDK-25839, SDK-25866Reviewer: CarolTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-25839 http://bugs.adobe.com/jira/browse/SDK-25866 http://bugs.adobe.com/jira/browse/SDK-25839 http://bugs.adobe.com/jira/browse/SDK-25866Modified Paths:************** flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/BitmapAsset.as flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/SpriteAsset.
Hi,Let's say I have embedded an image like this:package{ public final class Resource { [Embed (source="/assets/images/1.gif" )] public static const image_1:Class; }}How would I call this from FLT XML for the source to be correctly mapped to my image?<TextFlow xmlns="http://ns.adobe.com/textLayout/2008"> <p> <img source=" ?? "/> </p></TextFlow>Thanks in advance!
Revision: 14744Revision: 14744Author: klin@adobe.comDate: 2010-03-12 15:33:39 -0800 (Fri, 12 Mar 2010)Log Message:***********Merge revision 14741 from 4.x to trunk.Adding ILayoutDirectionElement to address issues with non-styled components such as embedded bitmaps. Also, addressed issues with changing layoutDirection at runtime.-Added ILayoutDirectionElement.as with the layoutDirection property and invalidateLayoutDirection(). I took them out of IVisualElement.-Moved the mirroring code from FlexBitmap to BitmapAsset as well as SpriteAsset. Also, implemented ILayoutDirectionElement in both.-Addressed issues with layoutDirection changing at runtime by adding logic in UIComponent and Container to call invalidateLayoutDirection() on all of their ILayoutDirectionElement children.-Updated various other components to use the new interface.-Updated the dependency checker.QE notes: NoDoc notes: NoBugs: SDK-25656, SDK-25685, SDK-25726, SDK-25758 , SDK-25776 , SDK-25784 , SDK-25791, SDK-258
Revision: 14741Revision: 14741Author: klin@adobe.comDate: 2010-03-12 15:23:40 -0800 (Fri, 12 Mar 2010)Log Message:***********Adding ILayoutDirectionElement to address issues with non-styled components such as embedded bitmaps. Also, addressed issues with changing layoutDirection at runtime.-Added ILayoutDirectionElement.as with the layoutDirection property and invalidateLayoutDirection(). I took them out of IVisualElement.-Moved the mirroring code from FlexBitmap to BitmapAsset as well as SpriteAsset. Also, implemented ILayoutDirectionElement in both.-Addressed issues with layoutDirection changing at runtime by adding logic in UIComponent and Container to call invalidateLayoutDirection() on all of their ILayoutDirectionElement children.-Updated various other components to use the new interface.-Updated the dependency checker.QE notes: NoDoc notes: NoBugs: SDK-25656, SDK-25685, SDK-25726, SDK-25758 , SDK-25776 , SDK-25784 , SDK-25791, SDK-25806Reviewer: Jason, CarolTests run: chec
Anyone have a solution to get a InlineGraphicElement's x y position relative to the container after composition?I can reference the element's graphic property which returns the displayObject. From there I tried using the getBounds method, but coordinates it returns seems off.Basically, I have a sprite in the textFlow that is an InlineGraphicElement. I want to place a Flex UIComponent over the sprite after composition.Thanks.
HelloI am exporting the xml from my text layout but my xml has some extra contents due to which the size become large like if i apply the bold character property on text and after that when i will remove this bold property,the succeedind all span tags will have fontweight =normal and even in succeeding paragraphs also which doesn't needed.I am writing a sample of text and xml produced:normal text this is bold text this is italic text this is underlined text here the font size is 18 normal text in next paragraph<TextFlow columnCount="inherit" columnGap="inherit" columnWidth="inherit" fontFamily="Arial" fontSize="12" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"> <p> <span>normal text</span> <span fontWeight="bold">this is bold text</span> &
Revision: 14704Revision: 14704Author: deeptika@adobe.comDate: 2010-03-11 06:45:16 -0800 (Thu, 11 Mar 2010)Log Message:***********Merging revision 14699 from 4.x branchQE notes: Doc notes: Bugs: Reviewer: Tests run: Is noteworthy for integration: Modified Paths:************** flex/sdk/trunk/frameworks/projects/automation/src/mx/automation/delegates/containers/ApplicationAutomationImpl.as flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkApplicationAutomationImpl.asProperty Changed:**************** flex/sdk/trunk/
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.