『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I had an email from someone asking a way to re-import TLF XML that contains InlineGraphicElements that are not using an external image file. For example, an instance of MyBoxClass, or MySmileyElement. A user may add a bunch of these to a TextFlow, and when you export the XML you get the standard toString() of that class in the source="" attribute, for example: <flow:TextFlow whiteSpaceCollapse="preserve" xmlns:flow=" http://ns.adobe.com/textLayout/2008"> <flow:p fontSize="24"> <flow:span>Lorem</flow:span> <flow:img height="50" width="50" source="[object MySmileyElement]"/> <flow:span>Ipsum</flow:span> </flow:p> </flow:TextFlow> So one idea is to simply override the toString() method in my custom graphic class to provide enough info to reconstruct my smiley as it was, but even so, the TLF's standard layout importer needs to know how to instantiate these custom graphic classes so... After digging through the code and placing
Revision: 5632 Author: gauravj@adobe.com Date: 2009-03-26 19:43:51 -0700 (Thu, 26 Mar 2009) Log Message: ----------- Update air-config.xml to contain the new namespace for spark and halo. This should fix compilation issue for AIR apps. QE Notes: None. Doc Notes: None. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/frameworks/air-config.xml
Why do I use the Bold, Italic style on the Japanese, Chinese does not work, but only on the English effectively. How I should be able to achieve Japanese, Chinese use of Bold, Italic style. By the way, does not support underline, strikeLine in FTE? please help me, thank you!
I'm curious to know if there is a way to link multiple TextFlow objects to the same SelectionManager? In other words if I have two TextFlow objects on the same display, how would I be able to select across both of them? Is there a way to do this? Thanks, -Ryan
Hi<br /><br />Excuse me on asking some basic stuff. I am tryingCairnogorm for the first time.<br /><br />1. In the flex builder, i am getting the following error for MXML file.<br /><br /> Could not resolve <control:PTController> to a component implementation.<br /><br /> <?xml version="1.0" encoding="utf-8"?><br /> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" ><br /> <control:PTController xmlns:control="com.patientvisitations.control.PTController" /><br /> <rds:Services xmlns:rds="com.patientvisitations.control.delegates.Services" /><br /></mx:Application><br /><br />2. Flex builder does not show any error, in case if there is any error in .as files that I create. Am I missing anything >
endCompositeOperation () method public function endCompositeOperation():void End a group of operations. Whatever operations were done since the last call to beginCompositeOperation are grouped in a CompositeOperation that is then completed (i.e., added to the undo stack or if we are in a nested composite operation, added to the parent operation). Example This code snippet shows how to begin, end, and execute an operations block within an EditManager. var editManager:IEditManager = SelManager as IEditManager; var insertPos:int = 15; var insertText:String = "Hello There"; var insertSize:Number = 48; editManager.beginCompositeOperation(); SelManager.setSelection(insertPos, insertPos); editManager.insertText(insertText); SelManager.setSelection(insertPos, insertPos + insertText.length); var charFormat:CharacterFormat = new CharacterFormat(); charFormat.fontSize = insertSize; editManager.applyFormat(charFormat); var op:FlowOperation = editManager.endCompositeOperation(); editManager.d
Since i heard about tlf, i dreamt about a wysiwyg editor with chart and datagrid integrate for some cms devellopement, unfortunally i don't find a proper way to add datagrid in a inlinegraphic element. i tried to use the SimpleEditor exemple provided with the flex3.2 exemple, and it's doesn't work, when i "updateAllContainer" i get some strange error like "list have reach the maximum index". I guess i haven't understand something correctly, could someone give me an explanation ? :P Thanks for answer
Newbie question: Why do I get a type coercion error when using an Box,HBox or VBox as my TextFlow container? I can use Sprite or UIComponent, but if I use anything that inherits from UIComponent I get the type coercion error saying that it doesn't implement IUIComponent. Next question: Is it unwise to want to use the various types of Flex containers as a container for TextFlow? If so, why?
hi development team, I want to create a custom FlowElement which renderers table. But I'm not sure how should I start. Can you give me some ideas?
Revision: 5565 Author: gauravj@adobe.com Date: 2009-03-25 22:38:11 -0700 (Wed, 25 Mar 2009) Log Message: ----------- update so manifest files for spark and halo are added to the SDK zip. Modified Paths: -------------- flex/sdk/trunk/build.xml
I have some questions about how the composer works when parts of the text flow are damaged and how it interacts with the container controllers. We are seeing the responsiveness of editing operations drop significantly with longer text flows with the way that we have things set up. I've developed a custom container controller, and I've had some fairly good success with some ideas to improve scrolling/composition/editing performance when dealing with text flows on the order of 50,000+ characters in one container. All that aside, I am trying to understand how the composer works so that I can make more informed decisions about how to interact with/manipulate it. Currently, flex profiling shows that an internal 'callTheComposer' method routinely consumes a majority of the processing time required to update the container after damage. I also notice that the 'verticalScrollPosition' property is accessed on the container controller during this process. Currently, I'm also noticing that the ti
Revision: 5546 Author: gauravj@adobe.com Date: 2009-03-25 12:29:16 -0700 (Wed, 25 Mar 2009) Log Message: ----------- Fix build. Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/airframework/build.xml flex/sdk/trunk/frameworks/projects/flex4/build.xml
hi guys, can somebody help me with an issue. i am trying to get arabic text from xml file into text layout component so i could show it properly (textfield have major problems cutting words when wrapping an arabic paragraph) i tried to read the pdf that comes with text layout component. no help i am using flash player 10 and as3 thanks for the help in advance 😉 ur help is urgent as i already finished the english version of the project i am working on and still having problems with the arabic.
Hi, I need insert a blank container (I have various linked containers) like page break. Anyone knows? -Marcos
Dear Sirs, I detect bug in TextLayout Framework when work with more than 30 containers. Approximately, the 10 first containers are totally black and the delay is very large. Screenshot: http://img8.imageshack.us/img8/4391/screenvii.jpg -Marcos
I have not been around for a few weeks, and when I upgrade from build 5032 to build 5439 I am having some problems with my styles for Buttons, LinkButtons, ComboBox, and PopupButton. Oddly enough, if I pull things into a simple sample, all of the styles work fine, so this one is proving to be a bit tricky to track down. I have an mxml component that includes a css stylesheet. In the stylesheet, there are many styles that are working properly, but the style for my Buttons, LinkButtons, ComboBox, and PopupButton are not working. If I use the older version of Gumbo(5032), all works great. I tried including the styles in a style block in the component and it did not work. I have tried going back to the oldest version of Gumbo that is available(5216) and the issue still exists, so this has been around for a while. So somewhere between 5032 and 5216, something changed that is reading the styles slightly differently. Does anyone have any ideas? Thanks, Tim
RangeError: Error #2006: The supplied index is out of bounds. at flash.text.engine::TextBlock/findPreviousWordBoundary() at flashx.textLayout.elements::ParagraphElement/findPreviousWordBoundary() at SpellChecker/onTFSelectionChanged()[/Users/kietdoung/Desktop/source/writer/src/SpellChecker.as:117] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flashx.textLayout.elements::TextFlow/dispatchEvent() at flashx.textLayout.edit::SelectionManager/selectionChanged() at flashx.textLayout.edit::SelectionManager/setSelection() at flashx.textLayout.edit::SelectionManager/setNewSelectionPoint() at flashx.textLayout.edit::SelectionManager/mouseDownHandler()
May I ask you a question? besides Flex components & TextLayout Components & fl Components If any component can support “keyboard input”? Like flash.text.TextField; If not , how “Adobe text layout frame” create a TextInput ? Thanks a lot^^;
In the latest build of Gumbo, LinkElements are giving me an error when I hover over them. The stack trace is as follows: TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.elements::LinkElement$/attachContainerEventHandlers() at flashx.textLayout.elements::LinkElement$/addLinkToMouseInArray() at flashx.textLayout.elements::LinkElement/mouseOverHandler() Interestingly, not one of the entries in the stacktrace are any code that I wrote. Any ideas? Thanks, tim
It seems backgroundImage is no longer a style or property of Application, what is the proper way to implement this in Gumbo? It seems IPreloaderDisplay has a mechanism to load an Application background, is this related?
Hi All, I see the Text Layout Framework support Arabic language. I wonder what does it mean, displaying the language? But I see that when i put Arabic text to a TextField, i also see it readable. Can anybody explain advantages of Text Layout Framework over the traditional one in this sense? Thanks -Hoang Long
Hi All, I am writing a class inherited the TextFlow ( public class myclass extends TextFlow {} ) Now in my new class, i want it able to read textFlow from a xml format file. So we could have a tempoary this way: After file reading completion event, we could have: tempFlow = TextFilter.importToFlow(e.target.data, TextFilter.TEXT_LAYOUT_FORMAT); Then now i want my class owns this structure and data. (this = tempFlow) of course, we can assign this = tempFlow. Do you know how to do this exact copy? Thank you for your answer, Best, -Hoang Long
sorry, but using latest snapshot flex_sdk_4.0.0.5409 the bugs mentioned in thread are still (or again) present. 1. the blue rectangles aren't displayed after loading 2. they show up after editing 3. all InlineGraphics dis- and reappear after scrolling them out of and into the viewable area when selecting/editing their paragraphs/TextLines. steps to reproduce in above linked thread.
Creating a quick test, I was unable to determine how to use the new features like RTL language support and advanced ligatures in standard controls, like buttons etc. Does somebody know if and how this is supported?
I've been seeing an intermittent exception getting thrown sometimes during the updateContainer() call in the flow composer. It only seems to occur when an updateAllContainers() call is triggered during flushPendingOperations() in EditManager's enter frame handler method. It also seems to be more reproducible with longer text flows (length > 20000), when you are editing closer to the top of the text flow, and when you type faster. I can usually reproduce this within a few minutes if I paste in a lot of text and then click around in different places near the top of the flow and start typing quickly. Also, it seems to have something to do with a new line being created somewhere in the middle of the flow and maybe the new line is not initialized or created when the enter frame handler happens to trigger a call to update the containers. I haven't been able to pinpoint the exact scenario, but I have never seen this error occur outside of the context of EditManager's enterFrameHandler meth
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.