-
Recente
If the compositionHeight is specified but the compositionWidth not, I know in this situation IContainterController will assume compositionWidth a certain value. But is there a way that I can caculate the minimum width of the IContainterController when only the height is specified. that is, the text in the IContainterController occupies minimum width but won't be in excess of the height. Thanks
I am really stuck on how to inject a BreakElement into the TextFlow via the keyboard. I have been trying to figure out how to modify the SimpleEditor example to insert a <br/> instead of a <p> when I press the <shift>+<enter> keys. I setup a handler for keyboard events, and I can trap when the appropriate key combination is entered, but I cant actually figure out what "character" to inject into the event stream to generate a <br/> Any help would be appreciated. Thanks, Tim
Revision: 5445 Author: gauravj@adobe.com Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009) Log Message: ----------- Fix for - @9475319 tag for two methods with different arg lists not working. Some changes for refactoring. QE Notes: None. Doc Notes: None. Bugs: SDK-19975 tests: checkintests, asdoc Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19975 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.java
appreciating if anyone have flex-webtier-jsp.jar file then pls send me at vikasnikhra@gmail.com
Revision: 5408 Author: gauravj@adobe.com Date: 2009-03-18 20:57:19 -0700 (Wed, 18 Mar 2009) Log Message: ----------- Fix for - Compiler error using Reparent in a Halo Navigator. QE Notes: None. Doc Notes: None. Reviewer: Paul, please review. Bugs: SDK-20099 tests: checkintests Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-20099 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java
Hi All, I have a textflow, and i put some paragraph element, span, div element. Then now i want to catch the last container in order to put an inline text. Do you have any ideas ? I am new bie,,so at first i thought it this way: But it doesn't work. Thank you for your answer, -Hoang Long
Hi, I'm playing around with the TLF, and I'm noticed a small bug. Some of my textLines aren't respecting the mask I use on them. I see this when calling TextBlock::createTextLine( null, XXX, 0.0, true ), where XXX is a small value, smaller than the textLine I'm creating. After creating the textLine, I apply the mask (which has been added to a display container) and add it to the displayContainer. The textLine doesn't respect the mask. When this happens the TextBlock::TextLineCreationResult = 'emergency'. If I make a text line that fits the width that I specify in CreateTextLine(), everything works. It's only when I make the line too long that the mask doesn't work. Any work arounds? If not can this be logged? Thanks Rob
Hi, This bug is although reproducible, but the steps I've found are a bit complex. I've also confirmed this bug on SimpleEditorWithCSS sample. I'm using Gumbo build (4.0.0.5121) with TLF build-377. Steps to reproduce on SimpleEditorWithCSS: 1. select "style" tab and then select Level to Span 2. select text from postion "X" to position "Y" and set styleName to "style1" 3. select text from postion "X-10" to position "Y-10" and set styleName to "style2" 4. select text from postion "X-5" to position "Y+10" and set styleName to "style1" (Please note that these positions are not exactly needed, but these positions show the pattern which is needed to reproduce) Result on released binaries: Editor Hangs Result on debug build: Exception (I've pasted the stack from EditManager.doOperation onwords) RangeError: invalid parameter to FlowGroupElement.split at flashx.textLayout.elements::FlowGroupElement/splitAtPosition() at flashx.textLayout.operations::FlowElementOperation/getTargetElement() a
Revision: 5375 Author: gruehle@adobe.com Date: 2009-03-17 17:11:33 -0700 (Tue, 17 Mar 2009) Log Message: ----------- Editable ComboBox skin update. Bugs: SDK-19606, SDK-19600 Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19606 http://bugs.adobe.com/jira/browse/SDK-19600 Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as flex/sdk/trunk/frameworks/projects/halo/defaults.css flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as Added Paths: ----------- flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml
Revision: 5368 Author: gruehle@adobe.com Date: 2009-03-17 15:43:05 -0700 (Tue, 17 Mar 2009) Log Message: ----------- Revision 5653 broke measurement for comboboxes. This checkin fixes it. The compatibility version check for ComboBase border is slightly different now: old behavior: ComboBase always created and showed the border object, even though it was obscured by other items new behavior: ComboBase creates the border, but hides it Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
Revision: 5363 Author: gruehle@adobe.com Date: 2009-03-17 14:48:26 -0700 (Tue, 17 Mar 2009) Log Message: ----------- More skinning/styling bug fixes. SDK-19698 - Halo List with Gumbo skin is inconsistent with Gumbo FxList skin when setting baseColor style SDK-19602 - focusColor is not supported by halo components SDK-19595 - Various halo components do not look correct when in a disabled state. QA/Doc Notes: The following changes are controlled by the compatibility-version flag: * focusColor: old behavior: focus drawing was done with themeColor or errorColor, depending on the error state of the component new behavior: focus drawing is done with focusColor or errorColor, depending on the error state of the component * Disabled DateChooser drawing: old behavior: border/bottom of header was same color regardless of enable setting new behavior: when disabled, border/bottom of header are dimmed 50% * ComboBase border: old behavior: we always created a border object, but it was obscu
Revision: 5352 Author: gauravj@adobe.com Date: 2009-03-17 12:56:23 -0700 (Tue, 17 Mar 2009) Log Message: ----------- Fix ant asdoc target. QE Notes: None. Doc Notes: None. tests: checkintests Modified Paths: -------------- flex/sdk/trunk/asdoc/build.xml flex/sdk/trunk/frameworks/mxml-2009-manifest.xml
Revision: 5351 Author: gauravj@adobe.com Date: 2009-03-17 12:51:44 -0700 (Tue, 17 Mar 2009) Log Message: ----------- Fix for @9475319 tag causing first method arg to appear as the last arg in the destination method QE Notes: Some baseline will require updates. Doc Notes: None. Bugs: SDK-19974 tests: checkintests, asdoc Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19974 Modified Paths: -------------- flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
I am trying to figure out the best way to perform a search within a TextFlow to locate a specific piece of text (either a word or set of words). I have had a hard time figuring out how to actually gain access to the raw text of the TextFlow that is loaded. Once that is loaded, I need to be able to search through that text, find the location of the text, and show that container. Essentially add search capability to the Pagination example. The only thing I can think of that seems like it may work would be to export the TextFlow into an XML file, then perform the search on the XML file. Once that is done, I would have to figure out which position in the xml file the text was located, and load the container with that position.... Surely there is a better way? Thanks, Tim
Steps to reproduce: create a flow with: <div><p><span>one</span></p></div><div><p><span>two</span></p></div> select all, copy, paste shows, as expected, the contents of both DivElements but in case of <div><p><span>one</span></p></div> <div/><div><p><span>two</span></p></div> select all, copy, paste only shows the content of the first DivElement Same problem with ElementRange. This leads to unpredictable behaviour from a users perspective. When applying CharacterFormats to the selection however, the bug doesn't occur. I tested with two versions of TLF, the standalone and the gumbo version.
hello, i need to put two textlayout with dynamic text one below anther, how do i know what y to give to the last one? (i think i need some way to calclate the height of the first textlayout after the dynamic text is inserted to it... ( i can't do it in one textlayout, cause i want a radio button to be exactly near the second textlayout) )
para.fontSize is write-only, what is the easy way to get fontSize applied on certain FlowElement ? Thanks
InlineGraphics are not always displayed on load if in several paragraphs, dis- and reappear when editing the paragraphs/TextLines they're in and errors occur when trying to navigate to "hidden" InlineGraphics please execute attached code for demonstration. After loading, the movie only displays the flash logo and the red rectangles. If you place the cursor somewhere and keep [Arrow down] pressed, the errors (tracebacks below) occur. then, if you edit the "xyz" the blue rectangles do appear. Now scroll down until the graphics are off the screen. When you scroll back and select one of the graphics (or text within the same paragraph), they disappear, but still occupy space and are selectable. Editing in their respective paragraphs causes them to reappear. using TFL from gumbo 4.0.0.5313 An ActionScript error has occurred: TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashx.textLayout.container::ContainerControllerBase/posToRectangle() at fl
Revision: 5339 Author: gruehle@adobe.com Date: 2009-03-16 16:47:29 -0700 (Mon, 16 Mar 2009) Log Message: ----------- More skinning bug fixes: SDK-19773 - Halo Slider with Spark Skin doesn't place thumb at correct initial position SDK-19770 - backgroundDisabledColor is ignored by LinkBar SDK-19014 - Refactor Type selectors in defaults.css Ticket Links: ------------ http://bugs.adobe.com/jira/browse/SDK-19773 http://bugs.adobe.com/jira/browse/SDK-19770 http://bugs.adobe.com/jira/browse/SDK-19014 Modified Paths: -------------- flex/sdk/trunk/frameworks/projects/framework/defaults.css flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackSkin.mxml
embedded asset set to source of InlineGraphicElement does not show up until a real edit operation occurs src: var bullet:InlineGraphicElement = new InlineGraphicElement(); bullet.source = " http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg"; //new bulletClass(); bullet.width = 15; bullet.height = 15; var pf:ParagraphFormat = new ParagraphFormat(); pf.marginLeft = 20; pf.textIndent = 0; p.paragraphFormat = pf; var sp:SpanElement = new SpanElement(); sp.digitWidth='10'; sp.fontFamily='courier'; sp.fontSize = 10; sp.textAlpha = 0.1; sp.text='.'; p.addChildAt(0,sp); p.addChildAt(0,bullet); _textFlow.flowComposer.updateAllContainers(); ....' private function graphicStatusChangeEvent(e:StatusChangeEvent):void { for each(var bm:bulletMap in map) { if(bm.bullet == e.element) { trace('found'); bm.para.textIndent = -InlineGraphicElement(bm.bullet).actualWidth -12; _textFlow.flowComposer.updateAllContainers(); } } //InlineGraphicElement(e.elemen
Hi, I'm starting working on project where i need to use and control path deform text. So i am wonder if it is some simple way how to do with using TLF. Thanx for any advice
Ok apparently i don't fully know what i am doing, i am trying to copy a TextFlow object, so i can past it reformatted into another location. what i am trying looks like the code attached with "this._textFlow" already being a working and highly formatted TextFlow, what i get when i try to remove children of this copy is an error like "newElement still owned by another FlowGroupElement" ... so i don't think i am getting a unique copy, also i am unable to change the styles in this copy by traversing through the display hierarchy (seen in the other attached code). Though this dose work if i loop through the original TextFlow and re render it. After this code not working, I know what i am doing is probably the wrong way about doing what i want to do, but i am not seeing any methods or new classes that will allow me to do what i am trying to do...has anybody done something like this?
i have this error : Severity and Description Path Resource Location Creation Time Id invalid character or markup found in script block. Try surrounding your code with a CDATA block. essai/src essai.mxml Unknown 1236103965593 182 my source is attach code Many thanks for your help , Lionceau,
Is there anyway to grab the selected text in an flowComposer and copy that to a string for use in another control? i've reviewed all of the textlayout api's relating to the selectionmanager and editmanager and cant seem to find a way to do so, or convert a TextScrap to a string.... any clues anyone?
There seems to be a bug that during delete immediately after image will only delete characters in selected first paragraph only. Steps to reproduce are the following: 1. Insert multiple paragraphs 2. insert image in somewhere in the middle paragraph 3. now select text starting just after the image and ending after multiple paragraphs downwards. 4. Now press delete Results: Characters only from the paragraph having the image will be deleted but other paragraphs will not be deleted.
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.