『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
That;s what I do : str = "Some example text with <b>bold</b> and <i>italic</i> or <b> even one <i>and another</i></b>."; this.textFlow = TextFilter.importToFlow(str,TextFilter.HTML_FORMAT);And the textflow is (TextFilter.export(this._textFlow,TextFilter.TEXT_LAYOUT_FORMAT, ConversionType.STRING_TYPE); 😞<TextFlow paddingRight="inherit" paddingTop="inherit" verticalAlign="inherit" lineBreak="inherit" paddingBottom="inherit" paddingLeft="inherit" whiteSpaceCollapse="preserve" xmlns="http://ns.adobe.com/textLayout/2008"><p><span>Some example text with </span></p><p><span fontWeight="bold">bold</span></p><p><span> and </span></p><p><span fontStyle="italic">italic</span></p><p><span> or &l
Hi All,I'm trying to use the new cairngorm with Flex4 (night build SDK) and got some strange errors, Is there an example of cairngorm 3 usage with the new Flex?Thanks in advance,Lior
Hey,This might be a slightly unrelated question, but I've seen a Flash Text Engine guy post in here so I'll give it a try. You guys quite probably also know the answer to this one. So:For a simple tab-becomes-spaces type of rendering, which is default/common in source code editors, \t is expanded to become spaces or just rendered as a 4/8-space tab.Is there any way to do such a thing with TextBlock.tabStops or any other FTE feature?Is this done anywhere in TLF maybe?It seems like tabStops work more like tabs in a normal word editor, is that the idea?ThanksErik
Hi,It is actual for commonly used Polish Programmers keyboard layouts. To input ż character right Alt+z key should be pressed. But in TLF editor if you try to input ż character by pressing right Alt+z all previously typed text is vanished.It easily can be reproduced in demo:http://labs.adobe.com/technologies/textlayout/demos/This issue is really very sad for the Polish users. Could be done something to fix it soon?Thank you.
Revision: 11911Revision: 11911Author: klin@adobe.comDate: 2009-11-17 14:20:47 -0800 (Tue, 17 Nov 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24292. Forgot to change some logic in the ButtonBarButton that caused TabBarButtons to deselect. The clickHandler is replaced by buttonReleased to ensure we change states immediately after a user clicks on a button.QE notes: Yes, TabBar should be fixed and can update bitmaps now.Doc notes: NoBugs: SDK-24292Reviewer: RyanTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24292 http://bugs.adobe.com/jira/browse/SDK-24292Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBarButton.as
Revision: 11910Revision: 11910Author: gruehle@adobe.comDate: 2009-11-17 13:47:03 -0800 (Tue, 17 Nov 2009)Log Message:***********Move halo WindowBackground skin to the Halo theme project from airframework. This fixes the problem with building Halo as a CSS module.QE notes: NoDoc notes: NoBugs: SDK-24226Reviewer: -Tests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24226Modified Paths:************** flex/sdk/trunk/frameworks/projects/airframework/src/AIRFrameworkClasses.as flex/sdk/trunk/frameworks/projects/halo/src/HaloClasses.asAdded Paths:*********** flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/WindowBackground.asRemoved Paths:************* flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as
Revision: 11907Revision: 11907Author: klin@adobe.comDate: 2009-11-17 13:31:33 -0800 (Tue, 17 Nov 2009)Log Message:***********Fix for TabBarButtonSkin. Hans replaced the selectedHighlight to be drawn similarly to the top of the border. I updated the fill lowlight and highlight to be in line with the other spark button skins.QE notes: NoDoc notes: NoBugs: SDK-24207Reviewer: GlennTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24207Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TabBarButtonSkin.mxml
I ran a few test to check memory issues. If I populate a TextElement with 100,000 characters and then do just one createTextLine I see the memory usage jump about 18 megabytes. So I create one textline, do not add it to the display list, and I see the memory increase. If I don't call createTextLine (but do everything else), then I do not see the radical increase in memory usage. I paired this down to 50,000 characters and to me it looks like somewhere on the order of 150-200 bytes is being used for the storage of each character. Just a guess but can someone shed some light on this.Seems to be a direct correspondence between number of characters and the extreme use of memory for each character, so that is how I arrive at the approximate 150-200 bytes per character.Since this has nothing to do with reusing textLines etc... Is this kind of issue resolved in 10.1 ?Don
Revision: 11896Revision: 11896Author: gruehle@adobe.comDate: 2009-11-17 08:21:26 -0800 (Tue, 17 Nov 2009)Log Message:***********A few style related fixes.- DateChooser headerColors - change the theme to "halo, spark" (this style is supported by both)- frameworks/defaults.css - remove halo-specific styles from List.comboDropdown.- update the styleChanged() method in several Spark skins to check for styleProp == "styleName"QE notes: NoneDoc notes: NoneBugs: SDK-24267, SDK-24196Reviewer: KevinTests run: CheckinIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24267 http://bugs.adobe.com/jira/browse/SDK-24196Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ComboBoxSkin.mxml flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ComboBoxTe
Revision: 11873Revision: 11873Author: klin@adobe.comDate: 2009-11-16 16:17:50 -0800 (Mon, 16 Nov 2009)Log Message:***********Fix for http://bugs.adobe.com/jira/browse/SDK-22800.ButtonBase.as - Subclasses of ButtonBase were updating properties like selected and selection in the clickHandler. This caused the buttons to be in an intermediary state between the mouse up event and the mouse click event. I've added a new protected method called buttonReleased() that is called during the mouse up handler when the mouse is captured and when the mouse is hovering over the button. This allows the button to smoothly transition between states like down and overAndSelected without passing through the over state. I also separated out some of the systemManager mouse up handlers into a separate handler.ToggleButtonBase.as, RadioButton.as - Moved the update code from clickHandler to buttonReleased.QE notes: NoDoc notes: NoBugs: SDK-22800Reviewer: EvtimTests run: checkintests, Button, ToggleButton,
I am making a class that extends EditManager and I wanted to access pendingInsert but it is a private var, so I can not. Is there a way around this? Are private vars much better for memory, why not use protected?
Revision: 11864Revision: 11864Author: klin@adobe.comDate: 2009-11-16 13:40:36 -0800 (Mon, 16 Nov 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24036. Added up and down arrow key wrapping in DropDownListBase when arrowKeysWrapFocus is true.QE notes: NoDoc notes: NoBugs: SDK-24036Reviewer: JasonTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24036 http://bugs.adobe.com/jira/browse/SDK-24036Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.as
Hi.I have a problem with text align in text field.Let's say that I have a text field with htmlText:"Text example "- when I set align for this text field like this:var _format:TextFormat = new TextFormat();_format.align= TextFormatAlign.CENTER; text_field.setTextFormat(_format);- it ignores whitespaces at the end of the line.Same thing for TextFormatAlign.RIGHT.Can I change this behavior using new text layout framework?
Hi,Just to be sure - I'm afraid it's not possible having read many threads.Is there a way (special character or element) to ask for a column or 'block' (container) break as with InDesign ?TIA,J.
I am able to get text (all or part) out of an exisiting TextFlow using either TextFilter.export or textFlow.interactionManager.createTextScrap(). However, I can't seem to figure out how to insert text into a TextFlow (after the initial TextFilter.import). I see textFlow.interactionManager.pasteTextScrap(textScrap) but that requires use of the clipboard. If I use TextFilter.import, it replaces everything and it seems that I need to recreate all the ContainerController objects, etc. I see IEditManager has a replace function, but that doesn't really help me to append text or to replace all the text with new text. I assume I am just missing something obvious.
I have changed the core UIComponent so that there are no events dispatched on accessors that aren't being bound to, and I already see a nice performance improvement.I've noticed too that in just clicking on a Panel, for instance, with a VerticalLayout, it has to run through and relayout all of its children, and do all kinds of unnecessary processing. Should be a boolean or bitmask that prevents that whole cycle.
Using Eclipse, latest build, on a Mac, I'm stepping through the FlexPMD code. I enter in the debug configuration the parameters "-s <src dir>" and "-o <output dir>". Those arguments are successfully passed into FlexPMD but when the FileUtils tries to locate the Flex source files, I have some ActionScript, *.as, files in the <src dir>, I get an error:Exception in thread "main" net.sourceforge.pmd.PMDException: sourceDirectory does not contain any Flex sources (Specify the source directory in relative (not absolute)) at com.adobe.ac.pmd.files.impl.FileUtils.getFlexFiles(FileUtils.java:107) at com.adobe.ac.pmd.files.impl.FileUtils.computeFilesList(FileUtils.java:52) at com.adobe.ac.pmd.FlexPmdViolations.computeFiles(FlexPmdViolations.java:128) at com.adobe.ac.pmd.FlexPmdViolations.computeViolations(FlexPmdViolations.java:92) at com.adobe.ac.pmd.engines.AbstractFlexPmdEng
Revision: 11804Revision: 11804Author: klin@adobe.comDate: 2009-11-13 15:37:14 -0800 (Fri, 13 Nov 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-24205. ComboBox checked to see if the focusOut target was itself, but if the ComboBox is editable then the target is actually the TextField. I altered it to check if the target is contained by the ComboBox instead. This allows the dropDown to close if the user tabs out of the ComboBox with the dropDown open. Same fix in DateField.QE notes: NoDoc notes: NoBugs: SDK-24205Reviewer: RyanTests run: checkintestsIs noteworthy for integration: NoTicket Links:*********** http://bugs.adobe.com/jira/browse/SDK-24205 http://bugs.adobe.com/jira/browse/SDK-24205Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as
Hi,Vocalization diacritics are rendered as independent characters.Vocalization diacritics should be rendered combined and merged with the characters preceding them like in the third line of the attached image.Have a look at the SWF:1) The first line is aTextLayoutComponent which uses Adobe Arabic as en Embeded Font.2) The second line is using the System Font Adobe Arabic.Does anyone have an idea ?I personally think, when you choose System Font, it uses System Text rendering Engine. But if you embeed font flash has problem with rendering the diacritics properly.
From what I understand, to customize a ruleset for our development needs, we would have to modify, or add, to the java source and rebuild FlexPMD. Is that correct?ThanksBrenda
Halp! I'm new to the TLF, I've spent about 45 minutes digging through the docs but it's not clear to me how to map a mouse position over to the underlying character position, in the convetional TextField this was done via TextField.getCharIndexAtPoint(x,y);I did see a getCharacterAtIndex(index) but I don't know how to get that index first.
Revision: 11769Author: jacobg@adobe.comDate: 2009-11-12 16:27:53 -0800 (Thu, 12 Nov 2009)Log Message:***********Link to ASDoc BorderExampleModified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as
Revision: 11768Author: jacobg@adobe.comDate: 2009-11-12 16:26:40 -0800 (Thu, 12 Nov 2009)Log Message:***********Link to ASDoc ComboBoxExampleModified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as
Revision: 11765Author: jacobg@adobe.comDate: 2009-11-12 15:43:38 -0800 (Thu, 12 Nov 2009)Log Message:***********ASDoc example for ComboBoxAdded Paths:*********** flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/components/examples/ComboBoxExample.mxml
Revision: 11755Author: klin@adobe.comDate: 2009-11-12 14:50:20 -0800 (Thu, 12 Nov 2009)Log Message:***********BorderSkin.as should have States metadata since it has a HostComponent.QE notes: NoDoc notes: NoBugs: NoneReviewer: CoreyTests run: checkintestsIs noteworthy for integration: NoModified Paths:************** flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/BorderSkin.as
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.