Design the future of fashion, win Firefly Pro 👗✨
-
Recently active
Hello all,I am working on a fairly complex designer tool that allows the user to add text items to a stage and manipultate the text wysiwyg style.I have it all working well, and the textflow info is saved to the database through a webservice. However I am experiancing an odd issue.This is the code I am using to load up the textflow: GlobalSettings.resolveFontLookupFunction = null; var tf:TextFlow = TextFlowUtil.importFromXML(res.children()[0],"preserve"); tf.renderingMode = RenderingMode.CFF; tf.fontLookup = FontLookup.EMBEDDED_CFF; txt.t
All tight the next text layout frame work is very cool; however, there is one thint I have not managed to do--to get rid of the default initial text that comes with the Flash Component. ie how do I remove the first line of text : "TextLayout Sample Text" ?I have no trouble adding and a manipulating new text, but I don't know how to get rid of that first line.Some of the compiled examples do the trick, but none of them compile for me due to the following error ("Type was not a compile time constatne ImportExportConfiguration)
I'm trying to use an external HTML data source with the Spark RichEditableText control, and it has the following structure:<p>My wrapping text here.</p><img id="picture1" src="image1.png" /><img id="picture2" src="image2.png" /><p>More text...</p>I'm noticing a large gap above my <img> tags when rendered in the RichEditableText control. Anyone know how I can control the padding on top of <img> elements that are specified in external HTML and imported using TextFlow.importToFlow() ? This also might be a rendering bug, because I can see the text rewrap on initialization, and it's as if the control is leaving the once occupied space still empty and not moving the <img> elements up along the y axis. Many thanks in advance.
Hello,is there a public roadmap for the next TLF release? What features should we expect? Will it be 1.2 or 2.0 straight away?
When I use device font, some fonts error. please help me. charFormat.fontFamily = "Algerian"; .... Error #2161 in DocreateTextLine(); please help me. thanks.
Hi,I'm just looking into using Cairngorm 3 with Parsley. My application has several views, similar to the InSync modular example, but a large amount of the data needs to be shared between views.I guess because of this, I shouldn't be using modules.Also, where each view in the examples has its own presentation model, I guess I will need an overall application model for holding this shared data? Does this sound right?To clarify, I will have one view which lists a company's assets.I will have another view which shows income and expenditure.In a third view, I will be showing graphs which shows the company's value over time, which will include data from the assets and the income data.So, would I be correct in creating the following views:presentation.Assets with associated presentation.AssetsPMpresentation.IncomeExpenditure with associated presentation.IncomeExpenditurePMpresentation.CompanyValue with associated presentation.CompanyValuePMand a finaldomain.CompanyData class which holds all
I have FlexPMD 1.1 installed at Applications/FlexPMD/ with the following preferences:FlexPMD command line installations: /Applications/FlexPMD/flex-pmd-command-line-1.1.jarFlexPMD custom ruleset:Java command line: java -Xmx256mFlexCPD command line installation: /Applications/FlexPMD/flex-pmd-cpd-command-line-1.1.jarMinimum tokens: 25If I right-click on my "src" folder and select "FlexPMD > Run FlexPMD" the progress indicator looks busy for 2 seconds then it stops, with nothing in the FlexPMD Outline or View. One the other hand, "Find suspect cut and paste" does work.Any ideas?Mac OS X (10.6.3)Flex Builder 3 (3.0.214193)Flex SDK 3.5
I have an InlineGraphicElement wrapped in a LinkElement.When the user rolls out of that LinkElement and onto a display object that is NOT part of the TextFlow the MouseCursor will remain an IBeam and seems to be governed by logic from the TextFlow.I suspect that the TextFlow only clears certain mouse listeners and cursor control when the underlying container is rolled out of directly and not via a LinkElement. I couldn't work out how to simulate that event to trigger the clearing of those listeners.
HI thereI am working on creating a bullet function. It works like this:Get the current paragraph selection and use a formatting function - paragraphStartIndent to move that over to the leftprepend a new paragraph element containing the bullet and use baselineShift to move that down.I can repeat that for all selected paragraphs. So now the question is how do I make the addChildAt undoable in the same way everything else is via editmanager.cheers richard
Hi All, I am working in multilingual project. I have a text area based on Halo component. I copy some text from somewhere in Kannada and want to paste in the text area. In other word you can say i want to enter text in Local languages in the Text Area(like in Hindi,Kannda,Bangla) . Is there any way to do it.Any Help would be highely appreceatedRegards,Gaurav kumar Pandey
I just noticed that ParcelList.getLineSlug() method has an partly incorrect set of comments:/**Return the width for a line that goes at the current vertical location, * and could extend down for at least height pixels. Note that this function * can change the current parcel, and the location within the parcel. * @param height amount of contiguous vertical space that must be available * @param minWidth amount of contiguous horizontal space that must be available * @return amount of contiguous horizontal space actually available */ public function getLineSlug(slugRect:Rectangle, height:Number, minWidth:Number = 0):BooleanCould you give us the correct comments and maybe explain the term 'Slug' here. As a non native English speaker it doesn't really give me a clue and my dictionary isn't helpful at all here either .Further more it says:Note that this function can change the current parcel, and the location within the parcel.The 'location' of what within
HiCan I underline the text with a colored line.I want to underline the text but not with black line,Is it possible to customize the underline?
Hi all, Spark Button excludes style "textAlign" in its current implementation and I do not see a reason why it is so. Default ButtonSkin for Spark Button uses <s:Label> to display button's label and <s:Label> supports "textAlign" style without no problem. The change to Button's style "textAlign" could be easily propagated to s:Label in skin via binding, e.g, but it is not done it default skin.<s:Label id="labelDisplay" textAlign="{getStyle('textAlign')}" verticalAlign="middle" maxDisplayedLines="1" horizontalCenter="0" verticalCenter="1" left="10" right
Are there plans to implement InlineGraphicElement.float? Currently it's in tlf_internal namespace and states to be in prototype mode. Will it make to release of TLF, which will be aligned with Flex 4.1?
I think about implementing iChat-like application:As you can see it's simple and the only problem is that user will not be able to select multiple messages and copy them. Is it possible to overcome this with manual selection management? If yes, would you please give some directions?Thanks in advance.
I tried exporting text in Indian languages to XML format, the resulting XML had '?' characters. The following code was usedvar exporter:ITextExporter = TextConverter.getExporter(TextConverter.TEXT_LAYOUT_FORMAT);var xmlExport:XML = exporter.export(_textFlow, ConversionType.XML_TYPE) as XML;NOTE: The text was rendered as expected. Only the exported XML contained '?' characters.Is there anyway to export these (see below) unicode characters to an XML without loosing the actual values.Eg: ' हम कहाँ है?'Thanks in Advance
I'm curious about these situation:package { import flash.display.DisplayObject; import flash.display.Sprite; import flash.events.MouseEvent; import flash.utils.getTimer; import flashx.textLayout.container.ContainerController; import flashx.textLayout.elements.*; public class TestTLF3 extends Sprite { private var _lineNum:int = 0; private var _textFolw:TextFlow = new TextFlow(); private var _container:Sprite; public functio
I think this is a bug but I just want to verify. In EditManager.performRedo(), it dispatches a FlowOperationEvent.FLOW_OPERATION_COMPLETE event but passes in "op" as the operation parameter when I think it should be passing in "redoPsuedoOp". This would make it consistent with performUndo(). Without passing redoPsuedoOp, it's difficult to tell from an event handler whether the operation was a redo or a brand new operation.
Hi,I want to control how the undomanager works, specifically, how the un-do operatiosn are performed. I want to be able to un-do text entered by the users letter by letter or workd by word. How can this be done?Secondly, would that have a impact on performance? let's say we keep a atack of 50 operations in the undopmanager.tks.
Hi,When i use RichTextEditor and the other component for writting a text in Hindi.I am not able to write a text in Hindi in the running application.I am able to do copy and paste but not able to do directly from the keyboard.Other than Hindi i am able to write a text in every language.As for example -There is two textBoxes - one for username and other for password.Now i want to enter my username and password in hindi. I can do copy and paste but not able to enter in Hindi.Please help me out, is it possible with this framework.Or Flex doesnt support Hindi text.Thanks
Hi, All.This problem is on the release build of Adobe Flash Builder 4.IntroductionNow I'm trying to make e-Book Reader which can handle with Japanese vertical text layout.Of course, TCY(Tate-Chu-Yoko) Layout is needed.Please see the snapshot below.Generally say, the TextFlow object which applyed "rl" on BlockProgression shows Japanese vertical Layout properly.Multi byte Japanese characters are "standing up" same as horizontal layout.And Single Byte characters (I wonder if this name is proper. ASCII? Like "a", "0", "é" ,etc...) are rotated +90 degree, in other words, "layed down".So, in ordinary Japanese vertical text layout, independent single character or independent 2 characters will be TCYed as shown above.Rest (I mean consecutive 3 or more Single Byte Characters) are "layed down".Now, the introduction ends.Problem: TCYElement which contains text are dissapeared on "NORMALIZATION".On the release build of Flash Builder 4, some Multi Byte characters are not "standing up properly
Hi, All I am work in a multilingual project where some bangla character not displayed properly like "block" in Bangla. The exact apperence ofblock is ব্লক but in my application it appere as breking character I am using the latest build of flex sdk 4font family Vrinda for Banglaflashplayer version 10.0.0.42Any help would be highely appreceated.regardsGaurav kumar Pandey
HiIs it possible to have the text on the left side of a checkbox?I'm using spark and tlf.ThanxAllan
Hi !In RichEditableText I`m using nextprivate var exampleText:String = "<h1>text text text</h1>";TextFlowUtil.importFromString(exampleText);And show Error -Error: Unknown element h1 at BaseTextLayoutImporter/reportError() ..........How import html tags in RichText ?thanks.
Hey TLF gurus,So here's my situation. I have a text flow. The user starts typing "The lazy brown dog..." and after each character is typed I'm modifying the font size of all the text to make it fit inside the container. Here's how I'm doing that: http://aaronhardy.com/flex/size-text-to-container/ (you can right-click the app to see the source).That all works well, but undo isn't working so well. When I hit undo, I would like it to remove the text. But when I call undo on the undo manager, it gets to EditManager.performUndo() where it checks to see if operation.endGeneration is different than textFlow.generation. In my case, they aren't the same because I updated the font size after the last keystroke. Because they're different, the undo fails. Because I updated the font size after the last text insert, TextFlow.processModelChanged() was called and increased the text flow's generation while the insert text operation's end generation stayed
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.