-
Recente
I want to modify the pasted content in different ways like linking URLs, removing tabs, etc. However I've not found a way to get pasted content.When listening to FlowOperationEvent.FLOW_OPERATION_END, I can retrieve PasteOperation and pasteOperation.absoluteStart but not the end of the pasted content. pasteOperation.absoluteEnd points to the end before the paste operation. PasteOperation._numCharsAdded looks promising but it's private.Any ideas appreciated...Marc
Hello,It seems there should be a way to do this but I just can't seem to figure it out.If text is pasted into a Spark TextArea, I want to be able to capture the text that was just pasted into a string or even better capture the start/end positions of the pasted characters in the TextArea's textFlow.I know there has to be a way to do this yet I can't seem to find it.Thanks in advance.
Hi, I was doing some testing with RichEditableText and realized that the undo and redo when called by keyboard (Control + Z) in Internet Explorer does not work.Thanks,
I want to access the latest undo operation in the undo array - but I don't want to destroy it (or execute it)Is there anyway to do that?
Hey,I've created a Tree component extending the Spark List, and it was so easy! Love the SkinPart architecture.Now I'm facing a big performance issue.Every time I open a branch of the tree, the DataGroup has to create the item renderer from scratch, even though I have "useVirtualLayout = true".This is because "useVirtualLayout" only works if:a) All of the item renderers are the same (ie. there is no itemRendererFunction)b) if there are more items than there is visible space.My tree a) has multiple types of renderers, and b) has more than enough space to fit everything, so I get none of the benefits of the built in renderer caching....I would like to cache the renderers even if there is excess visible space (so if I open the root node, and it creates 3 child nodes, and there is room for 20 child nodes, and then I close it, it still saves those created child nodes in the "freeRenderers" cache so the next time I open it, it can just "pop()" them from the stack).In addition, I would
Revision: 11418Author: aharui@adobe.comDate: 2009-11-03 15:21:04 -0800 (Tue, 03 Nov 2009)Log Message:***********Tweak svn 11319 again. SystemManager will not dispatch a RESIZE unless its size actually did change but will update the mask in case it gets out of synchQE Notes: NoneDoc Notes: NoneBugs: SDK-24000Reviewer: DarrellAPI Change: noIs noteworthy for integration: Notests: checkintests mustella/MarshallPlan mustella/components/SWFLoaderTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-24000Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
Hello!I've been trying out Flex 4 and TLF recently, and I've stumbled on huge performance issue in TextArea component, which is built around TLF.It works great for smaller texts, but when you try to edit text say 50kB long, then you find yourself struggling at every character, cause they appear with a noticeable delay as you type.I've tried to take a deeper look into a problem, and it seems that TLF recomposes all the text up to the insertion point on each character insert. It's really visible - typing is OK at the begining of the text, but it becomes really slow at the end of it.I believe that recomposition on every single text insert operation is done in EditManager.finalizeDo which calls updateAllControllers() every time.Is it a TLF problem or Flex problem? If it's flex problem, then what was done wrong in Flex 4 TextArea? How can it be optimized so that performance becomes acceptable?
Just read an article that contains some interesting AS3 performance conclusions that seem like they'd make good FlexPMD rules:http://jacksondunstan.com/articles/413“If you want speed you should not be using plain functions, local functions, or Function variables. This should give some hint as to the speed of Flash’s package-level functions like getTimer() . Further, you can get big speedups by foregoing static functions, calls trough an interface, and calls throughsuper, especially if you’re going to be using that convenience a lot. The rest of the functions are as fast as you can get. Don’t let anyone tell you that access specifiers matter, calling through this adds needless slowdown, or overriding is handy but slow. It is handy, but it’s not slow.”Do these recommendations fit the bill for FlexPMD rules? If so - I'd be happy to write it up in JIRA.Brian
hi I'm trying to reset the scroll position in each load of XML:myTLF.verticalScrollPosition = 0;ormyTLF.minScrollPosition = 0;ormyTLF.scroll = 0;however i get an error "undefined property"is there other property name that i should use?thx
Revision: 11379Author: aharui@adobe.comDate: 2009-11-02 13:08:24 -0800 (Mon, 02 Nov 2009)Log Message:***********Tweak svn 11319. Now only Application will invalidate the SystemManager (popups and tooltips won't). SystemManager will not dispatch a RESIZE unless its size actually did change.QE Notes: NoneDoc Notes: NoneBugs: SDK-23968Reviewer: DarrellAPI Change: noIs noteworthy for integration: Notests: checkintests mustella/MarshallPlanTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23968Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as
Revision: 11376Author: gruehle@adobe.comDate: 2009-11-02 11:39:44 -0800 (Mon, 02 Nov 2009)Log Message:***********Remove external image support from BitmapImage and BitmapFill.QE notes: noneDoc notes: ASDoc updated. Any other docs that mention loading external images in BitmapImage, BitmapFill, or Border need to be updated.Bugs: noneReviewer: JasonTests run: checkintests, cycloneIs noteworthy for integration: YesModified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Border.as flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as
Where is source code for official DEMO http://labs.adobe.com/technologies/textlayout/demos/ ?
Hi,I noticed that TLF behavior is not very convinient for MS Word and other text processor users. The problem is following.When TextFlow is empty and I change any format parameter (let's say change fontSize to 48) and then type some text - everything is OK. Text size is indeed 48. Then I press BackSpace button until I reach the position (0,0). If I try to type any text again then it's size is default - 12. I guess it should be 48...Is this a bug or a feature?... Maybe I have to set any specific option to EditManager to make it MSWord-like?Thanks,Alexander
Hi there,I am looking for a Flash component based on the text layout framework where I can edit a page layout. A page layout will have a format, e.g. A4 and consist of a number of TextLayoutFramework widgets that can be moved, resized etc.The output should be XML so that conversion to XSL-fo is possible.Do you know of anybody working on a component like this?Best regards, Tomislav
It seems to me that a very powerful aspect of TLF is the ability to loop through an XML tree and apply custom styling based on your own logic (via IFormatResolver). What I find disappointing is TextConverter's inflexibility and lack of direct TextField-style HTML/StyleSheet support. The docs say that TLF supports the same HTML tags as TextField via TextConverter.HTML_FORMAT. This may be true but it does not support them in the same manner. For example, TextField allows me to create a tag called <whatever> and have a corresponding style in a stylesheet. TextField also allows me to have an <a> be a child of a <span>. TLF is very anal about what tags can be where and what attributes they can have. In order for me to fully leverage IFormatResolver, I should be able to apply styles based on my own tag names and tag attributes.When calling ITextImporter.importToFlow, where is the validation occuring? Is there an XSD? Can I override this validation? The strictness caus
Hi,I am using TLF in my application. the textflow contains text & inlinegraphics. I am trying to implement spell checker on my own. So I want to add the suggested words for the miss-spelt word. For that I want to know the word I have right cliked on. After that fetching it from library & getting the suggested words part is done.So I need to add a right click event to the miss-spelt words and to know the word I have to look for(the word on which I have right clicked).Thanks in advance.
Revision: 11346Author: klin@adobe.comDate: 2009-10-30 18:04:34 -0700 (Fri, 30 Oct 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-23003 and https://bugs.adobe.com/jira/browse/SDK-23044.-Changed all highlights/lowlights in Button skins to be a full-sized Rect with a gradient fill mimicking the old highlight/lowlight. The old highlights and lowlights would show up as "halos" around the button when cornerRadius was applied and was in focus. However, since it is based on ratios, large buttons will see a change in appearance; the fills will be about half the height of the button.-Applied a similar change to the down state stroke to allow cornerRadius to have an effect.-Small fix to few skins that were applying cornerRadius to both sides of the button (ex. mx/skins/spark/ButtonBarFirstButtonSkin.mxml)QE notes: Lots of bitmap regeneration. See Joann for detailsDoc notes: NoBugs: SDK-23003, 23004Reviewer: GlennTests run: checkintestsIs noteworthy for integratio
Revision: 11323Author: aharui@adobe.comDate: 2009-10-30 13:07:45 -0700 (Fri, 30 Oct 2009)Log Message:***********Some tweaks to MXItemRendererQE Notes: NoneDoc Notes: NoneBugs: NoneReviewer: RyanAPI Change: noIs noteworthy for integration: Notests: checkintests Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridListData.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/BaseListData.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListData.as flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeListData.as flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
Revision: 11320Author: gruehle@adobe.comDate: 2009-10-30 11:42:53 -0700 (Fri, 30 Oct 2009)Log Message:***********Skinning bug fixes:Add cornerRadius to SliderTrackHighlightSkinSet focusRoundedCorners correctly for ButtonBarFirstButton/ButtonBarLastButtonUse drawRoundRectComplex2 to draw HaloFocusRectQE notes: -Doc notes: -Bugs: SDK-23463, SDK-23861 (partially), SDK-23840Reviewer: KevinTests run: checkintests, mustella SliderIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23463 http://bugs.adobe.com/jira/browse/SDK-23861 http://bugs.adobe.com/jira/browse/SDK-23840Modified Paths:************** flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloFocusRect.as flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackHighlightSkin.mxml
Revision: 11319Author: aharui@adobe.comDate: 2009-10-30 11:42:01 -0700 (Fri, 30 Oct 2009)Log Message:***********Allow for resizing of sub-apps after they initializeQE Notes: Two Mustella Tests need updating:MP_Controls_Tests2:MP_ComboBox_closeOnMouseDown_untrustedMP_Controls_Tests2:MP_ComboBox_closeOnMouseDownOutside_untrustedThe new sub-app resize closes the dropdown. Probably have to wait a bit longer before opening the dropdownDoc Notes: New API in ISystemManagerBugs: SDK-23892Reviewer: DarrellAPI Change: yesIs noteworthy for integration: Notests: checkintests mustella/MarshallPlanTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23892Modified Paths:************** flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as flex/sdk/trunk/frameworks/projects/framework/src
Revision: 11318Author: aharui@adobe.comDate: 2009-10-30 11:36:48 -0700 (Fri, 30 Oct 2009)Log Message:***********Block documentation of controlBar properties in WindowedApplicationQE Notes: NoneDoc Notes: NoneBugs: NoneReviewer: DarrellAPI Change: yesIs noteworthy for integration: Notests: checkintests Modified Paths:************** flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as
Revision: 11313Author: klin@adobe.comDate: 2009-10-30 10:31:37 -0700 (Fri, 30 Oct 2009)Log Message:***********Fix for https://bugs.adobe.com/jira/browse/SDK-23717 and https://bugs.adobe.com/jira/browse/SDK-23812.Update to TitleWindow look based on XD spec. Also, fixed an unreported bug with cornerRadius not being reflected in the inactiveWithControlBar state.Fix for closeButton's disabled state to look like its disabled.QE notes: NoneDoc notes: NoneBugs: SDK-23717, SDK-23812Reviewer: Glenn and RyanTests run: checkintestsIs noteworthy for integration: NoTicket Links:************ http://bugs.adobe.com/jira/browse/SDK-23717 http://bugs.adobe.com/jira/browse/SDK-23812 http://bugs.adobe.com/jira/browse/SDK-23717 http://bugs.adobe.com/jira/browse/SDK-23812Modified Paths:************** flex/sdk/trunk/frameworks/projects/spark/defaults.css flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TitleWindowCloseButtonSkin.mxml flex/sdk/trunk/frameworks/projects
I have a Flex application that I'm now trying to create an AIR version for.I created a class to help display subscripts and superscripts through the TLF.It seems to die as soon as it tries to import to flow:_textFlow = TextConverter.importToFlow(tmpText,TextConverter.TEXT_LAYOUT_FORMAT);Getting the following in the console:ReferenceError: Error #1065: Variable flash.text.engine::BreakOpportunity is not defined. at flashx.textLayout.formats::TextLayoutFormat$cinit() at global$init() at flashx.textLayout.conversion::TextLayoutImporter$cinit() at global$init()I'm using SDK 3.4.0.I had to get the textLayout.swc from Gumbo (flex_sdk_4.0.0.7219.zip)Has anyone else run into this situation?Does anyone have any suggestions?Much Thanks.
Hello,I would like to know which TLF build the TLF team would recommend?I realize that the framework is still not in a production quality but right now it is confusing which build to use. - The one from November 2008 - The one included in the last major milestone in Flex 4 - The latest night build - Something elseFor example could it be assumed that the last Flex 4 major milestone is expected to be a bit more stable since it belongs to a milestone release?I am not sure because up until recently TLF and Flex 4 builds were not synchronized completely.Any information (I realize it is not an official statement) could help and potentially save time for people eager to develop with TLF.Thank you!
hi i setup the TL with embedded font and all text and tags are in xml.all works great however the bold tag is ignored <flow:span fontSize="13" color="0x666666" textDecoration="underline" fontLookup="embeddedCFF" fontFamily="FbTypograph Regular" fontWeight="bold">blabla text</flow:span>is that the correct syntax? fontWeight="bold"do i need to include import any pack while building?thats what i currently have: import flashx.textLayout.elements.TextFlow; import flashx.textLayout.container.*; import flashx.textLayout.formats.ICharacterFormat;.... am i missing any thing? thanks
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.