『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I am experiencing with incorrect bounding rectangle height when I set the background color for text in RichEditableText field. I have actually custom styled the RET field with following:lineHeight: 49;baselineShift: 11;firstBaselineOffset: lineHeight;verticalAlign: top;When I try to change the background color for certain range of text it doesn't cover the entire line height, although the selection covers the entire line height. Is there any way to increase the height of bounding rectangle or any other workaround to this please?
I have a web app which uses TLF to render text. I'm having an issue with TLFTypographicCase.LOWERCASE_TO_SMALL_CAPS.Simply put: It does not seem to work correctly. I'm getting that exact same results using TLFTypographicCase.LOWERCASE_TO_SMALL_CAPS as I get using TLFTypographicCase.UPPERCASE.It seems to me that the lowercase is being converted to uppercase, but not to small caps. I have a similar problem with TLFTypographicCase.CAPS_TO_SMALL_CAPS. The result is exactly the same as TLFTypographicCase.DEFAULT.The font I tested with was Poplar Std. I'm using Flex 4.5.0.It looks to me that the Adobe help page has the same problem: http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7ff0.htmlNotice that the "T" and the "H" are the same size. The text is being rendered as all caps instead of small caps.
Text Layout Framework columncount Undo problem :: The number of times columncount is changed it gets applied to textflowand those number of operation is stored in undoStack(UndoManger).But when iundo it, it comes back to intial state, without undoin step by step.I have given my source code..Y so or any other alternative to achieve this..Thanx in advance.. <?xml version="1.0" encoding="utf-8"?><s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s="library://ns.adobe.com/flex/spark"xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()"> <fx:Script> <![CDATA[ import flashx.textLayout.container.ContainerController; import flashx.textLayout.conversion.ITextImporter; &nbs
I remember there was an issue before FP 10.1 where an image that was wider than the composition area put the paragraph terminator on the next line even though you the image is the only thing in the paragraph.That works great but now I have a business case to have an image inside of a SubParagraphGroupElement. When the image is larger than the composition area now it is putting the terminator on an extra line after the image.I am very deep into this feature and there insn't any other way to architect it at this point.Any suggestions on how to proceed? It looks like an FTE issue so it almost seems like the only way to fix it is to override the elements in the text block.Thanks,Joel Marks
Hello,I would like to known if someone of the TLF team is attending Adobe Max 2011? I would like to make an appointment to discuss the latets developments and the road map of TLF.Best regardsTom Pijsel
Hi all ,I'm working on Flex Hero (build 18623)I have a Spark DataGrid and a Button which delete the selected item on the DataGrid.Obviously we would like the Button to be enabled only when there is a selection on the DataGrid so we binded the enable property of the Button to the selectedIndex of the DataGrid (Alternately we can use the selectedItem).When the application starts the Button – as expected – is disabled .Once we select any raw/item on the DataGrid the Button – as expected – becomes enabaled.When we press the button the selected item on the DataGrid is deleted - also as expected.THE PROBLEM – after the deletion is completed although we find that the DataGrid selectedItem and selectedIndex are null and -1 respectively which indicates that there is no selection on the DataGrid and it's good …BUT the Button – from some reason is still enabled.It seemed like binding is not working good from the DataGrid to the Button.ANOTHER THING :Check out the variable dg_selectedI
Hello there,For some specific reasons I need to get reliable indication that the status of all inline graphic elements is 'ready'.I use the 'StatusChangeEvent' and listen to the 'ready' status. The problem is that for some reasons the number of dispatched events is not consistent - the number of events with status 'loading' may be more than the final number of events with status 'ready'. Thus I can't reliably get the overall status of inline graphics.What event would be reliable indication that all inline graphic elements are ready for display?Or how I could get the number of graphic elements contained in the source xml so that I could count on that?Thanks,Igor Borodin
Doesn't look like this is a compatible combination at the moment. Any word on an update for this library?At the moment I've been getting an error saying "ReferenceError: Error #1069: Property _bindings not found..." on my SqlMap. whenever trying to run a query.
Hey TLF team,In TextLayoutImport.createTextFlowFromXML, there is a second argument 'textFlow' which is only ever called from BaseTextLayoutImporter with a value of null.I guess the point of this is to allow a subclass of TextFlow to be passed in as an alternative to having createTextFlowFromXML create a TextFlow on its own (e.g. var element:FlowElement = super.createTextFlowFromXML(xmlToParse, new MySubClassedTextFlow()); )but if this is that case then the first line needs to be changed from: var newFlow:TextFlow = null;to var newFlow:TextFlow = textFlow;This would allow custom importers to subclass TextFlow, but still be able to use the TLF importer framework.Do you agree, and if so can this change be made on the trunk?
I understand that there is no combobox control for mobile.1. why can't i use the spark combobox? i've added it to the window and it looks ok in android.2. how can i develope my own? are there any samples of creating a custom combobox in spark?3. can my combobox have a look like the drop down in iphone? how can i skin it for andorid and for iphone.a lot of questions....the lack of a combobox\dropdown is quite wierd for flex in mobile.
We have both static FTE-based labels and TLF-based editable text in our application. We do allow the editable text to be rotated to an arbitrary degree.We have found that when we do so, the characters do not maintain their proper position so as the object is rotated, the characters almost bounce up and down a pixel or so, not keeping inline with the other characters in the line. We had suspected font embedding but have confirmed the fonts are being embedded. Even device fonts should keep their glyphs inline under rotation, shouldn't they?Please shed some light on what is needed to arbitrarily rotate sprites containing TLF or more basic FTE text. The glyphs are still rendering fine, but their position is giving the lines a zig-zag effect of a pixel or so. I will attach a video to the thread if this is not a known issue.As a test, I tried rotating the text using "rotationZ" instead of "rotation" which was the old trick to get TextField to rotate. With rotationZ, there were no artifacts,
I'm not sure if you are aware, but it is currently very difficult to test spark Application components using FlexUnit and the UIImpersonator. An application component can't simply be added to UIImpersonator with addChild; there is already an existing Application for the test environment. What you have to do instead is create and add a SWFLoader and then use that to load an instance of the Application to test. The workaround is not very difficult, but having a mention of this issue in the documentation somewhere would have been helpful. Better yet perhaps add a function to UIImpersonator that takes care of the extra steps involved in testing an Application. What do you think?
I've got a unit test where I want to test reading from a local sqlite database. Obviously I need to write a record before I can read it. I've written the sequence below but I'm getting an "Asynchronous Event Received out of Order" error:[Test(async)]public function testRead():void{ LOG.info("testRead()"); var runner:SequenceRunner = new SequenceRunner(this); var signal:SignalAsync = new SignalAsync(SERVICE.createSignal); runner.addStep(new SequenceCaller(SERVICE, SERVICE.create, [person])); runner.addStep(new SequenceWaiter(signal, SignalAsyncEvent.CALLED, 1000)); var signal2:SignalAsync = new SignalAsync(SERVICE.readSignal); runner.addStep(new SequenceCaller(SERVICE, SERVICE.read, [person._id])); runner.addStep(new SequenceWaiter(signal2, SignalAsyncEvent.CALLED, 1000));  
I am using Flash CS5.I have the simplest possible FLA. It has a TLF on the stage.The TLF has a font size of 32 and contains a few characters. Its instance name is "txt".The following AS3 code:trace(txt.defaultTextFormat.size);trace(txt.direction);Produces:12nullWhich is plain wrong. When I try to change the direction with:txt.direction = "rtl";nothing happens.However, when I create a new TLFTextfield using code alone everything works well.I need to be able to edit stage-based TLFs as well as I do with dynamic ones. How can I do it?
I use Flash CS5.0, TLF 1.0 and is viewing the output with SA Player 10.1 and Web Player 11.I tried to create some TLF text, but the result looks weird:someTLF.tlfMarkup ="<TextFlow fontLookup=\"embeddedCFF\" lineBreak=\"toFit\" whiteSpaceCollapse=\"preserve\" xmlns=\"http://ns.adobe.com/textLayout/2008\">" +" <p><img source=\"http://kb2.adobe.com/cps/155/tn_15507/images/flashplayerversion.swf\" height=\"160\" width=\"240\"/>Flash Movie</p>" +" <p><img source=\"http://upload.wikimedia.org/wikipedia/en/2/2e/Adobe_InDesign_CS5_Icon.png\" height=\"160\" width=\"160\"/>PNG Image</p>" +" <p><img source=\"http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg\" height=\"auto\" width=\"auto\"/>JPEG Image</p>" +" <p><span fontFamily=\"Myriad Pro\" fontLookup=\"inherit\">Myriad Pro</span><span fontLookup=\"inherit\"> </span></p>" +" <p><span fontF
Here is my code - fairly simple, just trying to add years to an array to use as a data object later. public var yearsvar:Array; private function createDates():void { var x:int = new int(1); var curYear:Date = new Date(); var z:int = new int(curYear.fullYear); var i:int = new int(z-90); while (i < z) { yearsvar = i; i++; x++; } year_dd.dataProvider = new ArrayCollection(yearsvar); }Using some debugging i've narrowed it down to something to do with the yearsvar = i; sta
Dear Observer-Lib coders,Maybe I am posting my issue into the wrong forum, see this thread:http://forums.adobe.com/thread/756046I'd like to know how to use the Wire-Tag mentioned in the Observer-Lib docu, see:http://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormObserver/Please let me know if there is anybody who knows how to use this Wire-tag. A small code example would be great, too!Thank you,masu
I'm experiencing rendering issues with a SWF file using a runtime generated instance of the TLFTextField class (Flash CS5 or CS5.5), specifically with Punjabi and only on Mac OS browsers. The text displays as control characters (or outlined rectangles), and not in Punjabi. However, if I make an authortime instance of TLFTextField in a FLA, copy and paste Punjabi text into the field on the stage, and publish it with an embedded font like Arial Unicode MS, Punjabi displays just fine. If I try to use the same embedded font on a runtime instance, I still get the weird characters. Even weirder, if I leave the authortime instance on the stage, and then create a runtime instance of TLFTextField, the text shows just fine in both fields! What's happening with the authortime instance that I can not get to happen with the runtime instance?Many thanks in advance for any suggestions.-Robert
Hi,I have a textArea in which I have assigned a textflow. On the text if I want to apply a hyperlink then I give a URL and target. Now if I haven't applied any other formatting to the text it creates a hypelink and makes the text blue and underlined, which is the normal case.Now suppose I change the fontSize of the text and then apply a hyperlink, then the link gets applied, but the text neither gets any color , nor does it become underlined.But if I do a Ctrl + Click on the same text, my link gets opened. But the hyperlink styling doesn't get applied. This is what I am doing for applying link to some text:public function changeLink( urlLink : String, target : String, extendToOverlappingLinks : Boolean):void { if ( myTextArea.textFlow && myTextArea.textFlow.interactionManager is IEditManager) { &
Hi,I am working on a project at the moment which has the requirement to be localised into Sinhala.We are working with AS3, CS5 and the TLF, the text is being loaded in XML format. We are using the font Iskoola Pota.I have a sample piece of text in xml, I load it in and set the text property of a Textfield instance to the loaded text. The Zero-Width-Joiners (ZWJ) are NOT removed and the glyphs combine correctly (as per the XML), however the line breaks (Text Field wraps the text) in the middle of a word where ZWJ/ZWNJ are present. The wrapping is what I expect to see as I am purley setting the text property of a clasic text field.When I use TLF to create TextLine instances and add them to my container, the text breaks correctly - i.e. not in the middle of the word - however the ZWJs are removed causing the letters to be displayed individually (not joined).This is the AS I am using for reference:// create a line starting at the previous line (null, as non existant) and breaki
Using Adoeb AIR 2.7 & Flex SDK 4.5.1.21328 & TLF 2.1The error is thrown on line 2425: (TextContainerManager.as)parent value is nulltlf_internal function removeInlineGraphicElement(parent:DisplayObjectContainer, inlineGraphicElement:DisplayObject):void { if (inlineGraphicElement.parent == parent) parent.removeChild(inlineGraphicElement); }Here is the error:TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.container::TextContainerManager/http://ns.adobe.com/textLayout/internal/2008::removeInlineGraphicElement()Reproduce step.1. AddImage button click. And select any image.2. Add two or three ima
Hello!Since the ContainerBreakBefore en ContainerBreakAfter are now new features in TLF 3.0 branch, my question is this: is it now also possible to add a containerbreak within a text/story? What I mean is like in InDesign, where you can insert a special character into the text (Insert Break Character and then a Frame Break or a Page Break)...gr, Stefan
What Parsley/Cairngorm 3 library versions are compartible with FlexSDK 4.5.1? As far as Parsley/Spicelib is concerned I would ask question on Spicefactoryforum but it is shutdown during last week or so. Anyone knows why?Thanks
Hello,I am having difficulty accessing a shared object form a PopUp that is part of a module.In my module I have the following defined in my module's context.<domain:CustomerDetail/>In one PM I have the following...[Inject][Bindable]public var selectedCustomer:CustomerDetail;This PM also sets the value of selectedCustomer;The view for this PM also has a PopUp defined... <popup:PopUpWrapper open="{model.showCustomerDetailsDialog}" opened="model.initDetailsPopup(event)" closed="model.handlePopUpClosed(event)" parent="{this}" &
Hi,I noticed that if I press the return key while I am on the last item of a list which happens to be empty, that last empty list item becomes a regular paragraph (no longer part of the list), instead of leaving that list item as blank and adding another new empty list item. This is a bit surprising, as I had expected it to make another empty list item if I hit the return key.So, is this intentional/as designed? If so, how does a user make a bunch of empty list items? Also, how do I detect the event of going from an empty list item to a regular paragraph? We implement different styles for list items versus non-lists, so when a paragraph gets converted from a list paragraph to a non-list paragraph, we'll need to do some updates.Tank you for the info.Will
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.