『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Revision: 6130Author: gauravj@adobe.comDate: 2009-04-10 09:17:21 -0700 (Fri, 10 Apr 2009)Log Message:
Revision: 6129Author: aharui@adobe.comDate: 2009-04-10 08:29:30 -0700 (Fri, 10 Apr 2009)Log Message:
Revision: 6127Author: aharui@adobe.comDate: 2009-04-10 08:24:44 -0700 (Fri, 10 Apr 2009)Log Message:
Revision: 6128Author: aharui@adobe.comDate: 2009-04-10 08:27:19 -0700 (Fri, 10 Apr 2009)Log Message:
I may just be missing something simple here, but I'm not having any luck undoing (via FlowOperation.undo()) any paragraph formatting. This is using the TLF that comes with Flex SDK 4.0.0.5489.I'm applying all my FlowOperations via the EditManager, for example using editManager.applyLeafFormat() to apply bold/italic/fonts etc, and calling undo() on these works fine.However when I use applyFormat/applyFormatToElement() and specify not a leaf format, but a paragraph format (for example when applying a leftMargin to a ParagraphElement), I get a FlowOperationEvent dispatched, and an addition to the UndoManager's stack, but calling undo() has no effect on the TextFlow leaving me with the modified paragraph(s) but no way to undo.Does anyone know why these Paragraph formatting operations would be one-way only?I'm also thinking this could be something to do with the SelectionState, it's not very clear how/why you need to specify a SelectionState when calling applyFormatToElement() given you are
I have a problem with limitation of user input. I have a container linked with text flow and I have to don't allow user to type a lot of text. User has to be able to type text while text is not scrolled. User has to see all text always. I've tried to find something useful in documentation but I've not found anything. Does somebody know how to implement this limitation?
Hello, namless hero~Just like the title said, if you has any idear, please reply this post, thanks!!
<div class=Section1><br /><br /><p class=MsoNormal>I have posted the DropDownList spec for your viewing<br />pleasure. <a<br />href="http://opensource.adobe.com/wiki/display/flexsdk/DropDownList">http://opensource.adobe.com/wiki/display/flexsdk/DropDownList</a><o:p></o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal>There already is an initial implementation of this class and<br />the base class DropDownBase in the open source trunk. Feel free to play around<br />with it and give us any feedback. <o:p></o:p></p><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal>Thanks,<o:p></o:p></p><br /><br /><p class=MsoNormal>Jason Szeto<o:p></o:p></p><br /><br /&g
I have an advanced data grid. I'm using a checkbox as an itemRenderer in one column. I want to be able to enable or disable the ability to edit the check box, based on the user's role which is not known until the login process completes.If name the column and do a myColumn.enabled = false, the check box can still be check or unchecked by the user. This appears to be some sort of 'it is already rendered' problem or something. <mx:AdvancedDataGrid dataProvider="{myData}" itemClick="myDG_itemClick(event)" id="adgMyGrid"> <mx:columns> <mx:AdvancedDataGridColumn width="10" id="adgColumn" editable="false" visible="true" sortable="false" dataField="myData" itemRenderer="mx.controls.CheckBox" /> </mx:columns> </mx:AdvancedDataGrid>U
Hi.It seems to have bug in the TextLine creation when use underline...Look:for(var iIndex:int = 0; iIndex<10000; iIndex++){ var strTest: String = '<flow:TextFlow paddingTop="3" paddingLeft="3" whiteSpaceCollapse="preserve" xmlns:flow="http://ns.adobe.com/textLayout/2008"><flow:p><flow:span textDecoration="underline">a</flow:span><flow:span></flow:span></flow:p></flow:TextFlow>'; var oTextFlow: TextFlow = TextFilter.importToFlow(strTest, TextFilter.TEXT_LAYOUT_FORMAT); var arTextLine: Array = new Array(); var oTextLineHandler: Function = function(oTextLine: TextLine) : void { arTextLine.push(oTextLine); }; TextLineFactory.createTextLinesFromTextFlow(oTextLineHandler, oTextFlow, new Rectangle(0, 0, 200, 200));}When u try this, AIR crash. (Flex Builder 3).Ths code is just an exemple of the bug...I know its useless Its ve
Hello, Is there any plan to integrate the new text engine with other adobe products that dos not support RTL languages? In famous products like AfterEffects or Director, No way to type correctly arabic text or (rtl) generally - The only way is converting the text to a graphic format in an external program !! And there is no Middle East versions for these products. So, I wish adobe thinks to take this step in near future. Thank you,
The Text Layout Framework Adobe Labs page has been updated to include weekly builds. A new build will be posted every Friday containing the latest and greatest in Text Layout Framework features and bug fixes. See the new download page here.http://blogs.adobe.com/tlf/2009/04/weekly_tlf_builds_now_availabl.html
Dear Sirs,I would like to report some bugs encountered in recent days. For more precision, the code of examples is attached in post.Problem: ContentHeight totally crazyContentHeight is crazy, at the moment that adds new container.Reproduce:1. Run the code2. Set focus to end of text3. Click in button "Add Image"Look the containerHeight's label, is totally crazy (for me, is displayed 266798px).Problem: Inline Graphic with float, disappears?When insert graphic with float (left or right), just disappears.Reproduce:1. Run the code2. Click in button "Add Image (Float left)"Where is the graphic?Problem: ContentHeight is limited, when verticalScrollPolicy = ScrollPolicy.OFFEven if you put a higher content, the containerHeight is limited to container height.Reproduce:1. Run de code2. s tSet focuo in container2. Click in button "Scroll OFF"Verify that the containerHeight's label, displays the maximus height of the container, but its content is bigger than it.Thanks in advance.- Marcos
It looks like the changes caused by applying a container format via the EditManager are not persisting but you do see they are applied successfully.Here are two code snippets that visually result in the same thing, but when using TextFilter.export() after the 1st snippet, you can see verticalAlign is still "inherit" on the TextFlow.Example 1 - using EditManager: var format:TextLayoutFormat = new TextLayoutFormat(); format.verticalAlign = VerticalAlign.MIDDLE; editManager.applyContainerFormat(format, null);Example 2 - direct manipulation: editManager.textFlow.verticalAlign = VerticalAlign.MIDDLE; editManager.textFlow.flowManager.updateAllContainers();The problem is I am using the first approach so that I get undo-able FlowOperations (I'm listening to FLOW_OPERATION_END).Am I attempting it wrong, or is there a bug with the applyContainerFormat() method?Thanks,Richard
When you set DisplayObjectContainerController.verticalScrollPolicy = 'off', and Configuration.manageEnterKey = false, and type until the cursor end of the container, the cursor continues out of view, and the horizontalScrollPosition is not updated. With verticalScrollPolicy at it's default, it does keep the cursor in focus. Also is there a property to prevent line breaks from being displayed? Setting these 2 properties still allows you to paste text with line breaks and mess things up. I want line breaks to be ignored altogether. Thanks, Sean.
Hi All,Is it natural for Flex to replace all <, >, and & with &lt;, &gt; and & , respectively, in an XML before passing it as parameter to a web service call? I invoke a web service through the mx:WebService component and pass a simple XML as parameterCode:<b>bhaskar</b>But, the service receives this as the request parameterCode:&lt;b&gt;bhaskar&lt;/b&gt;Note: I have verified the request using BlaseDS and have also checked the server logs for the request the service received.So, is there no way Flex can send the original XML? Note: I read somewhere that to fix some issue they used the approach of replacing all <, >, and & with &lt;, &gt; and & , respectively.Is there a way out (other than converting the XML received at the server side back to original format, before operating on it)?
I used gumbo build 5537, which I believe has TLF version 394. The stack track is all textLayout, so it might be one for you guys. I didn't find any other mention of it so, I created the bug here: http://bugs.adobe.com/jira/browse/SDK-20440
Is there any sort of event to track when text in a TextFlow has changed?
Is there anything in the TextFlow.interactionManager (EditManager or SelectionManager) similar to the old TextField.alwaysShowSelection (to keep showing the selected/highlighted text even after loss of focus)?
Hello,I use this code from Livedocs Documentation:///////////////////////////////////////////////////////////////////////////////////////////////////////// var config:Configuration = new Configuration(); var charFormat:CharacterFormat = new CharacterFormat(); var paraFormat:ParagraphFormat = new ParagraphFormat(); charFormat.color = 0x000000; charFormat.fontFamily = "Arial, Helvetica, _sans"; charFormat.fontSize = 12; charFormat.kerning = Kerning.ON; charFormat.fontSt
Revision: 5947Author: gauravj@adobe.comDate: 2009-04-06 10:03:21 -0700 (Mon, 06 Apr 2009)Log Message:
I'm trying to setup the Flex SDK locally (the bugquash event over the weekend inspired me) and have got everything installed except I'm getting 2 errors after I import all of the sample projects: 1012: The static attribute may be used only on definitions inside a class. airframework/airframework/src/mx/core Version.as line 18 1238554510921 1101 and 1012: The static attribute may be used only on definitions inside a class. rpc/rpc/src/mx/core Version.as line 17 1238554489765 1100 I should be good to go if I can figure out what I'm doing wrong with these 2 things. This is all that is in those files, but it is the mx_internal static...line that is causing the issue (in both projects) import mx.core.mx_internal; /** * @private * Version string for this class. */ mx_internal static const VERSION:String = "3.4.0.0"; Any ideas? Thanks.
My question is quite simple: I retrieve a FlowElement instance by calling getElementById() on a textflow, now what I'd like to find out is the position of this flowelement, so I can call scrollToPosition() on an IContainerController instance. What should I use to find out the required position for a given FlowElement? thanks a lot in advance!
The TLF Team is looking for feedback on a proposed solution to an issue recently raised on these forums: In right to left text, using arrow keys and keyboard gestures (shift + arrow key) is moving the cursor in the opposite direction of the arrow key's direction. This is happening because TLF treats a right arrow at forward in reading direction, and a left arrow as backward in reading direction. Our proposed solution is as follows: switch the left and right directions for all keyboard gestures entered into a TextFlow that has a right to left direction. We would maintain the exact same behavior we currently have for bidi (including selection), but reverse the direction in which it occurs. This would affect all interaction with the TextFlow regardless of child paragraph/span direction. Our goal is to mimic the behavior of other right to left text editors and provide an experience that is not surprising to anyone familiar with them. Is this solution sufficient? Any other comments from
The Spark Virtualization specification has been posted to the Gumbo open-source site. You can check it out and comment here: http://opensource.adobe.com/wiki/display/flexsdk/Spark+Virtualization Thanks, deepa
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.